> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.usescout.sh/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.usescout.sh/_mcp/server.

# FindAll

POST https://core.usescout.sh/v1/findall
Content-Type: application/json

Fast preview: enumerate candidate entities from a single SERP
pass (no agent loop, no per-row enrichment). For comprehensive
enumeration with reasoning + citations, use POST /v1/findall/runs.

Returns the Parallel-style FindAll shape — findall_id, metadata,
status, candidates with output[<condition>] and basis — plus a
flat `entities`/`count`/`sources` back-compat layer.

Reference: https://docs.usescout.sh/api-reference/scout/find-all/post-v-1-findall-post

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Scout
  version: 1.0.0
paths:
  /v1/findall:
    post:
      operationId: post-v-1-findall-post
      summary: FindAll
      description: |-
        Fast preview: enumerate candidate entities from a single SERP
        pass (no agent loop, no per-row enrichment). For comprehensive
        enumeration with reasoning + citations, use POST /v1/findall/runs.

        Returns the Parallel-style FindAll shape — findall_id, metadata,
        status, candidates with output[<condition>] and basis — plus a
        flat `entities`/`count`/`sources` back-compat layer.
      tags:
        - subpackage_findAll
      parameters:
        - name: Authorization
          in: header
          description: Your API key, sent as a Bearer token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindAllResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindAllRequest'
servers:
  - url: https://core.usescout.sh
    description: Production
components:
  schemas:
    FindAllRequest:
      type: object
      properties:
        query:
          type: string
          description: Description of the entity set to enumerate.
        fields:
          type:
            - array
            - 'null'
          items:
            type: string
          description: Column names for each entity row.
        output_schema:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: >-
            Optional JSON Schema each entity object must conform to. Takes
            precedence over `fields` for typed rows.
        limit:
          type: integer
          default: 20
          description: Max entities to return.
      required:
        - query
      title: FindAllRequest
    FindAllResponse:
      type: object
      properties:
        findall_id:
          type:
            - string
            - 'null'
          description: Opaque identifier for this enumeration.
        metadata:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: 'Run metadata: {title, input} summarizing the query.'
        status:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: >-
            Run status: {status, is_active, metrics:{generated_candidates_count,
            matched_candidates_count}, termination_reason}.
        candidates:
          type:
            - array
            - 'null'
          items:
            type: object
            additionalProperties:
              description: Any type
          description: >-
            Rich candidates: each with candidate_id, name, url, description,
            match_status, output{<field>:{type,value,is_matched}},
            basis[{field,citations,reasoning,confidence}].
        findall_schema:
          type:
            - object
            - 'null'
          additionalProperties:
            description: Any type
          description: >-
            Schema spec: {objective, entity_type,
            match_conditions:[{name,description}], generator, match_limit}.
        query:
          type: string
          description: The enumeration query.
        entities:
          type: array
          items:
            type: object
            additionalProperties:
              description: Any type
          description: Matched entities as flat rows (back-compat).
        count:
          type: integer
          description: Number of entities returned.
        sources:
          type: array
          items:
            type: string
          description: URLs retrieved during enumeration.
        turns:
          type: integer
          description: Agent steps taken.
        credits:
          type: integer
          description: Cost of the call.
        is_preview:
          type: boolean
          default: false
          description: >-
            True for the sync preview path (single SERP + one extraction pass).
            False from POST /v1/findall/runs.
      required:
        - query
        - entities
        - count
        - turns
        - credits
      title: FindAllResponse
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationErrorCtx:
      type: object
      properties: {}
      title: ValidationErrorCtx
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
        input:
          description: Any type
        ctx:
          $ref: '#/components/schemas/ValidationErrorCtx'
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your API key, sent as a Bearer token.

```

## Examples



**Request**

```json
{
  "query": "S-1 stage AI infrastructure companies",
  "fields": [
    "name",
    "website",
    "headquarters"
  ],
  "limit": 20
}
```

**Response**

```json
{
  "query": "S-1 stage AI infrastructure companies",
  "entities": [
    {
      "name": "CoreWeave",
      "website": "https://coreweave.com",
      "headquarters": "Livingston, New Jersey",
      "source": "https://en.wikipedia.org/wiki/CoreWeave"
    },
    {
      "name": "Lambda",
      "website": "https://lambdalabs.com",
      "headquarters": "San Francisco, California",
      "source": "https://lambdalabs.com/about"
    }
  ],
  "count": 2,
  "turns": 7,
  "credits": 7,
  "sources": [
    "https://en.wikipedia.org/wiki/CoreWeave",
    "https://lambdalabs.com/about"
  ]
}
```

**SDK Code**

```python FindAll_postV1FindallPost_example
import requests

url = "https://core.usescout.sh/v1/findall"

payload = {
    "query": "S-1 stage AI infrastructure companies",
    "fields": ["name", "website", "headquarters"],
    "limit": 20
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript FindAll_postV1FindallPost_example
const url = 'https://core.usescout.sh/v1/findall';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"query":"S-1 stage AI infrastructure companies","fields":["name","website","headquarters"],"limit":20}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go FindAll_postV1FindallPost_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://core.usescout.sh/v1/findall"

	payload := strings.NewReader("{\n  \"query\": \"S-1 stage AI infrastructure companies\",\n  \"fields\": [\n    \"name\",\n    \"website\",\n    \"headquarters\"\n  ],\n  \"limit\": 20\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby FindAll_postV1FindallPost_example
require 'uri'
require 'net/http'

url = URI("https://core.usescout.sh/v1/findall")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"query\": \"S-1 stage AI infrastructure companies\",\n  \"fields\": [\n    \"name\",\n    \"website\",\n    \"headquarters\"\n  ],\n  \"limit\": 20\n}"

response = http.request(request)
puts response.read_body
```

```java FindAll_postV1FindallPost_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://core.usescout.sh/v1/findall")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"query\": \"S-1 stage AI infrastructure companies\",\n  \"fields\": [\n    \"name\",\n    \"website\",\n    \"headquarters\"\n  ],\n  \"limit\": 20\n}")
  .asString();
```

```php FindAll_postV1FindallPost_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://core.usescout.sh/v1/findall', [
  'body' => '{
  "query": "S-1 stage AI infrastructure companies",
  "fields": [
    "name",
    "website",
    "headquarters"
  ],
  "limit": 20
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp FindAll_postV1FindallPost_example
using RestSharp;

var client = new RestClient("https://core.usescout.sh/v1/findall");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"query\": \"S-1 stage AI infrastructure companies\",\n  \"fields\": [\n    \"name\",\n    \"website\",\n    \"headquarters\"\n  ],\n  \"limit\": 20\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift FindAll_postV1FindallPost_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "query": "S-1 stage AI infrastructure companies",
  "fields": ["name", "website", "headquarters"],
  "limit": 20
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://core.usescout.sh/v1/findall")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```