Skip to main content
POST
Apollo Organization Search

Authorizations

Authorization
string
header
default:YOUR_ANYAPI_KEY
required

Your AnyAPI key as a Bearer token.

Headers

Idempotency-Key
string

Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.

Required string length: 1 - 255

Query Parameters

fields
string

Optional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item: each row of the API's result list, or the data object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.

max_items
integer

Optional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. An API that returns one record is not trimmed. Does not change cost.

Required range: x >= 0
summary
boolean

Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.

jq
string

Optional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.

max_cost_usd
string

Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.

Body

application/json
allowFallbacks
boolean
default:true

Optional, default true. When false, only the sources listed in source may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.

domains
string[]

Organization domains to match, without www, at most 1000.

Maximum array length: 1000
Minimum string length: 1
employeeRanges
string[]

Employee-count ranges in Apollo notation, such as 51,200.

Minimum string length: 1
excludeDomains
string[]

Exclude organizations matching any of these domains. Every domain Apollo holds for that organization is excluded.

Minimum string length: 1
excludeLocations
string[]

Headquarters locations to exclude, such as ireland.

Minimum string length: 1
headcountGrowthMonths
enum<integer>

Trailing window in months for the headcount growth filter. Takes effect only together with minHeadcountGrowthPercent or maxHeadcountGrowthPercent.

Available options:
6,
12,
24
ignoreSources
string[]

Optional. Source ids to skip for this request, taken from this endpoint's lanes[].source.id. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in source, is rejected as invalid input with no charge; skipping every source is rejected the same way.

Minimum string length: 1
industryIds
string[]

Apollo industry tag identifiers to match.

Minimum string length: 1
jobPostedAtGte
string<date>

Only organizations with a job posted on or after this date. Format: YYYY-MM-DD.

Pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
jobPostedAtLte
string<date>

Only organizations with a job posted on or before this date. Format: YYYY-MM-DD.

Pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
jobPostingLocations
string[]

Locations of the organization's active job postings, such as japan.

Minimum string length: 1
jobPostingTitles
string[]

Job titles listed in the organization's active job postings, such as sales manager.

Minimum string length: 1
keywordTags
string[]

Keywords associated with the organization, such as mining or consulting.

Minimum string length: 1
keywords
string

Keywords to match across organization records.

Minimum string length: 1
lastFundingRoundDateGte
string<date>

Only organizations whose most recent funding round is on or after this date. Format: YYYY-MM-DD.

Pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
lastFundingRoundDateLte
string<date>

Only organizations whose most recent funding round is on or before this date. Format: YYYY-MM-DD.

Pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
limit
integer
default:25

Maximum organizations returned on this page.

Required range: 1 <= x <= 100
locations
string[]

Headquarters locations to match.

Minimum string length: 1
lookalikeOrganizationIds
string[]

Apollo organization identifiers to use as lookalike seeds, at most five. Results are narrowed to organizations similar to the seeds, and the seeds themselves are excluded. A seed Apollo holds no lookalike data for returns no results.

Maximum array length: 5
Minimum string length: 1
maxFundingUsd
integer

Maximum total funding across all rounds, in whole USD.

maxHeadcountGrowthPercent
integer

Maximum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 100 for 100%.

maxJobs
integer

Maximum number of active job postings at the organization.

maxLatestFundingUsd
integer

Maximum amount raised in the most recent funding round, in whole USD.

maxRevenueUsd
integer

Maximum organization annual revenue, in whole USD with no symbols.

minFundingUsd
integer

Minimum total funding across all rounds, in whole USD.

minHeadcountGrowthPercent
integer

Minimum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 10 for 10%. Negative values are accepted.

minJobs
integer

Minimum number of active job postings at the organization.

minLatestFundingUsd
integer

Minimum amount raised in the most recent funding round, in whole USD.

minRevenueUsd
integer

Minimum organization annual revenue, in whole USD with no symbols.

name
string

Organization name to match; partial matches count.

Minimum string length: 1
organizationIds
string[]

Apollo organization identifiers to match.

Minimum string length: 1
page
integer
default:1

One-based result page.

Required range: 1 <= x <= 500
preferLatencyUnderMs
integer

Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.

Required range: x >= 1
source
string[]

Optional. Source ids to prefer, in order, taken from this endpoint's lanes[].source.id in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless allowFallbacks is false. A single source with allowFallbacks false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit source to be served by another. On a paginated walk, later pages must include the source that served page one, or omit source.

Minimum string length: 1
technologySlugOr
string[]

Only organizations that use ANY of these technologies. Apollo technology identifiers, such as salesforce or google_analytics (spaces and periods become underscores). The technologies output of the Apollo organization SKUs returns them as id.

Minimum string length: 1

Response

Normalized result.

costUsd
number
required

USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.

items
integer
required

Number of result rows returned; an API that returns one record counts it as one row. For per-result APIs the per-item cost is charged against this count; for input-priced APIs the charge is per submitted input, independent of this count.

output
Apollo Organization Search output · object | null
required

Normalized output, or null when the replay payload was not retained.

provider
string
required

Always "AnyAPI".

replayed
boolean
required

True when this response replays the durable result of an earlier run without billing or upstream execution.

hint
string

Optional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireFields: ["nextCursor"] to be served only by a source that can page, which may cost more per request. malformed_query: means X read your search query differently than it looks (adjacent bare words are ANDed and OR binds tighter, so a multi-word alternative is not a phrase, and an operator after an unbracketed OR list applies to its last alternative only); the run was served and billed as X read it, and the hint carries the corrected query to send instead. date_adjusted: means a date you sent was outside the range the platform accepts, so the run used the nearest accepted date the hint names.

jqError
string

Present only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.

resultId
string

Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.

source
object

The source that served this run. Pass its id back as source to prefer it again, or as ignoreSources to avoid it. Absent when no source identity applies to the run.