{"components":{"schemas":{"APIDetail":{"properties":{"beta":{"description":"Present when this API is published as beta. A maturity label only: a beta API routes, serves and bills exactly like any other.","type":"boolean"},"category":{"description":"The API's category, accepted back as the `category` scope.","type":"string"},"description":{"description":"One-line summary of what this API returns.","type":"string"},"excludesCallerDelay":{"description":"Present when this API accepts a caller-requested wait. The published latency is net of that wait, so a caller who uses it measures a longer time.","type":"boolean"},"execution":{"allOf":[{"$ref":"#/components/schemas/DiscoveryExecution"}],"description":"The runtime protocol a run of this API follows."},"failover":{"description":"True when more than one source can serve this API, so a failed attempt is retried on another. Derived from the published sources, never authored.","type":"boolean"},"heavy":{"description":"True when a typical response is large enough to strain an agent's context window. Reach for the run response-budget controls (fields, max_items, summary, jq) before the first call.","type":"boolean"},"howItWorks":{"description":"Authored prose explaining how this API produces its result. Absent when unauthored.","type":"string"},"id":{"description":"Stable identifier for this API.","type":"string"},"inputSchema":{"description":"This API's normalized input as a JSON Schema document. It is strict: build the run body from it, because an invented field name fails the call.","type":"object"},"lanes":{"description":"The sources that can serve this API, cheapest customer charge first. Each carries its own price and its own public identity.","items":{"$ref":"#/components/schemas/APISourceOffer"},"type":"array"},"latency":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryLatency"},{"type":"null"}],"description":"Trailing-window distribution of successful runs, or null when there are too few observations to publish."},"method":{"description":"HTTP method for this API's concrete operation. Gateway authority: use it rather than assuming one.","type":"string"},"name":{"description":"Display name.","type":"string"},"notServingSources":{"description":"Sources that belong to this API but are not being called right now: each served until it was withdrawn after failures, and each returns on its own once it passes again. Absent when every source is serving. Never merge these into the list above: the prices here cannot be charged and a failed call is not retried on them.","items":{"$ref":"#/components/schemas/APISourceOffer"},"type":"array"},"outputSchema":{"description":"This API's normalized output as a JSON Schema document.","type":"object"},"path":{"description":"Concrete gateway path for this API. Gateway authority: use it rather than rebuilding a route from the slug.","type":"string"},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryPricing"}],"description":"Static USD pricing for this API."},"provider":{"const":"AnyAPI","description":"Always \"AnyAPI\". AnyAPI is the provider of record for every API in the catalog.","type":"string"},"slug":{"description":"The API's slug. Use it as {sku} on GET /v1/apis/{sku} and POST /v1/run/{sku}.","type":"string"},"tryEligible":{"description":"True when this API can be run from the free public try surface.","type":"boolean"},"tryMaxItems":{"description":"The most items the free try returns. Present only when tryEligible is true, so a limit is never advertised for an API the public tool will refuse.","type":"integer"}},"required":["id","slug","category","name","description","method","path","provider","execution","pricing","lanes","tryEligible","failover","latency"],"type":"object"},"APISourceOffer":{"properties":{"fields":{"description":"The output fields this source returns, so you can see before calling which requireFields combinations one source can serve together. Absent when the set is not known for the source.","items":{"type":"string"},"type":"array"},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryOffer"}],"description":"This source's own customer price."},"source":{"allOf":[{"$ref":"#/components/schemas/DiscoverySource"}],"description":"This source's public identity."}},"required":["pricing","source"],"type":"object"},"APISummary":{"properties":{"beta":{"description":"Present when this API is published as beta. A maturity label only: a beta API routes, serves and bills exactly like any other.","type":"boolean"},"category":{"description":"The API's category, accepted back as the `category` scope.","type":"string"},"description":{"description":"One-line summary of what this API returns.","type":"string"},"excludesCallerDelay":{"description":"Present when this API accepts a caller-requested wait. The published latency is net of that wait, so a caller who uses it measures a longer time.","type":"boolean"},"execution":{"allOf":[{"$ref":"#/components/schemas/DiscoveryExecution"}],"description":"The runtime protocol a run of this API follows."},"failover":{"description":"True when more than one source can serve this API, so a failed attempt is retried on another. Derived from the published sources, never authored.","type":"boolean"},"heavy":{"description":"True when a typical response is large enough to strain an agent's context window. Reach for the run response-budget controls (fields, max_items, summary, jq) before the first call.","type":"boolean"},"id":{"description":"Stable identifier for this API.","type":"string"},"lanes":{"description":"The sources that can serve this API, cheapest customer charge first. Each carries its own price and its own public identity.","items":{"$ref":"#/components/schemas/APISourceOffer"},"type":"array"},"method":{"description":"HTTP method for this API's concrete operation. Gateway authority: use it rather than assuming one.","type":"string"},"name":{"description":"Display name.","type":"string"},"notServingSources":{"description":"Sources that belong to this API but are not being called right now: each served until it was withdrawn after failures, and each returns on its own once it passes again. Absent when every source is serving. Never merge these into the list above: the prices here cannot be charged and a failed call is not retried on them.","items":{"$ref":"#/components/schemas/APISourceOffer"},"type":"array"},"path":{"description":"Concrete gateway path for this API. Gateway authority: use it rather than rebuilding a route from the slug.","type":"string"},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryPricing"}],"description":"Static USD pricing for this API."},"provider":{"const":"AnyAPI","description":"Always \"AnyAPI\". AnyAPI is the provider of record for every API in the catalog.","type":"string"},"slug":{"description":"The API's slug. Use it as {sku} on GET /v1/apis/{sku} and POST /v1/run/{sku}.","type":"string"},"tryEligible":{"description":"True when this API can be run from the free public try surface.","type":"boolean"},"tryMaxItems":{"description":"The most items the free try returns. Present only when tryEligible is true, so a limit is never advertised for an API the public tool will refuse.","type":"integer"}},"required":["id","slug","category","name","description","method","path","provider","execution","pricing","lanes","tryEligible","failover"],"type":"object"},"AgentUpgrade":{"properties":{"authorizationServer":{"format":"uri","type":"string"},"clientId":{"type":"string"},"device":{"$ref":"#/components/schemas/DeviceUpgrade"},"scope":{"type":"string"}},"required":["authorizationServer","scope"],"type":"object"},"CatalogAPI":{"properties":{"beta":{"description":"Present when this API is published as beta. A maturity label only: a beta API routes, serves and bills exactly like any other.","type":"boolean"},"category":{"description":"The API's category, accepted back as the `category` scope.","type":"string"},"description":{"description":"One-line summary of what this API returns.","type":"string"},"excludesCallerDelay":{"description":"Present when this API accepts a caller-requested wait. The published latency is net of that wait, so a caller who uses it measures a longer time.","type":"boolean"},"execution":{"allOf":[{"$ref":"#/components/schemas/DiscoveryExecution"}],"description":"The runtime protocol a run of this API follows."},"failover":{"description":"True when more than one source can serve this API, so a failed attempt is retried on another. Derived from the published sources, never authored.","type":"boolean"},"heavy":{"description":"True when a typical response is large enough to strain an agent's context window. Reach for the run response-budget controls (fields, max_items, summary, jq) before the first call.","type":"boolean"},"id":{"description":"Stable identifier for this API.","type":"string"},"lanes":{"description":"The sources that can serve this API, cheapest customer charge first. Each carries its own price and its own public identity.","items":{"$ref":"#/components/schemas/CatalogSourceOffer"},"type":"array"},"method":{"description":"HTTP method for this API's concrete operation. Gateway authority: use it rather than assuming one.","type":"string"},"name":{"description":"Display name.","type":"string"},"notServingSources":{"description":"Sources that belong to this API but are not being called right now: each served until it was withdrawn after failures, and each returns on its own once it passes again. Absent when every source is serving. Never merge these into the list above: the prices here cannot be charged and a failed call is not retried on them.","items":{"$ref":"#/components/schemas/CatalogSourceOffer"},"type":"array"},"path":{"description":"Concrete gateway path for this API. Gateway authority: use it rather than rebuilding a route from the slug.","type":"string"},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryPricing"}],"description":"Static USD pricing for this API."},"provider":{"const":"AnyAPI","description":"Always \"AnyAPI\". AnyAPI is the provider of record for every API in the catalog.","type":"string"},"slug":{"description":"The API's slug. Use it as {sku} on GET /v1/apis/{sku} and POST /v1/run/{sku}.","type":"string"},"tryEligible":{"description":"True when this API can be run from the free public try surface.","type":"boolean"},"tryMaxItems":{"description":"The most items the free try returns. Present only when tryEligible is true, so a limit is never advertised for an API the public tool will refuse.","type":"integer"}},"required":["id","slug","category","name","description","method","path","provider","execution","pricing","lanes","tryEligible","failover"],"type":"object"},"CatalogSearchResult":{"properties":{"category":{"description":"The API's category, accepted back as the `category` scope.","type":"string"},"description":{"description":"One-line summary of what this API returns.","type":"string"},"excludesCallerDelay":{"description":"Present when this API accepts a caller-requested wait that the published latency excludes.","type":"boolean"},"execution":{"allOf":[{"$ref":"#/components/schemas/DiscoveryExecution"}],"description":"The runtime protocol a run of this API follows."},"failover":{"description":"True when more than one source can serve this API.","type":"boolean"},"highlightFields":{"description":"Output fields of this API that matched the query, with each field's own schema description as `why`. Computed for the top few results only, so an absent array means no highlights were produced rather than no matching field.","items":{"$ref":"#/components/schemas/DiscoveryHighlightField"},"type":"array"},"method":{"description":"HTTP method for this API's concrete operation.","type":"string"},"name":{"description":"Display name.","type":"string"},"path":{"description":"Concrete gateway path for this API.","type":"string"},"platformId":{"description":"The API's platform, accepted back as the `platform` scope.","type":"string"},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryPricing"}],"description":"Static USD pricing for this API."},"provider":{"const":"AnyAPI","description":"Always \"AnyAPI\".","type":"string"},"relevance":{"description":"How well this API matched, relative to the others in this response.","type":"number"},"slug":{"description":"The API's slug. Feed it to GET /v1/apis/{sku} for the input schema.","type":"string"},"tryMaxItems":{"description":"The most items the free try returns, when this API is try-eligible.","type":"integer"}},"required":["slug","category","name","description","method","path","provider","execution","pricing","failover","platformId","relevance"],"type":"object"},"CatalogSourceOffer":{"properties":{"fields":{"description":"The output fields this source returns, so you can see before calling which requireFields combinations one source can serve together. Absent when the set is not known for the source.","items":{"type":"string"},"type":"array"},"health":{"allOf":[{"$ref":"#/components/schemas/DiscoverySourceHealth"}],"description":"Measured health for this source. Absent when it has too little traffic to publish."},"pricing":{"allOf":[{"$ref":"#/components/schemas/DiscoveryOffer"}],"description":"This source's own customer price."},"source":{"allOf":[{"$ref":"#/components/schemas/DiscoverySource"}],"description":"This source's public identity."}},"required":["pricing","source"],"type":"object"},"DeviceUpgrade":{"properties":{"deviceCode":{"type":"string"},"expiresIn":{"minimum":0,"type":"integer"},"grantType":{"type":"string"},"interval":{"minimum":1,"type":"integer"},"tokenEndpoint":{"format":"uri","type":"string"},"userCode":{"type":"string"},"verificationUri":{"format":"uri","type":"string"},"verificationUriComplete":{"format":"uri","type":"string"}},"required":["verificationUriComplete","verificationUri","userCode","deviceCode","tokenEndpoint","grantType","interval","expiresIn"],"type":"object"},"DiscoveryExecution":{"properties":{"mode":{"description":"sync answers on the run request; durable accepts the run as a Request you poll at GET /v1/requests/{id}.","enum":["sync","durable"],"type":"string"}},"required":["mode"],"type":"object"},"DiscoveryHighlightField":{"properties":{"path":{"description":"JSON path of the output field inside this API's outputSchema.","type":"string"},"type":{"description":"JSON type of that field.","type":"string"},"why":{"description":"The field's own schema description. Absent when the schema gives none.","type":"string"}},"required":["path","type"],"type":"object"},"DiscoveryLatency":{"properties":{"basis":{"const":"service_time_excludes_caller_requested_delay","description":"Machine-readable definition of what these percentiles measure.","type":"string"},"p50Ms":{"description":"Median successful end-to-end service time, in milliseconds.","type":"integer"},"p95Ms":{"description":"95th percentile successful end-to-end service time, in milliseconds.","type":"integer"},"p99Ms":{"description":"99th percentile successful end-to-end service time, in milliseconds. An observation, not a maximum.","type":"integer"},"sample":{"description":"Successful executions behind these percentiles.","type":"integer"},"window":{"const":"30d","description":"The trailing window these percentiles cover.","type":"string"}},"required":["window","p50Ms","p95Ms","p99Ms","sample","basis"],"type":"object"},"DiscoveryOffer":{"properties":{"addons":{"description":"Optional extras this offer sells, absent when it sells none. Each is switched on by a field in the request, so its price is known before the call and never moves. maxUsd bounds the metered charge alone: an extra the caller asked for is billed ON TOP of it, so the most one request can cost is maxUsd plus the extras it switched on.","items":{"properties":{"field":{"description":"The input field that switches it on.","type":"string"},"id":{"description":"Stable identifier for the extra.","type":"string"},"label":{"description":"What the money buys, in the customer's words.","type":"string"},"usd":{"description":"USD added to the request when that field is set.","type":"number"}},"required":["id","label","field","usd"],"type":"object"},"type":"array"},"baseUsd":{"description":"Linear offers only: USD charged for the call before per-unit billing.","type":"number"},"maxPer1kUsd":{"description":"The same maximum in the per-1,000-request denomination AnyAPI quotes customers in. It is published rather than left to the client, so display this figure instead of scaling a price yourself.","type":"number"},"maxUsd":{"description":"The most one request on this offer can be billed, in USD.","type":"number"},"model":{"description":"Pricing model. A flat offer is one price per request; a linear offer also carries baseUsd and perUnitUsd.","enum":["flat","linear"],"type":"string"},"perUnitUsd":{"description":"Linear offers only: USD charged for each billable unit inside the call.","type":"number"},"unit":{"description":"The billable unit. A flat offer always publishes \"request\".","type":"string"}},"required":["model","unit","maxUsd","maxPer1kUsd"],"type":"object"},"DiscoveryPricing":{"properties":{"failoverMaxPer1kUsd":{"description":"failoverMaxUsd in the per-1,000-request denomination.","type":"number"},"failoverMaxUsd":{"description":"The greatest customer-price maximum across those same sources, in USD, including every optional extra a source sells.","type":"number"},"from":{"allOf":[{"$ref":"#/components/schemas/DiscoveryOffer"}],"description":"The complete offer for the first source that will be tried, where sources are ordered by the customer charge, cheapest first."}},"required":["from","failoverMaxUsd","failoverMaxPer1kUsd"],"type":"object"},"DiscoverySource":{"properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"},"DiscoverySourceHealth":{"properties":{"blockedPct":{"description":"Share of this source's attempts the target site refused, as a percentage. Left out of uptimePct. Sent only for web.scrape, where later sources see only the pages earlier ones failed on.","type":"number"},"latencyP50Ms":{"description":"Median successful service time for this source, in milliseconds.","type":"integer"},"latencySample":{"description":"Requests behind latencyP50Ms.","type":"integer"},"requests":{"description":"Requests routed to this source in the window.","type":"integer"},"servedRequests":{"description":"Requests this source served in the window.","type":"integer"},"uptimePct":{"description":"Share of requests this source served successfully, as a percentage.","type":"number"},"uptimeSample":{"description":"Requests behind uptimePct.","type":"integer"},"window":{"const":"30d","description":"The trailing window these measurements cover.","type":"string"}},"required":["window","uptimePct","latencyP50Ms","uptimeSample","latencySample","requests","servedRequests"],"type":"object"},"Error":{"properties":{"code":{"description":"Stable machine-readable error code when the endpoint defines one.","type":"string"},"error":{"description":"Customer-safe error message.","type":"string"},"payment":{"$ref":"#/components/schemas/Payment"},"requestId":{"description":"This run's AnyAPI request id, the same value as the X-Anyapi-Request-Id response header. Quote it to support. Absent on endpoints that do not execute a run.","format":"uuid","type":"string"}},"required":["error"],"type":"object"},"Payment":{"properties":{"costUsd":{"description":"Known USD payment amount for this request.","minimum":0,"type":"number"},"rail":{"minLength":1,"type":"string"},"settlementState":{"enum":["charged_undelivered","indeterminate"],"type":"string"}},"required":["rail","settlementState","costUsd"],"type":"object"},"PaymentRequiredError":{"allOf":[{"$ref":"#/components/schemas/Error"},{"properties":{"error":{"not":{"const":"trial_cap_reached"}}},"type":"object"}]},"RequestSnapshot":{"properties":{"collectUrl":{"description":"Present while a charged request is still running: a link that reads this one request with no API key, so whoever holds it can collect the answer. Read it no faster than Retry-After.","type":"string"},"completedAt":{"format":"date-time","type":"string"},"costUsd":{"description":"What a request with no result yet, or a failed one, was already charged in USD. Some lookups are charged as soon as they start and never charged again; one that finds no answer within the window its note states is refunded automatically, and a result states its own cost.","minimum":0,"type":"number"},"createdAt":{"format":"date-time","type":"string"},"error":{"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"expiresAt":{"format":"date-time","type":"string"},"note":{"description":"How to finish a charged request that is still running; present with collectUrl.","type":"string"},"requestId":{"format":"uuid","type":"string"},"result":{"properties":{"costUsd":{"description":"USD charged on the ORIGINAL run, echoed for envelope parity; this re-read is free.","type":"number"},"items":{"description":"Number of result rows returned by the original run; an API that returns one record counts it as one row.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"description":"The normalized result (`{found, data}` by default, plus `reason` when `found` is false), re-shaped by any fields/max_items/summary/jq params. Open shape - a jq expression may replace it with an array or scalar."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"False on this cached-result endpoint; true is reserved for durable idempotency replays from POST /v1/run/{sku}.","type":"boolean"},"resultId":{"description":"The id you requested, echoed so you can keep re-reading the same cached result.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"},"resultExpired":{"type":"boolean"},"retryAfterSeconds":{"minimum":1,"type":"integer"},"serviceOutcome":{"description":"End-to-end AnyAPI service result when known; independent of payment settlement.","enum":["served","valid_negative","caller_error","service_failure","rejected"],"type":"string"},"settlementState":{"description":"Payment settlement state when known; independent of request lifecycle status.","enum":["not_required","pending","settled","reconcile","charged_undelivered","writeoff"],"type":"string"},"sku":{"type":"string"},"status":{"enum":["queued","running","succeeded","failed","expired"],"type":"string"}},"required":["requestId","sku","status","createdAt"],"type":"object"},"TrialCapReached":{"properties":{"error":{"const":"trial_cap_reached","type":"string"},"message":{"description":"Human-relayable continuation instructions, including an executable token poll.","type":"string"},"upgrade":{"$ref":"#/components/schemas/AgentUpgrade"}},"required":["error","message","upgrade"],"type":"object"}},"securitySchemes":{"apiKeyAuth":{"description":"Your AnyAPI key.","in":"header","name":"X-API-Key","type":"apiKey","x-default":"YOUR_ANYAPI_KEY"},"bearerAuth":{"description":"Your AnyAPI key as a Bearer token.","scheme":"bearer","type":"http","x-default":"YOUR_ANYAPI_KEY"}}},"info":{"contact":{"email":"support@getanyapi.com"},"description":"Any API, one wallet, USD, no subscriptions. Each API is a single discovered operation: send the normalized input, get a normalized result. Prices and payment outcomes are reported in USD; each operation documents the settlement policy for its enabled payment rails.","title":"AnyAPI","version":"1.0.0","x-guidance":"Use each operation's published method and path with its normalized JSON input (see the operation requestBody). Before setting a client or tool timeout, GET /v1/apis/{sku} and inspect its trailing-30-day latency p50/p95/p99 and sample; p99 is an observation, not a maximum. To pay: send your AnyAPI key (Authorization: Bearer, billed from your USD wallet). For operations that advertise an inline rail, pay per call inline with x402 - call with no key, receive HTTP 402 with a PAYMENT-REQUIRED header, then retry with the PAYMENT-SIGNATURE header (base, no account needed; x402 price includes a $0.001 per-call settlement fee on top of the standard price at https://getanyapi.com); or pay per call inline with MPP (Machine Payments Protocol) - call with no key, receive HTTP 402 with a WWW-Authenticate: Payment challenge, then retry with the Authorization: Payment header (tempo, no account needed). x402 settles after execution; execution failure is reported as released; mpp settles before execution; execution failure is reported as charged_undelivered."},"openapi":"3.1.0","paths":{"/catalog":{"get":{"description":"Every API AnyAPI can serve right now, with its normalized input and output contract's location, its USD pricing, and the sources behind it. Reading the catalog is free and needs no key. Each entry's `method` and `path` are the gateway's own authority on how to call it: use them rather than rebuilding a route from the slug. Schemas are omitted here to keep the response small; GET /v1/apis/{sku} returns them for one API.","operationId":"browseCatalog","parameters":[{"description":"Restrict the response to one category, using an entry's `category`.","in":"query","name":"category","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"apis":{"items":{"$ref":"#/components/schemas/CatalogAPI"},"type":"array"}},"required":["apis"],"type":"object"}}},"description":"The customer-safe catalog."}},"security":[],"summary":"Browse the API catalog"}},"/catalog/search":{"get":{"description":"Find an API by what you need rather than by its slug. Results are ranked, and `ranking` names the ranker that served them. A request must name `q`, `category`, or `platform`: a scope on its own is a complete question (\"everything this platform can do\"), while a request naming none of the three has nothing to answer and is rejected. Searching is free and needs no key. Feed a result's `slug` to GET /v1/apis/{sku} for its input schema before your first run.","operationId":"searchCatalog","parameters":[{"description":"What you need, in your own words. Long queries are truncated before ranking.","in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"Restrict the response to one category, using an entry's `category`.","in":"query","name":"category","required":false,"schema":{"type":"string"}},{"description":"Restrict results to one platform, using a result's `platformId`.","in":"query","name":"platform","required":false,"schema":{"type":"string"}},{"description":"Maximum results in this response. Omit it for the ranked default. A value above the server's maximum is reduced to it rather than rejected, and `total` still reports how many matched.","in":"query","name":"limit","required":false,"schema":{"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ranking":{"description":"Which ranker served this response.","enum":["keyword","semantic"],"type":"string"},"results":{"items":{"$ref":"#/components/schemas/CatalogSearchResult"},"type":"array"},"total":{"description":"Matches found before `limit` was applied.","type":"integer"}},"required":["results","total","ranking"],"type":"object"}}},"description":"Ranked matches."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request named neither a query nor a scope."}},"security":[],"summary":"Search the API catalog"}},"/v1/apis":{"get":{"description":"The same catalog as GET /catalog, without measured source health, for a caller that is choosing an API to run rather than displaying uptime. Schemas are omitted; GET /v1/apis/{sku} returns them for one API.","operationId":"listApis","parameters":[{"description":"Restrict the response to one category, using an entry's `category`.","in":"query","name":"category","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"apis":{"items":{"$ref":"#/components/schemas/APISummary"},"type":"array"}},"required":["apis"],"type":"object"}}},"description":"The APIs available to your key."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."}},"summary":"List the APIs you can run"}},"/v1/apis/{sku}":{"get":{"description":"One API's full contract: its normalized `inputSchema` and `outputSchema`, its USD pricing, the sources behind it, and its trailing-30-day latency distribution. Build your input from `inputSchema` rather than from the description: the schema is strict, so an invented field name fails the call. The latency percentiles are observations of past successful runs, not execution ceilings.","operationId":"getApi","parameters":[{"description":"The API's slug, as published by discovery (for example `reddit.search`).","in":"path","name":"sku","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIDetail"}}},"description":"The API's full contract."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown slug, or an API no source can serve."}},"summary":"Get one API"}},"/v1/balance":{"get":{"description":"Remaining USD in the wallet behind your API key. Reading the balance is free. The amount is what is left to spend across all APIs, not a per-request price: compare it against an operation's own USD cost before you run one.","operationId":"getBalance","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"usd":{"description":"Remaining wallet balance in USD.","type":"number"}},"required":["usd"],"type":"object"}}},"description":"Current wallet balance."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."}},"summary":"Get your wallet balance"}},"/v1/requests/{id}":{"get":{"description":"Inspect a customer-owned Request. Poll queued or running requests after retryAfterSeconds; a durable result stays collectable for 24 hours. A paid request's output can be read back for the account's response retention window, 3 days unless 7 days or none is chosen in the dashboard; lowering the setting hides older output at once. Reading kept output is limited per account to 30 reads a minute for each dollar of lifetime settled spend, so an account that has spent nothing cannot read it. Metadata remains after the result expires (resultExpired).","operationId":"getRequest","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestSnapshot"}}},"description":"Current request snapshot."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown request id, or a request owned by another customer."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The account's limit on reading kept output is reached; retry after Retry-After seconds."}},"summary":"Get a request"}},"/v1/requests/{id}/collect":{"get":{"description":"Read one charged, still-running Request through the collectUrl it was given, with no API key. Wait Retry-After seconds between reads until status is succeeded; the answer is in result.output. The link stops working once the request is gone or its connection was revoked.","operationId":"collectRequest","parameters":[{"in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestSnapshot"}}},"description":"Current request snapshot."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown request id or token."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Read again after Retry-After seconds."}},"security":[],"summary":"Collect a charged request"}},"/v1/results/{id}":{"get":{"description":"Re-read the full unshaped result of a prior run from its short-lived cache and re-shape it with the same `fields`, `max_items`, `summary`, and `jq` query params as /v1/run, all for FREE (no re-billing). Results are scoped to the customer that paid for them and cached for about 15 minutes. Use this to read the rest of, or reshape, a paid result instead of re-running and paying again.","operationId":"getResult","parameters":[{"description":"The `resultId` returned on a prior run response envelope.","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the ORIGINAL run, echoed for envelope parity; this re-read is free.","type":"number"},"items":{"description":"Number of result rows returned by the original run; an API that returns one record counts it as one row.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"description":"The normalized result (`{found, data}` by default, plus `reason` when `found` is false), re-shaped by any fields/max_items/summary/jq params. Open shape - a jq expression may replace it with an array or scalar."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"False on this cached-result endpoint; true is reserved for durable idempotency replays from POST /v1/run/{sku}.","type":"boolean"},"resultId":{"description":"The id you requested, echoed so you can keep re-reading the same cached result.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"The re-shaped result envelope (same shape as a run response)."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown or expired result id (results are cached about 15 minutes); re-run the API for fresh data."}},"summary":"Re-read a cached result for free"}},"/v1/run/ahrefs.backlinks":{"post":{"description":"Get the referring pages linking to a domain or URL, each with the source page, anchor text, linking domain rating, and page title.\n\n**Price:** billed per result - \\$5.01 per 1,000 requests base + \\$0.00 per 1,000 results, capped at \\$5.01 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Ahrefs Backlinks pricing and uptime](https://getanyapi.com/api/ahrefs/backlinks) - live USD price, lane routing, and measured 30-day uptime. [Every Ahrefs endpoint](https://getanyapi.com/api/ahrefs).","operationId":"ahrefs_backlinks","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"mode":"exact","url":"ahrefs.com"},"schema":{"additionalProperties":false,"example":{"mode":"exact","url":"ahrefs.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mode":{"default":"subdomains","description":"Match scope: \"exact\" for the given URL only, or \"subdomains\" to include the domain and its subdomains.","enum":["exact","subdomains"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The domain or page URL to find backlinks for (e.g. \"ahrefs.com\").","type":"string"}},"required":["url"],"title":"Ahrefs backlinks input","type":"object","x-anyapi-any-host":true}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Referring pages that link to the domain or URL. Populated whenever the provider has data for the entity.","items":{"properties":{"anchor":{"description":"Anchor text of the link.","type":"string"},"contextAfter":{"description":"Text immediately after the anchor on the referring page.","type":"string"},"contextBefore":{"description":"Text immediately before the anchor on the referring page.","type":"string"},"domainRating":{"description":"Ahrefs Domain Rating (0-100) of the linking domain.","type":"number"},"title":{"description":"Title of the referring page.","type":"string"},"urlFrom":{"description":"URL of the referring page that contains the link. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"urlTo":{"description":"Target URL the link points to.","type":"string"}},"required":["urlFrom"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Ahrefs backlinks output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Ahrefs Backlinks","tags":["ahrefs"],"x-mint":{"href":"/api-reference/ahrefs/backlinks"},"x-payment-info":{"price":{"currency":"USD","max":"0.005010","min":"0.005010","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006010","min":"0.006010","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005010","min":"0.005010","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ahrefs.keyword_ideas":{"post":{"description":"Get related keyword suggestions for any seed term, each with an Ahrefs difficulty and search-volume bucket.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$4.95 per 1,000 results, capped at \\$5.01 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Ahrefs Keyword Ideas pricing and uptime](https://getanyapi.com/api/ahrefs/keyword-ideas) - live USD price, lane routing, and measured 30-day uptime. [Every Ahrefs endpoint](https://getanyapi.com/api/ahrefs).","operationId":"ahrefs_keyword_ideas","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"us","keyword":"coffee"},"schema":{"additionalProperties":false,"example":{"country":"us","keyword":"coffee"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"us","description":"Two-letter country code that scopes the suggestions (e.g. us, gb, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keyword":{"description":"The seed keyword to expand into related suggestions (e.g. \"coffee\").","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["keyword"],"title":"Ahrefs keyword ideas input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Keyword-idea records: the seed keyword and its related keyword suggestions, each with an Ahrefs difficulty and search-volume bucket. Populated whenever the provider has data for the entity.","items":{"properties":{"country":{"description":"Two-letter country code the suggestions are scoped to.","type":"string"},"ideas":{"description":"Related keyword suggestions for the seed term. Populated whenever the provider has data for the entity.","items":{"properties":{"difficulty":{"description":"Relative Ahrefs difficulty bucket (a letter such as E, M, or H), not an exact number.","type":"string"},"keyword":{"description":"The suggested related keyword. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedAt":{"description":"Timestamp the suggestion metrics were last updated.","type":"string"},"volume":{"description":"Relative search-volume bucket (a letter grade), not an exact number.","type":"string"}},"required":["keyword"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"questions":{"description":"Question-shaped keyword suggestions for the seed term.","items":{"properties":{"difficulty":{"description":"Relative Ahrefs difficulty bucket (a letter such as E, M, or H), not an exact number.","type":"string"},"keyword":{"description":"The suggested question keyword.","type":"string"},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"volume":{"description":"Relative search-volume bucket (a letter grade), not an exact number.","type":"string"}},"type":"object"},"type":"array"},"searchEngine":{"description":"Search engine the suggestions are drawn from (e.g. Google).","type":"string"},"sourceKeyword":{"description":"The seed keyword the suggestions were expanded from. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["sourceKeyword"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Ahrefs keyword ideas output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Ahrefs Keyword Ideas","tags":["ahrefs"],"x-mint":{"href":"/api-reference/ahrefs/keyword-ideas"},"x-payment-info":{"price":{"currency":"USD","max":"0.005010","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006010","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005010","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ahrefs.keywords":{"post":{"description":"Get the Ahrefs keyword-difficulty metrics for any search term: the difficulty score (0-100) and the number of referring domains a page needs to rank in the top 10 - as normalized JSON.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$4.95 per 1,000 results, capped at \\$5.01 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Ahrefs Keyword Difficulty pricing and uptime](https://getanyapi.com/api/ahrefs/keywords) - live USD price, lane routing, and measured 30-day uptime. [Every Ahrefs endpoint](https://getanyapi.com/api/ahrefs).","operationId":"ahrefs_keywords","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"us","keyword":"seo tools"},"schema":{"additionalProperties":false,"example":{"country":"us","keyword":"seo tools"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"us","description":"Two-letter country code that scopes volume and difficulty (e.g. us, gb, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keyword":{"description":"The search term to analyze (e.g. \"seo tools\").","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["keyword"],"title":"Ahrefs keyword metrics input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Keyword-difficulty records: the difficulty score and the referring-domain gap needed to rank in the top 10. Populated whenever the provider has data for the entity.","items":{"properties":{"country":{"description":"Two-letter country code the metrics are scoped to.","type":"string"},"cpcUsd":{"description":"Ahrefs' estimated paid-search cost per click in USD.","type":"number"},"difficulty":{"description":"Ahrefs Keyword Difficulty, 0-100.","type":"integer"},"keyword":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"referringDomainsToRank":{"description":"Estimated number of referring domains a page needs to rank in the top 10 for this keyword.","type":"integer"},"searchVolume":{"description":"Average monthly search volume for the keyword in the requested country.","type":"integer"},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"}},"required":["keyword"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Ahrefs keyword difficulty output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Ahrefs Keyword Difficulty","tags":["ahrefs"],"x-mint":{"href":"/api-reference/ahrefs/keywords"},"x-payment-info":{"price":{"currency":"USD","max":"0.005010","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006010","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005010","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ahrefs.overview":{"post":{"description":"Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$4.95 per 1,000 results, capped at \\$5.01 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Ahrefs Domain Overview pricing and uptime](https://getanyapi.com/api/ahrefs/overview) - live USD price, lane routing, and measured 30-day uptime. [Every Ahrefs endpoint](https://getanyapi.com/api/ahrefs).","operationId":"ahrefs_overview","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"mode":"subdomains","url":"ahrefs.com"},"schema":{"additionalProperties":false,"example":{"mode":"subdomains","url":"ahrefs.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mode":{"default":"subdomains","description":"Analysis scope: subdomains covers the whole domain, exact matches only the given URL.","enum":["exact","subdomains"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The domain or page URL to analyze (e.g. ahrefs.com).","type":"string"}},"required":["url"],"title":"Ahrefs domain overview input","type":"object","x-aliases":{"target":"url"},"x-anyapi-any-host":true}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Domain authority records: the requested domain plus its Domain Rating, total backlinks, and referring-domain counts. Populated whenever the provider has data for the entity.","items":{"properties":{"backlinks":{"description":"Total number of backlinks pointing to the domain.","type":"integer"},"dofollowBacklinksPct":{"description":"Percentage (0-100) of backlinks that are dofollow.","type":"integer"},"dofollowReferringDomainsPct":{"description":"Percentage (0-100) of referring domains that provide a dofollow link.","type":"integer"},"domain":{"description":"The domain or URL the metrics are scoped to. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"domainRating":{"description":"Ahrefs Domain Rating, 0-100, measuring backlink-profile strength.","type":"number"},"mode":{"description":"Analysis scope used: subdomains (whole domain) or exact (the given URL only).","type":"string"},"referringDomains":{"description":"Number of unique referring domains linking to the domain.","type":"integer"}},"required":["domain"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Ahrefs domain overview output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Ahrefs Domain Overview","tags":["ahrefs"],"x-mint":{"href":"/api-reference/ahrefs/overview"},"x-payment-info":{"price":{"currency":"USD","max":"0.005010","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006010","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005010","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ahrefs.traffic":{"post":{"description":"Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$4.95 per 1,000 results, capped at \\$5.01 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Ahrefs Traffic Overview pricing and uptime](https://getanyapi.com/api/ahrefs/traffic) - live USD price, lane routing, and measured 30-day uptime. [Every Ahrefs endpoint](https://getanyapi.com/api/ahrefs).","operationId":"ahrefs_traffic","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"mode":"subdomains","url":"ahrefs.com"},"schema":{"additionalProperties":false,"example":{"mode":"subdomains","url":"ahrefs.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mode":{"default":"subdomains","description":"Analysis scope: subdomains covers the domain and its subdomains, domain covers the root domain only, prefix covers every page under the given path, exact matches only the given URL.","enum":["exact","subdomains","prefix","domain"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The domain or page URL to analyze (e.g. ahrefs.com).","type":"string"}},"required":["url"],"title":"Ahrefs traffic overview input","type":"object","x-aliases":{"domain":"url","target":"url"},"x-anyapi-any-host":true}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Traffic overview records: the requested domain plus its monthly organic traffic, top ranking keywords, top pages, top countries, and traffic history. Populated whenever the provider has data for the entity.","items":{"properties":{"domain":{"description":"The domain or URL the metrics are scoped to. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"mode":{"description":"Analysis scope used: subdomains, domain, prefix, or exact.","type":"string"},"monthlyTraffic":{"description":"Estimated monthly organic search visits.","type":"integer"},"monthlyTrafficValueUsd":{"description":"Estimated monthly USD value of the organic traffic, what the same clicks would cost in paid search.","type":"number"},"topCountries":{"description":"Countries sending the most organic traffic, up to five.","items":{"properties":{"country":{"description":"Two-letter country code.","type":"string"},"sharePct":{"description":"Share (0-100) of the domain's organic traffic from this country.","type":"number"}},"required":["country"],"type":"object"},"type":"array"},"topKeywords":{"description":"The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords. Populated whenever the provider has data for the entity.","items":{"properties":{"keyword":{"description":"The organic keyword.","type":"string"},"position":{"description":"Current Google organic position for this keyword.","type":"integer"},"traffic":{"description":"Estimated monthly traffic this keyword drives to the domain.","type":"integer"}},"required":["keyword"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"topPages":{"description":"The pages receiving the most organic traffic, up to five.","items":{"properties":{"sharePct":{"description":"Share (0-100) of the domain's organic traffic this page receives.","type":"number"},"traffic":{"description":"Estimated monthly organic visits to the page.","type":"integer"},"url":{"description":"The page URL.","type":"string"}},"required":["url"],"type":"object"},"type":"array"},"trafficHistory":{"description":"Monthly organic traffic estimates for recent months, oldest first.","items":{"properties":{"monthUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the first day of the month. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"organicTraffic":{"description":"Estimated organic search visits in that month.","type":"integer"}},"required":["monthUtc"],"type":"object"},"type":"array"}},"required":["domain"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Ahrefs traffic overview output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Ahrefs Traffic Overview","tags":["ahrefs"],"x-mint":{"href":"/api-reference/ahrefs/traffic"},"x-payment-info":{"price":{"currency":"USD","max":"0.005010","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006010","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005010","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/airbnb.search":{"post":{"description":"Search Airbnb listings by location and dates with optional price, beds/bedrooms/bathrooms, and guest-party filters and get results (name, total-stay price label, rating, host) as normalized JSON.\n\n**Price:** billed per result - \\$0.08 per 1,000 requests base + \\$1.10 per 1,000 results, capped at \\$22.10 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Airbnb Search pricing and uptime](https://getanyapi.com/api/airbnb/search) - live USD price, lane routing, and measured 30-day uptime. [Every Airbnb endpoint](https://getanyapi.com/api/airbnb).","operationId":"airbnb_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"adults":2,"limit":3,"location":"San Diego","minBedrooms":3},"schema":{"additionalProperties":false,"example":{"adults":2,"limit":3,"location":"San Diego","minBedrooms":3},"properties":{"adults":{"description":"Number of adult guests (e.g. 2).","minimum":1,"type":"integer"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"checkIn":{"description":"Check-in date in YYYY-MM-DD format (e.g. 2026-07-01).","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"checkOut":{"description":"Check-out date in YYYY-MM-DD format (e.g. 2026-07-05).","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"children":{"description":"Number of child guests (e.g. 1).","minimum":0,"type":"integer"},"currency":{"default":"USD","description":"Currency code for prices (e.g. EUR).","enum":["USD","CZK","AUD","BRL","BGN","CAD","CLP","CNY","COP","CRC","HRK","DKK","EGP","AED","EUR","GHS","HKD","HUF","INR","IDR","ILS","JPY","KZT","KES","MYR","MXN","MAD","TWD","NZD","NOK","PEN","PHP","PLN","GBP","QAR","RON","SAR","SGD","ZAR","KRW","SEK","CHF","THB","TRY","UGX","UAH","UYU","VND"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"infants":{"description":"Number of infant guests (e.g. 1).","minimum":0,"type":"integer"},"limit":{"description":"Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"Location to search listings in (e.g. London).","type":"string"},"minBathrooms":{"description":"Minimum number of bathrooms (e.g. 2).","minimum":0,"type":"integer"},"minBedrooms":{"description":"Minimum number of bedrooms (e.g. 2).","minimum":0,"type":"integer"},"minBeds":{"description":"Minimum number of beds (e.g. 2).","minimum":0,"type":"integer"},"pets":{"description":"Number of pets; only pet-friendly listings are returned when set (e.g. 1).","minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"priceMax":{"description":"Maximum search price in the selected currency (e.g. 300).","minimum":0,"type":"integer"},"priceMin":{"description":"Minimum search price in the selected currency (e.g. 50).","minimum":0,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["location"],"title":"Airbnb search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Listing records: name, total-stay price label, rating, location, host info, and availability details. Populated whenever the provider has data for the entity.","items":{"properties":{"description":{"description":"Listing description written by the host.","type":"string"},"hostAvatarUrl":{"description":"Host profile photo URL.","type":"string"},"hostId":{"description":"Airbnb host identifier.","type":"string"},"hostName":{"type":"string"},"hostRating":{"description":"Average rating across the host other listings (0-5).","type":"number"},"hostReviewsCount":{"description":"Number of reviews across the host other listings.","type":"integer"},"hostVerified":{"description":"Whether Airbnb has verified the host identity.","type":"boolean"},"id":{"description":"Airbnb listing identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"Listing photos.","items":{"properties":{"caption":{"description":"Photo caption.","type":"string"},"url":{"description":"Photo URL.","type":"string"}},"type":"object"},"type":"array"},"isAvailable":{"type":"boolean"},"isSuperhost":{"type":"boolean"},"latitude":{"type":"number"},"location":{"description":"Location subtitle.","type":"string"},"longitude":{"type":"number"},"personCapacity":{"type":"integer"},"price":{"description":"Total-stay price label returned by Airbnb (e.g. $3,149 total).","type":"string"},"propertyType":{"type":"string"},"rating":{"description":"Guest satisfaction rating (0-5).","type":"number"},"ratingAccuracy":{"description":"Accuracy sub-rating (0-5).","type":"number"},"ratingCheckin":{"description":"Check-in sub-rating (0-5).","type":"number"},"ratingCleanliness":{"description":"Cleanliness sub-rating (0-5).","type":"number"},"ratingCommunication":{"description":"Communication sub-rating (0-5).","type":"number"},"ratingLocation":{"description":"Location sub-rating (0-5).","type":"number"},"ratingValue":{"description":"Value sub-rating (0-5).","type":"number"},"reviewsCount":{"type":"integer"},"roomType":{"type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Airbnb search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Airbnb Search","tags":["airbnb"],"x-mint":{"href":"/api-reference/airbnb/search"},"x-payment-info":{"price":{"currency":"USD","max":"0.022100","min":"0.000080","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.023100","min":"0.001080","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.022100","min":"0.000080","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/alibaba.search":{"post":{"description":"Search Alibaba by keyword and get up to 25 wholesale listings (title, price range, minimum order, and supplier) in one normalized response.\n\n**Price:** billed per result - \\$0.77 per 1,000 results, capped at \\$19.30 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Alibaba Search pricing and uptime](https://getanyapi.com/api/alibaba/search) - live USD price, lane routing, and measured 30-day uptime. [Every Alibaba endpoint](https://getanyapi.com/api/alibaba).","operationId":"alibaba_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"query":"bluetooth speaker"},"schema":{"additionalProperties":false,"example":{"limit":3,"query":"bluetooth speaker"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.","maximum":25,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keywords to search for on Alibaba (e.g. \"bluetooth speaker wholesale\").","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Alibaba search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Alibaba wholesale listings. Populated whenever the provider has data for the entity.","items":{"properties":{"companyId":{"description":"Alibaba supplier company identifier.","type":"string"},"countryCode":{"description":"Supplier country ISO code, e.g. \"CN\".","type":"string"},"currency":{"description":"Price currency symbol or code, e.g. \"$\".","type":"string"},"image":{"description":"Primary product image URL.","type":"string"},"images":{"description":"Product image URLs.","items":{"type":"string"},"type":"array"},"isSponsored":{"description":"True when the listing is a paid placement.","type":"boolean"},"moq":{"description":"Minimum order quantity text, e.g. \"Min. order: 1 piece\".","type":"string"},"price":{"description":"Lowest price in the displayed range, as a numeric amount; 0 when Alibaba shows no price.","type":"number"},"priceText":{"description":"Price or price range as displayed, e.g. \"$40.80-45.80\" (Alibaba lists ranges, not a single numeric value).","type":"string"},"productId":{"description":"Alibaba product identifier.","type":"string"},"promotionPrice":{"description":"Discounted promotional price when the listing is on sale; empty otherwise.","type":"string"},"rating":{"description":"Average buyer review score, 0-5; null when Alibaba shows no review score for the supplier.","type":["number","null"]},"reviewCount":{"description":"Number of buyer reviews; null when Alibaba shows no review count for the supplier.","type":["integer","null"]},"supplierName":{"description":"Supplier / company name.","type":"string"},"supplierUrl":{"description":"Supplier storefront URL on Alibaba.","type":"string"},"supplierYears":{"description":"Gold Supplier tenure text, e.g. \"3 yrs\"; empty when not a Gold Supplier.","type":"string"},"title":{"description":"Listing title as shown on Alibaba (may contain the supplier's inline markup). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical product detail page URL (tracking query params stripped). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one listing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Alibaba search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Alibaba Search","tags":["alibaba"],"x-mint":{"href":"/api-reference/alibaba/search"},"x-payment-info":{"price":{"currency":"USD","max":"0.019300","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.020300","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.019300","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/aliexpress.product":{"post":{"description":"Look up one AliExpress product by id and get its price, original price, rating, reviews count, images, options, variants with stock, specifications, store, ship-from country and delivery estimate in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [AliExpress Product pricing and uptime](https://getanyapi.com/api/aliexpress/product) - live USD price, lane routing, and measured 30-day uptime. [Every Aliexpress endpoint](https://getanyapi.com/api/aliexpress).","operationId":"aliexpress_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"productId":"3256807039224587"},"schema":{"additionalProperties":false,"example":{"productId":"3256807039224587"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"Ship-to country as a 2-letter ISO code, e.g. US or DE. It changes prices, stock and the delivery estimate.","pattern":"^[A-Z]{2}$","type":"string"},"currency":{"default":"USD","description":"Price currency as a 3-letter ISO code, e.g. USD or EUR.","pattern":"^[A-Z]{3}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"productId":{"description":"AliExpress product id, the number in the product URL (https://www.aliexpress.com/item/\u003cid\u003e.html), e.g. 3256807039224587. The AliExpress Search SKU returns it as productId.","pattern":"^[0-9]+$","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `video`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["freeShipping","returnPolicy","shippingCost","video","wishlistCount"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["productId"],"title":"AliExpress product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Product wrapper, or null when AliExpress has no product with that id.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Product detail records (one per requested product id). Populated whenever the provider has data for the entity.","items":{"properties":{"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"deliveryDaysMax":{"description":"Most days the default shipping option takes to the requested country, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"deliveryDaysMin":{"description":"Fewest days the default shipping option takes to the requested country, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"freeShipping":{"description":"True when the default shipping option to the requested country costs nothing after AliExpress's buyer promotions, or null when the serving source does not report it.","type":["boolean","null"]},"images":{"description":"Product image URLs, primary first. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"isTopRatedSeller":{"description":"True when AliExpress marks the store as a top-rated seller, or null when not reported. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"options":{"description":"The choices a buyer picks from, e.g. Color and Size, each with its values. Populated whenever the provider has data for the entity.","items":{"properties":{"name":{"description":"Option name as AliExpress shows it, e.g. \"Color\".","type":"string"},"values":{"description":"Values a buyer can pick, e.g. [\"green\", \"Purple\"].","items":{"type":"string"},"type":"array"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"originalPrice":{"description":"Price of the default variant before the current discount, or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"price":{"description":"Current price of the default variant in the requested currency (the lowest variant price when the page shows a range), or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"productId":{"description":"AliExpress product id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"quantityAvailable":{"description":"Units in stock across all variants, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average customer rating, 0-5, or null when the product is unrated. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"returnPolicy":{"description":"The returns promise AliExpress shows on the product, e.g. \"Free returns within 90 days\", or null when the serving source does not report it.","type":["string","null"]},"reviewsCount":{"description":"Number of customer reviews, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"sellerCountry":{"description":"Country the store is registered in, as AliExpress names it, e.g. \"China\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"sellerFeedbackCount":{"description":"Number of buyer feedback ratings the store has received, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"sellerFeedbackPercent":{"description":"Share of the store's buyer feedback that is positive, as a percentage, e.g. 95.9, or null when not reported. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"sellerLevel":{"description":"The store's AliExpress seller level code, e.g. \"25-s\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"sellerOpenedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. The day the store opened on AliExpress, as midnight UTC of that date; null when not reported. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"sellerScore":{"description":"The store's AliExpress feedback score, the points AliExpress shows beside the store, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"shipFrom":{"description":"Country the default shipping option ships from, as AliExpress names it, e.g. \"China\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"shippingCost":{"description":"Shipping cost of the default option to the requested country, in the requested currency, or null when not reported or the serving source does not report it in that currency. AliExpress applies buyer promotions to it, so sources can differ.","type":["number","null"]},"soldCount":{"description":"Units sold, read from AliExpress's rounded label, so \"4,000+ sold\" comes back as 4000; null when not shown.","type":["integer","null"]},"specifications":{"description":"The seller's specifications table, one name and value per row. Populated whenever the provider has data for the entity.","items":{"properties":{"name":{"description":"Attribute name as the seller lists it, e.g. \"Material\".","type":"string"},"value":{"description":"Attribute value as the seller lists it.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"storeId":{"description":"Storefront number of the store, the digits in https://www.aliexpress.com/store/\u003cid\u003e, or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"storeName":{"description":"Name of the store selling the product, or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"AliExpress product page URL with tracking query parameters removed.","type":"string"},"variants":{"description":"One entry per purchasable combination of options. Populated whenever the provider has data for the entity.","items":{"properties":{"attributes":{"description":"The option values that make up this variant, keyed by option name, e.g. {\"Color\": \"Purple\", \"Size\": \"XL\"}, or null when the serving source does not report them.","type":["object","null"]},"image":{"description":"Picture of this variant, or null when it has none or the serving source does not report it.","type":["string","null"]},"inStock":{"description":"True when this variant can be bought now, or null when not reported.","type":["boolean","null"]},"originalPrice":{"description":"Price of this variant before the current discount, or null when not reported.","type":["number","null"]},"price":{"description":"Current price of this variant, or null when the serving source does not report it.","type":["number","null"]},"quantityAvailable":{"description":"Units of this variant in stock, or null when not reported.","type":["integer","null"]},"skuId":{"description":"AliExpress id of this variant.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"video":{"description":"Product video URL (MP4), or null when the product has none or the serving source does not report it.","type":["string","null"]},"wishlistCount":{"description":"Number of shoppers who added the product to their wish list, or null when the serving source does not report it.","type":["integer","null"]}},"required":["productId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the product was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"AliExpress product output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"AliExpress Product","tags":["aliexpress"],"x-mint":{"href":"/api-reference/aliexpress/product"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/aliexpress.reviews":{"post":{"description":"Get one page of buyer reviews for an AliExpress product by id, with rating, text, buyer country, date, bought variant and photos for each review, plus the product's total reviews, average rating and star distribution, in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [AliExpress Reviews pricing and uptime](https://getanyapi.com/api/aliexpress/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every Aliexpress endpoint](https://getanyapi.com/api/aliexpress).","operationId":"aliexpress_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"productId":"3256807039224587"},"schema":{"additionalProperties":false,"example":{"productId":"3256807039224587"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based page of 20 reviews in AliExpress's default order. Each page is billed as one request.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"productId":{"description":"AliExpress product id, the number in the product URL (https://www.aliexpress.com/item/\u003cid\u003e.html), e.g. 3256807039224587. The AliExpress Search SKU returns it as productId.","pattern":"^[0-9]+$","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `helpfulVotes`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["followUpImages","followUpText","followUpUtc","helpfulVotes","unhelpfulVotes"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["productId"],"title":"AliExpress reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Reviews wrapper, or null when the product returned no reviews on this page.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Buyer review records for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"aspects":{"description":"The buyer's ratings of named aspects of the product, e.g. {\"name\": \"Durability\", \"value\": \"Poor\"}; empty when the buyer rated none.","items":{"properties":{"name":{"description":"Aspect the buyer rated, e.g. \"Durability\".","type":"string"},"value":{"description":"The buyer's rating of it, e.g. \"Poor\", or null when not reported.","type":["string","null"]}},"type":"object"},"type":"array"},"country":{"description":"2-letter ISO code of the buyer's country, e.g. \"US\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. AliExpress publishes the review date only, so this is midnight UTC of that date; null when not reported. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"followUpImages":{"description":"Photo URLs attached to the follow-up review; empty when it has none, null when the serving source does not report follow-ups.","items":{"type":"string"},"type":["array","null"]},"followUpText":{"description":"Text of the follow-up review the buyer added later, or null when there is none or the serving source does not report it.","type":["string","null"]},"followUpUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. The day the buyer added the follow-up review, as midnight UTC of that date; null when there is none or the serving source does not report it.","type":["number","null"]},"helpfulVotes":{"description":"Number of \"helpful\" votes the review received, or null when the serving source does not report it.","type":["integer","null"]},"images":{"description":"Photo URLs the buyer attached; empty when there are none. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"rating":{"description":"Star rating the buyer gave, 1-5.","type":"number"},"reviewId":{"description":"AliExpress review id; use it to deduplicate across pages. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"reviewer":{"description":"Buyer display name as AliExpress shows it, usually masked (e.g. \"A***r\") or \"AliExpress Shopper\". Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"shippingMethod":{"description":"Shipping service the buyer's order came by, as AliExpress names it, e.g. \"AliExpress Selection Standard Shipping\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"skuInfo":{"description":"The variant the buyer bought, as AliExpress prints it, e.g. \"Color:Yellow Size:XXL\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"text":{"description":"Review body text in the buyer's own language; empty when the buyer left a rating only. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"unhelpfulVotes":{"description":"Number of \"not helpful\" votes the review received, or null when the serving source does not report it.","type":["integer","null"]}},"required":["reviewId","rating","text","aspects"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"rating":{"description":"Overall product score (1-5), or null when not reported. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"ratingDistribution":{"description":"Number of reviews at each star rating, keyed \"1\" through \"5\". Populated whenever the provider has data for the entity.","properties":{"1":{"description":"Number of 1-star reviews.","type":["integer","null"]},"2":{"description":"Number of 2-star reviews.","type":["integer","null"]},"3":{"description":"Number of 3-star reviews.","type":["integer","null"]},"4":{"description":"Number of 4-star reviews.","type":["integer","null"]},"5":{"description":"Number of 5-star reviews.","type":["integer","null"]}},"type":"object","x-anyapi-must-populate":true},"totalPages":{"description":"Number of 20-review pages AliExpress reports for the product, or null when not reported.","type":["integer","null"]},"totalReviews":{"description":"Total number of reviews for the product, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one review was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"AliExpress reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"AliExpress Reviews","tags":["aliexpress"],"x-mint":{"href":"/api-reference/aliexpress/reviews"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/aliexpress.search":{"post":{"description":"Search AliExpress by keyword with optional sort, price-range, page, ship-to country and currency, and get title, price, original price, units sold and image for each product in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [AliExpress Search pricing and uptime](https://getanyapi.com/api/aliexpress/search) - live USD price, lane routing, and measured 30-day uptime. [Every Aliexpress endpoint](https://getanyapi.com/api/aliexpress).","operationId":"aliexpress_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"minecraft room projector"},"schema":{"additionalProperties":false,"example":{"query":"minecraft room projector"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"Ship-to country as a 2-letter ISO code, e.g. US or DE. It changes prices, availability and delivery estimates.","pattern":"^[A-Z]{2}$","type":"string"},"currency":{"default":"USD","description":"Price currency as a 3-letter ISO code, e.g. USD or EUR.","pattern":"^[A-Z]{3}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxPrice":{"description":"Optional maximum product price, in the requested currency.","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum product price, in the requested currency.","minimum":0,"type":"number"},"page":{"default":1,"description":"1-based results page of about 60 products; AliExpress serves no results past page 60. Each page is billed as one request.","maximum":60,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"wireless earbuds\".","maxLength":250,"minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `shipFrom`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["deliveryDaysMax","deliveryDaysMin","isChoice","listedUtc","shipFrom","storeName","totalResults"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"default":"best_match","description":"Result order: best_match (AliExpress relevance, the default), best_seller (most orders first), price_low, or price_high.","enum":["best_match","best_seller","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"AliExpress search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching AliExpress product cards for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"deliveryDaysMax":{"description":"Most days the estimated delivery to the requested country takes, or null when not reported.","type":["integer","null"]},"deliveryDaysMin":{"description":"Fewest days the estimated delivery to the requested country takes, or null when not reported.","type":["integer","null"]},"image":{"description":"Primary product image URL, or null when the card shows none. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"images":{"description":"Every product image URL the card carries, primary first; empty when the card shows none.","items":{"type":"string"},"type":"array"},"isChoice":{"description":"True when the product carries the AliExpress Choice badge, or null when the serving source does not report it.","type":["boolean","null"]},"isSponsored":{"description":"True when the card is a paid placement, or null when not reported.","type":["boolean","null"]},"listedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. The day the product was first listed, as midnight UTC of that date; null when the serving source does not report it.","type":["number","null"]},"originalPrice":{"description":"Price before the current discount, or null when the product is not discounted.","type":["number","null"]},"price":{"description":"Current price in the requested currency, or null when the card shows no price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"productId":{"description":"AliExpress product id, the number in the product URL; pass it to the AliExpress Product or AliExpress Reviews SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"rating":{"description":"Average customer rating, 0-5, or null when the product is unrated.","type":["number","null"]},"shipFrom":{"description":"2-letter ISO code of the country the product ships from, e.g. \"CN\", or null when not reported.","type":["string","null"]},"skuId":{"description":"Id of the product variant the card's price is for, or null when not reported.","type":["string","null"]},"soldCount":{"description":"Number of units sold, or null when not shown. One source reads it from AliExpress's rounded label, so \"60,000+ sold\" comes back as 60000. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"storeName":{"description":"Name of the store selling the product, or null when the card does not show it.","type":["string","null"]},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"AliExpress product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["productId","title","url","images","isSponsored"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total products AliExpress reports for the search, or null when the serving source does not report it.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"AliExpress search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"AliExpress Search","tags":["aliexpress"],"x-mint":{"href":"/api-reference/aliexpress/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.asins":{"post":{"description":"Look up to 10 Amazon products in one call by ASIN (title, brand, price, ratings, images, and attributes) as normalized JSON.\n\n**Price:** billed per asin - \\$3.30 per 1,000 asins, capped at \\$33.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Amazon Products by ASIN pricing and uptime](https://getanyapi.com/api/amazon/asins) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_asins","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"asins":["B09G9FPHY6"],"limit":3},"schema":{"additionalProperties":false,"example":{"asins":["B09G9FPHY6"],"limit":3},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"amazonDomain":{"default":"amazon.com","description":"Amazon marketplace domain to fetch products from (e.g. amazon.com, amazon.de, amazon.co.uk).","type":"string"},"asins":{"description":"Up to 10 Amazon ASINs to look up (e.g. [\"B0CHX1W1XY\", \"B09G9FPHY6\"]).","items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-10, default 10). You are billed per result returned, so a lower limit costs less.","maximum":10,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["asins"],"title":"Amazon products by ASIN input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Product records: ASIN, title, brand, price, ratings, images, and attributes. Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"attributes":{"description":"Product detail attributes as name/value pairs (dimensions, weight, model, and similar).","items":{"properties":{"name":{"description":"Attribute name.","type":"string"},"value":{"description":"Attribute value.","type":"string"}},"type":"object"},"type":"array"},"brand":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"condition":{"type":"string"},"currency":{"type":"string"},"features":{"description":"Bullet-point feature list from the listing.","items":{"type":"string"},"type":"array"},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"High-resolution product image URLs.","items":{"type":"string"},"type":"array"},"inStock":{"type":"boolean"},"price":{"description":"Buy-box price; 0 when no offer is available.","type":"number"},"rating":{"description":"Average star rating, 0-5.","type":"number"},"reviewsCount":{"type":"integer"},"sellerName":{"type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"variantAsins":{"description":"ASINs of the other variations of this product.","items":{"type":"string"},"type":"array"}},"required":["asin","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon products by ASIN output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Products by ASIN","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/asins"},"x-payment-info":{"price":{"currency":"USD","max":"0.033000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.034000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.033000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.bestsellers":{"post":{"description":"List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.\n\n**Price:** \\$1.05 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Bestsellers pricing and uptime](https://getanyapi.com/api/amazon/bestsellers) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_bestsellers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.amazon.com/gp/bestsellers/electronics"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://www.amazon.com/gp/bestsellers/electronics"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `offersCount` or `categoryName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["categoryName","offersCount"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Amazon Best Sellers category URL (e.g. https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics).","type":"string"}},"required":["url"],"title":"Amazon bestsellers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Best-sellers wrapper, or null when the category returned nothing.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Best-seller product records ordered by category rank. Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"categoryName":{"description":"Best Sellers category name the product ranks in, or null when the serving source does not publish it.","type":["string","null"]},"currency":{"description":"Price currency symbol or code, e.g. \"$\".","type":"string"},"image":{"description":"Primary product thumbnail image URL.","type":"string"},"offersCount":{"description":"Number of available offers, or null when the serving source does not publish it.","type":["integer","null"]},"price":{"description":"Listed price; 0 when no offer is available.","type":"number"},"rank":{"description":"Best-seller rank within the category (1 = top).","type":"integer"},"rating":{"description":"Average star rating, 0-5; 0 when unrated.","type":"number"},"reviewsCount":{"description":"Number of customer reviews; 0 when none.","type":"integer"},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical product detail page URL (tracking query params stripped). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","url","asin"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the category returned at least one best-seller.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon bestsellers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Bestsellers","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/bestsellers"},"x-payment-info":{"price":{"amount":"0.001050","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002050","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001050","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.deals":{"post":{"description":"List today's Amazon deals for one marketplace and get ASIN, title, deal price, list price, discount, deal type, badge and image for each deal in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Deals pricing and uptime](https://getanyapi.com/api/amazon/deals) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_deals","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"region":"amazon.com"},"schema":{"additionalProperties":false,"example":{"region":"amazon.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"region":{"description":"Amazon marketplace to read, as its domain (e.g. amazon.co.uk); omit it for amazon.com.","enum":["amazon.com","amazon.co.uk","amazon.de","amazon.fr","amazon.it","amazon.es","amazon.nl","amazon.se","amazon.pl","amazon.ca","amazon.com.mx","amazon.com.br","amazon.co.jp","amazon.in","amazon.com.au","amazon.sg","amazon.ae","amazon.sa","amazon.com.tr","amazon.eg"],"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `discountPercent`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a deal that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["badge","dealType","discountPercent","inStock","url"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":[],"title":"Amazon deals input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Deals wrapper, or null when the marketplace lists none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Today's deals in Amazon's order. Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number; pass it to the Amazon Products by ASIN or Amazon Offers SKUs. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"badge":{"description":"Deal badge text as Amazon prints it, e.g. \"Limited time deal\", or null when not shown.","type":["string","null"]},"currency":{"description":"Price currency code, e.g. \"USD\", or null when not reported.","type":["string","null"]},"dealType":{"description":"Deal kind as Amazon names it, e.g. \"BEST_DEAL\" or \"LIGHTNING_DEAL\", or null when not reported.","type":["string","null"]},"discountPercent":{"description":"Discount off the list price in percent, e.g. 31, or null when not reported.","type":["number","null"]},"image":{"description":"Primary product image URL, or null when the deal has none. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"inStock":{"description":"True when the product can be bought now, or null when not reported.","type":["boolean","null"]},"listPrice":{"description":"Price before the deal, or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"position":{"description":"1-based position of the deal in the feed.","type":"integer"},"price":{"description":"Deal price as a numeric amount, or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Product detail page URL with tracking removed, or null when not reported.","type":["string","null"]}},"required":["position","asin","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the marketplace lists at least one deal.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon deals output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Deals","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/deals"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.offers":{"post":{"description":"List every offer for one Amazon product by ASIN or product URL, the Buy Box first and then the other sellers, and get price, condition, seller name and ID, seller rating, Prime, delivery estimate and fulfillment for each in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Offers pricing and uptime](https://getanyapi.com/api/amazon/offers) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_offers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"product":"B00000IZJB"},"schema":{"additionalProperties":false,"example":{"product":"B00000IZJB"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based page of the other sellers' offers, about 10 a page; page 1 also carries the Buy Box. Each page is billed as one request.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"product":{"description":"Amazon product ASIN (e.g. B006MIWDCC) or a product link on one of the marketplaces listed under region, such as https://www.amazon.co.uk/dp/\u003cASIN\u003e, with the ASIN after /dp/, /gp/product/ or /product-reviews/. A link without an ASIN, such as a search results page (/s?k=...), or a link to another site or marketplace is refused as invalid input, with no charge.","pattern":"^(?:[A-Za-z0-9]{10}|https?://(?:www\\.)?amazon\\.(?:com|co\\.uk|de|fr|it|es|nl|se|pl|ca|com\\.mx|com\\.br|co\\.jp|in|com\\.au|sg|ae|sa|com\\.tr|eg)/(?:[^?#]*/)?(?:dp|gp/product|product-reviews)/[A-Za-z0-9]{10}(?:[/?#].*)?)$","type":"string"},"region":{"description":"Amazon marketplace the product ASIN belongs to (e.g. amazon.co.uk); a product URL sets it from its own domain.","enum":["amazon.com","amazon.co.uk","amazon.de","amazon.fr","amazon.it","amazon.es","amazon.nl","amazon.se","amazon.pl","amazon.ca","amazon.com.mx","amazon.com.br","amazon.co.jp","amazon.in","amazon.com.au","amazon.sg","amazon.ae","amazon.sa","amazon.com.tr","amazon.eg"],"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `sellerId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a offer that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["freeDelivery","fulfilledByAmazon","sellerFeedbackPercent","sellerId","sellerRating","sellerRatingCount","shipsFrom","totalResults"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["product"],"title":"Amazon offers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Offers wrapper, or null when Amazon shows no offers for the product.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"buyBox":{"description":"The offer Amazon features on the product page (the Buy Box), with the same fields as an item; every field is null when Amazon features none. Populated whenever the provider has data for the entity.","properties":{"condition":{"description":"Item condition as Amazon names it, e.g. \"New\" or \"Used - Like New\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"Price currency code, e.g. \"USD\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"delivery":{"description":"Delivery estimate as Amazon prints it, e.g. \"Thursday, October 29\" or a full \"FREE delivery ...\" line, or null when not shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"freeDelivery":{"description":"True when delivery is free, or null when not reported.","type":["boolean","null"]},"fulfilledByAmazon":{"description":"True when Amazon ships the order for the seller, or null when not reported.","type":["boolean","null"]},"isPrime":{"description":"True when the offer is Prime eligible. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"price":{"description":"Buy Box price as a numeric amount, or null when Amazon features no offer.","type":["number","null"]},"sellerFeedbackPercent":{"description":"Seller's positive feedback percentage, or null when not reported.","type":["number","null"]},"sellerId":{"description":"Amazon seller ID of the seller making the offer; pass it to the Amazon Seller SKU. Null when not reported.","type":["string","null"]},"sellerName":{"description":"Name of the seller making the offer, or null when Amazon does not name it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"sellerRating":{"description":"Seller's star rating, 0-5, or null when not reported.","type":["number","null"]},"sellerRatingCount":{"description":"Number of ratings behind the seller's star rating, or null when not reported.","type":["integer","null"]},"shipsFrom":{"description":"Who ships the order, e.g. \"Amazon\", or null when not reported.","type":["string","null"]}},"type":"object","x-anyapi-must-populate":true},"items":{"description":"The other sellers' offers on the requested page, in Amazon's order; the Buy Box offer is in buyBox. Populated whenever the provider has data for the entity.","items":{"properties":{"condition":{"description":"Item condition as Amazon names it, e.g. \"New\" or \"Used - Like New\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"Price currency code, e.g. \"USD\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"delivery":{"description":"Delivery estimate as Amazon prints it, e.g. \"Thursday, October 29\" or a full \"FREE delivery ...\" line, or null when not shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"freeDelivery":{"description":"True when delivery is free, or null when not reported.","type":["boolean","null"]},"fulfilledByAmazon":{"description":"True when Amazon ships the order for the seller, or null when not reported.","type":["boolean","null"]},"isPrime":{"description":"True when the offer is Prime eligible. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"price":{"description":"Offer price as a numeric amount. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"sellerFeedbackPercent":{"description":"Seller's positive feedback percentage, or null when not reported.","type":["number","null"]},"sellerId":{"description":"Amazon seller ID of the seller making the offer; pass it to the Amazon Seller SKU. Null when not reported.","type":["string","null"]},"sellerName":{"description":"Name of the seller making the offer, or null when Amazon does not name it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"sellerRating":{"description":"Seller's star rating, 0-5, or null when not reported.","type":["number","null"]},"sellerRatingCount":{"description":"Number of ratings behind the seller's star rating, or null when not reported.","type":["integer","null"]},"shipsFrom":{"description":"Who ships the order, e.g. \"Amazon\", or null when not reported.","type":["string","null"]}},"required":["price"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total offers Amazon lists for the product across every page, the Buy Box included, or null when not reported.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when Amazon lists at least one offer for the product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon offers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Offers","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/offers"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.product":{"post":{"description":"Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 5 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Product pricing and uptime](https://getanyapi.com/api/amazon/product) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.amazon.com/dp/B00NTCH52W"},"schema":{"additionalProperties":false,"example":{"url":"https://www.amazon.com/dp/B00NTCH52W"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `category` or `condition`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["category","condition","variantAsins"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Amazon product URL (e.g. https://www.amazon.com/dp/B0CX23V2ZK).","type":"string"}},"required":["url"],"title":"Amazon product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Product wrapper, or null when the URL resolved to no product.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Product detail records (one per requested product URL). Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"brand":{"description":"Manufacturer or brand name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"category":{"description":"Category breadcrumb path, e.g. \"Health \u0026 Household \u003e Household Supplies\".","type":"string"},"condition":{"description":"Item condition, e.g. \"New\"; empty when not reported.","type":"string"},"currency":{"description":"Price currency symbol or code, e.g. \"$\".","type":"string"},"description":{"description":"Product description text; empty when the listing has none.","type":"string"},"features":{"description":"Bullet-point feature list from the listing.","items":{"type":"string"},"type":"array"},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"High-resolution product image URLs.","items":{"type":"string"},"type":"array"},"inStock":{"description":"True when the product is purchasable.","type":"boolean"},"price":{"description":"Current buy-box price as a numeric amount; 0 when the listing has no buyable price (out of stock).","type":"number"},"rating":{"description":"Average customer star rating, 0-5; 0 when unrated.","type":"number"},"reviewsCount":{"description":"Total number of customer reviews; 0 when none.","type":"integer"},"sellerName":{"description":"Name of the seller fulfilling the buy box.","type":"string"},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical product detail page URL (tracking query params stripped). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"variantAsins":{"description":"ASINs of the other variations of this product, or null when the serving source does not publish them.","items":{"type":"string"},"type":["array","null"]}},"required":["title","url","asin"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the product was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon product output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Product","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/product"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.reviews":{"post":{"description":"Pull customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.\n\n**Price:** \\$1.30 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Reviews pricing and uptime](https://getanyapi.com/api/amazon/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"product":"B07PXGQC1Q"},"schema":{"additionalProperties":false,"example":{"limit":3,"product":"B07PXGQC1Q"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"endDate":{"description":"Only return reviews on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-06-30).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keyword":{"description":"Only return reviews whose title or text contains this keyword, case-insensitively (e.g. battery).","minLength":1,"type":"string"},"limit":{"default":50,"description":"Maximum number of results to return (1-50, default 50).","maximum":50,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"product":{"description":"Amazon product ASIN (e.g. B07CMS5Q6P) or a product link on one of the marketplaces listed under region, such as https://www.amazon.co.uk/dp/\u003cASIN\u003e, with the ASIN after /dp/, /gp/product/ or /product-reviews/. A link without an ASIN, such as a search results page (/s?k=...), or a link to another site or marketplace is refused as invalid input, with no charge.","pattern":"^(?:[A-Za-z0-9]{10}|https?://(?:www\\.)?amazon\\.(?:com|ca|de|fr|co\\.uk|it|es|com\\.au|co\\.jp|com\\.br|com\\.mx|nl|ie|se|com\\.tr|ae|sg|sa|pl|com\\.be|eg|in)/(?:[^?#]*/)?(?:dp|gp/product|product-reviews)/[A-Za-z0-9]{10}(?:[/?#].*)?)$","type":"string"},"ratings":{"description":"Only return reviews whose star rating is in this set (e.g. [\"5\", \"4\"] for 4 and 5 star reviews); omit for all ratings.","items":{"enum":["1","2","3","4","5"],"type":"string"},"type":"array"},"region":{"description":"Amazon marketplace domain the product ASIN belongs to (e.g. amazon.co.uk).","enum":["amazon.com","amazon.ca","amazon.de","amazon.fr","amazon.co.uk","amazon.it","amazon.es","amazon.com.au","amazon.co.jp","amazon.com.br","amazon.com.mx","amazon.nl","amazon.ie","amazon.se","amazon.com.tr","amazon.ae","amazon.sg","amazon.sa","amazon.pl","amazon.com.be","amazon.eg","amazon.in"],"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `url`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["url"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"description":"Review sort order: most helpful first or most recent first (e.g. recent).","enum":["helpful","recent"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Only return reviews on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"verifiedOnly":{"description":"Set true to return only verified-purchase reviews (e.g. true).","type":"boolean"}},"required":["product"],"title":"Amazon reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Reviews wrapper, or null when the product returned no reviews.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Customer review records. Populated whenever the provider has data for the entity.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. 0 when the review date is not reported in a parseable form.","type":"number"},"helpfulVotes":{"description":"Number of \"helpful\" votes the review received; 0 when none.","type":"integer"},"rating":{"description":"Star rating the reviewer gave, 1-5; 0 when not reported.","type":"number"},"reviewer":{"description":"Reviewer display name; empty when withheld.","type":"string"},"text":{"description":"Full review body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Review headline / title; empty when the review has none.","type":"string"},"url":{"description":"Public Amazon page for this review, when supplied by the serving lane.","format":"uri","type":"string"},"verifiedPurchase":{"description":"True when Amazon marks the review a verified purchase.","type":"boolean"}},"required":["rating","text"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one review was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Reviews","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/reviews"},"x-payment-info":{"price":{"amount":"0.001300","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002300","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001300","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.search":{"post":{"description":"Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.\n\n**Price:** \\$0.75 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Search pricing and uptime](https://getanyapi.com/api/amazon/search) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.amazon.com/s?k=laptop"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://www.amazon.com/s?k=laptop"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Amazon search or category URL. For U.S. URLs, include page to select an Amazon results page; limit caps that page. Supported keyword, category, price, brand, rating and Prime selectors and standard Amazon sort orders are preserved. Unsupported selectors are rejected.","type":"string"}},"required":["url"],"title":"Amazon search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Amazon product records. Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number; use it with the Amazon Products by ASIN SKU for full detail. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"currency":{"description":"Price currency symbol or code, e.g. \"$\".","type":"string"},"image":{"description":"Primary product thumbnail image URL.","type":"string"},"isSponsored":{"description":"True when the result is a sponsored placement.","type":"boolean"},"listPrice":{"description":"Pre-discount list price when on sale, or null when the product is not discounted or the serving source does not publish it.","type":["number","null"]},"offersCount":{"description":"Number of available offers, or null when the serving source does not publish it.","type":["integer","null"]},"position":{"description":"1-based position of the result on the search page.","type":"integer"},"price":{"description":"Current price as a numeric amount, or null when the result shows no current price (no offer, or only a secondary offer).","type":["number","null"]},"rating":{"description":"Average star rating, 0-5, or null when the product is unrated.","type":["number","null"]},"reviewsCount":{"description":"Number of customer reviews, or null when the product has none.","type":["integer","null"]},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical product detail page URL.","type":"string"}},"required":["title","asin"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Search","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/search"},"x-payment-info":{"price":{"amount":"0.000750","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001750","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000750","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.seller":{"post":{"description":"Look up one Amazon seller by seller ID and get its name, star rating, positive feedback percentage, feedback counts for the last 30 days, 90 days, 12 months and lifetime, and its registered business name and address in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Seller pricing and uptime](https://getanyapi.com/api/amazon/seller) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_seller","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"sellerId":"A11V4PRB7HXYNG"},"schema":{"additionalProperties":false,"example":{"sellerId":"A11V4PRB7HXYNG"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"region":{"description":"Amazon marketplace to read, as its domain (e.g. amazon.co.uk); omit it for amazon.com.","enum":["amazon.com","amazon.co.uk","amazon.de","amazon.fr","amazon.it","amazon.es","amazon.nl","amazon.se","amazon.pl","amazon.ca","amazon.com.mx","amazon.com.br","amazon.co.jp","amazon.in","amazon.com.au","amazon.sg","amazon.ae","amazon.sa","amazon.com.tr","amazon.eg"],"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `businessName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a seller that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["businessAddress","businessName","feedbackCount","feedbackCountLast12Months","feedbackCountLast30Days","feedbackCountLast90Days","url"],"type":"string"},"type":"array","uniqueItems":true},"sellerId":{"description":"Amazon seller ID, the value after seller= in a seller page URL (https://www.amazon.com/sp?seller=\u003cid\u003e), e.g. A11V4PRB7HXYNG.","pattern":"^[A-Z0-9]{10,20}$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["sellerId"],"title":"Amazon seller input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Seller wrapper, or null when Amazon has no such seller.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Seller profile records (one per requested seller ID). Populated whenever the provider has data for the entity.","items":{"properties":{"businessAddress":{"description":"Registered business address from the Detailed Seller Information section, or null when the seller page does not show one.","type":["string","null"]},"businessName":{"description":"Registered business name from the Detailed Seller Information section, or null when the seller page does not show one.","type":["string","null"]},"feedbackCount":{"description":"Lifetime number of seller feedback ratings, or null when not reported.","type":["integer","null"]},"feedbackCountLast12Months":{"description":"Seller feedback ratings received in the last 12 months, or null when not reported.","type":["integer","null"]},"feedbackCountLast30Days":{"description":"Seller feedback ratings received in the last 30 days, or null when not reported.","type":["integer","null"]},"feedbackCountLast90Days":{"description":"Seller feedback ratings received in the last 90 days, or null when not reported.","type":["integer","null"]},"name":{"description":"Seller display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"positiveFeedbackPercent":{"description":"Positive feedback percentage shown at the top of the seller page (the last 12 months, or lifetime when the seller has no ratings in that window), or null when the seller has no ratings. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"rating":{"description":"Seller star rating, 0-5, as shown at the top of the seller page, or null when the seller has no ratings. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"sellerId":{"description":"Amazon seller ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Seller profile page URL (https://www.amazon.\u003cdomain\u003e/sp?seller=\u003cid\u003e), or null when not reported.","type":["string","null"]}},"required":["sellerId","name"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when Amazon has a seller with that ID in the requested marketplace.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon seller output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Seller","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/seller"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/amazon.seller_products":{"post":{"description":"List one Amazon seller's storefront by seller ID, a page at a time, and get ASIN, title, price, list price, rating, reviews count, image, coupon and sponsored, Prime, best seller and Amazon's Choice flags for each product in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Amazon Seller Products pricing and uptime](https://getanyapi.com/api/amazon/seller-products) - live USD price, lane routing, and measured 30-day uptime. [Every Amazon endpoint](https://getanyapi.com/api/amazon).","operationId":"amazon_seller_products","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"sellerId":"A1AU32JJ4K70WE"},"schema":{"additionalProperties":false,"example":{"sellerId":"A1AU32JJ4K70WE"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based page of the seller's storefront. Each page is billed as one request.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"region":{"description":"Amazon marketplace to read, as its domain (e.g. amazon.co.uk); omit it for amazon.com.","enum":["amazon.com","amazon.co.uk","amazon.de","amazon.fr","amazon.it","amazon.es","amazon.nl","amazon.se","amazon.pl","amazon.ca","amazon.com.mx","amazon.com.br","amazon.co.jp","amazon.in","amazon.com.au","amazon.sg","amazon.ae","amazon.sa","amazon.com.tr","amazon.eg"],"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `listPrice`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["availability","boughtPastMonth","inStock","isAmazonsChoice","isBestSeller","isPrime","listPrice","totalResults","url"],"type":"string"},"type":"array","uniqueItems":true},"sellerId":{"description":"Amazon seller ID, the value after seller= in a seller page URL (https://www.amazon.com/sp?seller=\u003cid\u003e), e.g. A11V4PRB7HXYNG.","pattern":"^[A-Z0-9]{10,20}$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["sellerId"],"title":"Amazon seller products input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Products wrapper, or null when the seller lists nothing on that page.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The seller's products on the requested page, in Amazon's storefront order. Populated whenever the provider has data for the entity.","items":{"properties":{"asin":{"description":"Amazon Standard Identification Number; pass it to the Amazon Products by ASIN or Amazon Offers SKUs. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"availability":{"description":"Stock note as Amazon prints it, e.g. \"Only 4 left in stock - order soon.\", or null when not shown.","type":["string","null"]},"boughtPastMonth":{"description":"Recent purchase volume as Amazon prints it, e.g. \"100+ bought in past month\", or null when not shown.","type":["string","null"]},"coupon":{"description":"Coupon text Amazon shows on the product, e.g. \"5% off coupon applied\", or null when there is none.","type":["string","null"]},"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"image":{"description":"Primary product thumbnail image URL, or null when the product has none. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"inStock":{"description":"True when the product can be bought now.","type":["boolean","null"]},"isAmazonsChoice":{"description":"True when the product carries the Amazon's Choice badge.","type":["boolean","null"]},"isBestSeller":{"description":"True when the product carries the Best Seller badge.","type":["boolean","null"]},"isPrime":{"description":"True when the product carries the Prime badge.","type":["boolean","null"]},"isSponsored":{"description":"True when the result is a sponsored placement. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"listPrice":{"description":"Pre-discount list price when on sale, or null when the product is not discounted.","type":["number","null"]},"position":{"description":"1-based position of the product on the page.","type":"integer"},"price":{"description":"Current price as a numeric amount, or null when the product shows no price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average star rating, 0-5, or null when the product is unrated. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"reviewsCount":{"description":"Number of customer ratings, or null when the product has none. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Product detail page URL with tracking removed, or null when not reported.","type":["string","null"]}},"required":["position","asin","title","isSponsored"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total products in the seller's storefront, or null when not reported.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the seller has at least one product on the requested page.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Amazon seller products output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Amazon Seller Products","tags":["amazon"],"x-mint":{"href":"/api-reference/amazon/seller-products"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/apollo.organization":{"post":{"description":"Temporarily disabled. Get a complete organization profile by ID including company, industry, employee, monthly headcount flow, revenue, funding rounds, ownership, location, and technology data.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organization","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"organizationId":"5fc8de5191bd9400bfc52051"},"schema":{"additionalProperties":false,"example":{"organizationId":"5fc8de5191bd9400bfc52051"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"organizationId":{"description":"Organization identifier returned by an Apollo organization endpoint.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["organizationId"],"title":"Apollo Organization input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"alexaRanking":{"description":"Alexa global traffic rank of the organization website.","type":["integer","null"]},"angellistUrl":{"description":"Canonical AngelList profile URL.","format":"uri","type":["string","null"]},"annualRevenue":{"description":"Estimated annual revenue in USD.","minimum":0,"type":["number","null"]},"annualRevenueDisplay":{"description":"Human-readable estimated annual revenue.","type":["string","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"crunchbaseUrl":{"description":"Canonical Crunchbase profile URL.","format":"uri","type":["string","null"]},"description":{"description":"Organization summary.","type":["string","null"]},"domain":{"description":"Primary organization domain.","type":["string","null"]},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":["integer","null"]},"employeeMetrics":{"description":"Monthly headcount flow per department.","items":{"properties":{"departments":{"description":"Headcount flow per department in the month.","items":{"properties":{"churned":{"description":"People who left the department in the month.","minimum":0,"type":"integer"},"department":{"description":"Apollo department name. Absent on the row Apollo does not attribute to a department.","type":"string"},"new":{"description":"People who joined the department in the month.","minimum":0,"type":"integer"},"retained":{"description":"People who stayed in the department through the month.","minimum":0,"type":"integer"}},"type":"object"},"type":["array","null"]},"startUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"}},"type":"object"},"type":["array","null"]},"facebookUrl":{"description":"Canonical Facebook page URL.","format":"uri","type":["string","null"]},"foundedYear":{"description":"Year the organization was founded.","type":["integer","null"]},"fundingEvents":{"description":"Funding rounds Apollo records for the organization.","items":{"properties":{"amountDisplay":{"description":"Amount raised in this round as Apollo displays it, such as 100M.","type":"string"},"currency":{"description":"Currency symbol of the amount, such as $.","type":"string"},"detectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Funding round identifier.","type":"string"},"investors":{"description":"Investors in this round as one comma-separated string, exactly as Apollo returns it. A single investor name can itself contain a comma.","type":"string"},"newsUrl":{"description":"Article reporting the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"type":{"description":"Funding round type, such as Series D.","type":"string"}},"type":"object"},"type":["array","null"]},"id":{"description":"Stable organization identifier.","type":["string","null"]},"image":{"description":"Organization logo URL.","format":"uri","type":["string","null"]},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary industry.","type":["string","null"]},"industryTagId":{"description":"Apollo industry tag identifier of the primary industry, accepted by apollo.organizations_search industryIds.","type":["string","null"]},"industryTagIds":{"additionalProperties":{"type":"string"},"description":"Apollo industry tag identifier for each industry, keyed by industry name. The identifiers are accepted by apollo.organizations_search industryIds.","type":["object","null"]},"keywords":{"description":"Keywords associated with the organization.","items":{"type":"string"},"type":["array","null"]},"languages":{"description":"Languages the organization operates in.","items":{"type":"string"},"type":["array","null"]},"latestFundingDetectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"latestFundingStage":{"description":"Latest disclosed funding stage.","type":["string","null"]},"latestFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"linkedinId":{"description":"Organization LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","format":"uri","type":["string","null"]},"naicsCodes":{"description":"NAICS industry codes.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":["string","null"]},"orgChartRootPersonIds":{"description":"Apollo person identifiers at the top of the organization's org chart, accepted by apollo.person_enrich personId.","items":{"type":"string"},"type":["array","null"]},"parentOrganizationId":{"description":"Identifier of the organization that owns this one.","type":["string","null"]},"parentOrganizationName":{"description":"Name of the organization that owns this one.","type":["string","null"]},"parentOrganizationWebsiteUrl":{"description":"Website URL of the organization that owns this one.","format":"uri","type":["string","null"]},"phone":{"description":"Organization phone number in international format.","type":["string","null"]},"postalCode":{"description":"Headquarters postal code.","type":["string","null"]},"publiclyTradedExchange":{"description":"Exchange the company lists on, such as nyse.","type":["string","null"]},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"rawAddress":{"description":"Headquarters address as one display string.","type":["string","null"]},"retailLocationCount":{"description":"Number of retail locations Apollo records for the organization.","minimum":0,"type":["integer","null"]},"sanitizedPhone":{"description":"Organization phone number in international E.164 form, such as +14152985539.","type":["string","null"]},"secondaryIndustries":{"description":"Industries associated with the organization besides the primary industry.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC industry codes.","items":{"type":"string"},"type":["array","null"]},"state":{"description":"Headquarters state or region.","type":["string","null"]},"streetAddress":{"description":"Street address.","type":["string","null"]},"suborganizationCount":{"description":"Number of related organizations Apollo lists under this one.","minimum":0,"type":["integer","null"]},"suborganizations":{"description":"Related organizations Apollo lists under this one, usually subsidiaries or acquisitions.","items":{"properties":{"country":{"description":"Headquarters country.","type":"string"},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":"integer"},"id":{"description":"Organization identifier.","type":"string"},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":"string"},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":"string"}},"type":"object"},"type":["array","null"]},"technologies":{"description":"Technologies detected at the organization, with their category.","items":{"properties":{"category":{"description":"Technology category.","type":"string"},"id":{"description":"Technology identifier, accepted by the technologySlug filters of apollo.organizations_search and apollo.people_search.","type":"string"},"name":{"description":"Technology name.","type":"string"}},"type":"object"},"type":["array","null"]},"technologyNames":{"description":"Technologies detected at the organization.","items":{"type":"string"},"type":["array","null"]},"totalFunding":{"description":"Total disclosed funding in USD.","minimum":0,"type":["number","null"]},"totalFundingDisplay":{"description":"Human-readable total disclosed funding.","type":["string","null"]},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":["string","null"]},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":["string","null"]}},"required":["id","name"],"type":"object"}]},"found":{"description":"Whether a matching organization was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Organization output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Organization","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organization"}}},"/v1/run/apollo.organization_enrich":{"post":{"description":"Temporarily disabled. Enrich an organization by domain, optionally with its LinkedIn URL, website, or name, with company profile, industry, headcount growth, department headcount, revenue, funding rounds, location, and technology data.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organization_enrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"apollo.io"},"schema":{"additionalProperties":false,"example":{"domain":"apollo.io"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Organization domain without a path, such as apollo.io.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, which Apollo also matches on.","format":"uri","type":"string"},"name":{"description":"Organization name, which improves match accuracy.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"website":{"description":"Full website URL, which Apollo also matches on.","minLength":1,"type":"string"}},"required":["domain"],"title":"Apollo Organization Enrichment input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"alexaRanking":{"description":"Alexa global traffic rank of the organization website.","type":["integer","null"]},"angellistUrl":{"description":"Canonical AngelList profile URL.","format":"uri","type":["string","null"]},"annualRevenue":{"description":"Estimated annual revenue in USD.","minimum":0,"type":["number","null"]},"annualRevenueDisplay":{"description":"Human-readable estimated annual revenue.","type":["string","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"crunchbaseUrl":{"description":"Canonical Crunchbase profile URL.","format":"uri","type":["string","null"]},"description":{"description":"Organization summary.","type":["string","null"]},"domain":{"description":"Primary organization domain.","type":["string","null"]},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":["integer","null"]},"employeeGrowth":{"description":"Headcount change over trailing windows, in percent.","properties":{"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent24m":{"description":"Percent change over the last twenty-four months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"facebookUrl":{"description":"Canonical Facebook page URL.","format":"uri","type":["string","null"]},"foundedYear":{"description":"Year the organization was founded.","type":["integer","null"]},"fundingEvents":{"description":"Funding rounds Apollo records for the organization.","items":{"properties":{"amountDisplay":{"description":"Amount raised in this round as Apollo displays it, such as 100M.","type":"string"},"currency":{"description":"Currency symbol of the amount, such as $.","type":"string"},"detectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Funding round identifier.","type":"string"},"investors":{"description":"Investors in this round as one comma-separated string, exactly as Apollo returns it. A single investor name can itself contain a comma.","type":"string"},"newsUrl":{"description":"Article reporting the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"type":{"description":"Funding round type, such as Series D.","type":"string"}},"type":"object"},"type":["array","null"]},"headcountByRole":{"additionalProperties":{"type":"number"},"description":"Employee count per department, keyed by Apollo department name.","type":["object","null"]},"id":{"description":"Stable organization identifier.","type":["string","null"]},"image":{"description":"Organization logo URL.","format":"uri","type":["string","null"]},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary industry.","type":["string","null"]},"industryTagId":{"description":"Apollo industry tag identifier of the primary industry, accepted by apollo.organizations_search industryIds.","type":["string","null"]},"industryTagIds":{"additionalProperties":{"type":"string"},"description":"Apollo industry tag identifier for each industry, keyed by industry name. The identifiers are accepted by apollo.organizations_search industryIds.","type":["object","null"]},"keywords":{"description":"Keywords associated with the organization.","items":{"type":"string"},"type":["array","null"]},"languages":{"description":"Languages the organization operates in.","items":{"type":"string"},"type":["array","null"]},"latestFundingDetectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"latestFundingStage":{"description":"Latest disclosed funding stage.","type":["string","null"]},"latestFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"linkedinId":{"description":"Organization LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","format":"uri","type":["string","null"]},"naicsCodes":{"description":"NAICS industry codes.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":["string","null"]},"orgChartRootPersonIds":{"description":"Apollo person identifiers at the top of the organization's org chart, accepted by apollo.person_enrich personId.","items":{"type":"string"},"type":["array","null"]},"parentOrganizationId":{"description":"Identifier of the organization that owns this one.","type":["string","null"]},"phone":{"description":"Organization phone number in international format.","type":["string","null"]},"postalCode":{"description":"Headquarters postal code.","type":["string","null"]},"publiclyTradedExchange":{"description":"Exchange the company lists on, such as nyse.","type":["string","null"]},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"rawAddress":{"description":"Headquarters address as one display string.","type":["string","null"]},"retailLocationCount":{"description":"Number of retail locations Apollo records for the organization.","minimum":0,"type":["integer","null"]},"sanitizedPhone":{"description":"Organization phone number in international E.164 form, such as +14152985539.","type":["string","null"]},"secondaryIndustries":{"description":"Industries associated with the organization besides the primary industry.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC industry codes.","items":{"type":"string"},"type":["array","null"]},"state":{"description":"Headquarters state or region.","type":["string","null"]},"streetAddress":{"description":"Street address.","type":["string","null"]},"suborganizationCount":{"description":"Number of related organizations Apollo lists under this one.","minimum":0,"type":["integer","null"]},"suborganizations":{"description":"Related organizations Apollo lists under this one, usually subsidiaries or acquisitions.","items":{"properties":{"country":{"description":"Headquarters country.","type":"string"},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":"integer"},"id":{"description":"Organization identifier.","type":"string"},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":"string"},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":"string"}},"type":"object"},"type":["array","null"]},"technologies":{"description":"Technologies detected at the organization, with their category.","items":{"properties":{"category":{"description":"Technology category.","type":"string"},"id":{"description":"Technology identifier, accepted by the technologySlug filters of apollo.organizations_search and apollo.people_search.","type":"string"},"name":{"description":"Technology name.","type":"string"}},"type":"object"},"type":["array","null"]},"technologyNames":{"description":"Technologies detected at the organization.","items":{"type":"string"},"type":["array","null"]},"totalFunding":{"description":"Total disclosed funding in USD.","minimum":0,"type":["number","null"]},"totalFundingDisplay":{"description":"Human-readable total disclosed funding.","type":["string","null"]},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":["string","null"]},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":["string","null"]}},"required":["id","name"],"type":"object"}]},"found":{"description":"Whether a matching organization was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Organization Enrichment output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Organization Enrichment","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organization-enrich"}}},"/v1/run/apollo.organization_jobs":{"post":{"description":"Temporarily disabled. Get current job postings for an organization by ID with title, location, source URL, and timestamps, one page at a time.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organization_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"organizationId":"5e66b6381e05b4008c8331b8"},"schema":{"additionalProperties":false,"example":{"organizationId":"5e66b6381e05b4008c8331b8"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum job postings returned on this page.","minimum":1,"type":"integer"},"organizationId":{"description":"Organization identifier returned by an Apollo organization endpoint.","minLength":1,"type":"string"},"page":{"default":1,"description":"One-based result page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["organizationId"],"title":"Apollo Organization Jobs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"jobs":{"description":"Current job postings.","items":{"properties":{"city":{"description":"Job city.","type":["string","null"]},"country":{"description":"Job country.","type":["string","null"]},"id":{"description":"Stable job posting identifier.","type":["string","null"]},"lastSeenUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"postedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"state":{"description":"Job state or region.","type":["string","null"]},"title":{"description":"Job title.","type":["string","null"]},"url":{"description":"Canonical job posting URL.","format":"uri","type":["string","null"]}},"required":["id","title","url"],"type":"object"},"type":"array"},"limit":{"description":"Page size returned.","minimum":0,"type":"integer"},"page":{"description":"One-based page returned.","minimum":1,"type":"integer"},"total":{"description":"Total current job postings.","minimum":0,"type":"integer"},"totalPages":{"description":"Total available pages.","minimum":0,"type":"integer"}},"required":["jobs","page","limit","total","totalPages"],"type":"object"}]},"found":{"description":"Whether any current job postings were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Organization Jobs output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Organization Jobs","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organization-jobs"}}},"/v1/run/apollo.organization_news":{"post":{"description":"Temporarily disabled. Search news related to one or more organizations, optionally by category and publish date range, with article details, categories, and pagination totals.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organization_news","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"organizationIds":["5e66b6381e05b4008c8331b8"],"page":1},"schema":{"additionalProperties":false,"example":{"limit":3,"organizationIds":["5e66b6381e05b4008c8331b8"],"page":1},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"categories":{"description":"News categories or sub-categories to match, such as hires, investment or contract.","items":{"minLength":1,"type":"string"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keywords":{"description":"Optional keywords to match in related articles.","minLength":1,"type":"string"},"limit":{"default":25,"description":"Maximum articles returned on this page.","maximum":100,"minimum":1,"type":"integer"},"organizationIds":{"description":"Organization identifiers whose related news should be returned.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array","uniqueItems":true},"page":{"default":1,"description":"One-based result page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"publishedAtGte":{"description":"Only articles published on or after this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"publishedAtLte":{"description":"Only articles published on or before this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["organizationIds"],"title":"Apollo Organization News input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"articles":{"description":"Related news articles on this page.","items":{"properties":{"domain":{"description":"Publishing domain.","type":["string","null"]},"eventCategories":{"description":"Detected business event categories.","items":{"type":"string"},"type":["array","null"]},"id":{"description":"Stable article identifier.","type":["string","null"]},"organizationIds":{"description":"Organization identifiers associated with the article.","items":{"type":"string"},"type":["array","null"]},"publishedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"snippet":{"description":"Article summary or excerpt.","type":["string","null"]},"title":{"description":"Article title.","type":["string","null"]},"url":{"description":"Canonical article URL.","format":"uri","type":["string","null"]}},"required":["id","title","url"],"type":"object"},"type":"array"},"limit":{"description":"Page size returned.","minimum":0,"type":"integer"},"page":{"description":"One-based page returned.","minimum":1,"type":"integer"},"total":{"description":"Total matching articles.","minimum":0,"type":"integer"},"totalPages":{"description":"Total available pages.","minimum":0,"type":"integer"}},"required":["articles","page","limit","total","totalPages"],"type":"object"}]},"found":{"description":"Whether any related articles were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Organization News output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Organization News","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organization-news"}}},"/v1/run/apollo.organizations_bulk_enrich":{"post":{"description":"Temporarily disabled. Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue, and location data. Priced per request rather than per domain, so a full batch of 10 costs the same as a batch of 1. Results are positionally aligned with the domains you send, and a domain with no match returns null in its slot.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organizations_bulk_enrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domains":["apollo.io","openai.com"]},"schema":{"additionalProperties":false,"example":{"domains":["apollo.io","openai.com"]},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domains":{"description":"Organization domains to enrich, with at most 10 domains per request.","items":{"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"type":"array","uniqueItems":true},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["domains"],"title":"Apollo Bulk Organization Enrichment input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"enriched":{"description":"Number of uniquely enriched organizations.","minimum":0,"type":"integer"},"missing":{"description":"Number of requested domains without a match.","minimum":0,"type":"integer"},"organizations":{"description":"Enriched organizations, positionally aligned with the requested domains: index i of this array is the result for index i of the domains input, and the array is always the same length as that input. An entry is null when the domain had no match, so a partial batch still returns every domain it did resolve.","items":{"description":"The enriched organization for the domain at this index, or null when that domain had no match.","properties":{"alexaRanking":{"description":"Alexa global traffic rank of the organization website.","type":["integer","null"]},"angellistUrl":{"description":"Canonical AngelList profile URL.","format":"uri","type":["string","null"]},"annualRevenue":{"description":"Estimated annual revenue in USD.","minimum":0,"type":["number","null"]},"annualRevenueDisplay":{"description":"Human-readable estimated annual revenue.","type":["string","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"crunchbaseUrl":{"description":"Canonical Crunchbase profile URL.","format":"uri","type":["string","null"]},"description":{"description":"Organization summary.","type":["string","null"]},"domain":{"description":"Primary organization domain.","type":["string","null"]},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":["integer","null"]},"employeeGrowth":{"description":"Headcount change over trailing windows, in percent.","properties":{"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent24m":{"description":"Percent change over the last twenty-four months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"facebookUrl":{"description":"Canonical Facebook page URL.","format":"uri","type":["string","null"]},"foundedYear":{"description":"Year the organization was founded.","type":["integer","null"]},"fundingEvents":{"description":"Funding rounds Apollo records for the organization.","items":{"properties":{"amountDisplay":{"description":"Amount raised in this round as Apollo displays it, such as 100M.","type":"string"},"currency":{"description":"Currency symbol of the amount, such as $.","type":"string"},"detectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Funding round identifier.","type":"string"},"investors":{"description":"Investors in this round as one comma-separated string, exactly as Apollo returns it. A single investor name can itself contain a comma.","type":"string"},"newsUrl":{"description":"Article reporting the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"type":{"description":"Funding round type, such as Series D.","type":"string"}},"type":"object"},"type":["array","null"]},"headcountByRole":{"additionalProperties":{"type":"number"},"description":"Employee count per department, keyed by Apollo department name.","type":["object","null"]},"id":{"description":"Stable organization identifier.","type":["string","null"]},"image":{"description":"Organization logo URL.","format":"uri","type":["string","null"]},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary industry.","type":["string","null"]},"industryTagId":{"description":"Apollo industry tag identifier of the primary industry, accepted by apollo.organizations_search industryIds.","type":["string","null"]},"industryTagIds":{"additionalProperties":{"type":"string"},"description":"Apollo industry tag identifier for each industry, keyed by industry name. The identifiers are accepted by apollo.organizations_search industryIds.","type":["object","null"]},"keywords":{"description":"Keywords associated with the organization.","items":{"type":"string"},"type":["array","null"]},"languages":{"description":"Languages the organization operates in.","items":{"type":"string"},"type":["array","null"]},"latestFundingDetectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"latestFundingStage":{"description":"Latest disclosed funding stage.","type":["string","null"]},"latestFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"linkedinId":{"description":"Organization LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","format":"uri","type":["string","null"]},"naicsCodes":{"description":"NAICS industry codes.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":["string","null"]},"ownershipChainIds":{"description":"Identifiers of the organizations in this organization's ownership chain.","items":{"type":"string"},"type":["array","null"]},"parentOrganizationId":{"description":"Identifier of the organization that owns this one.","type":["string","null"]},"parentOrganizationName":{"description":"Name of the organization that owns this one.","type":["string","null"]},"parentOrganizationWebsiteUrl":{"description":"Website URL of the organization that owns this one.","format":"uri","type":["string","null"]},"phone":{"description":"Organization phone number in international format.","type":["string","null"]},"postalCode":{"description":"Headquarters postal code.","type":["string","null"]},"publiclyTradedExchange":{"description":"Exchange the company lists on, such as nyse.","type":["string","null"]},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"rawAddress":{"description":"Headquarters address as one display string.","type":["string","null"]},"retailLocationCount":{"description":"Number of retail locations Apollo records for the organization.","minimum":0,"type":["integer","null"]},"sanitizedPhone":{"description":"Organization phone number in international E.164 form, such as +14152985539.","type":["string","null"]},"secondaryIndustries":{"description":"Industries associated with the organization besides the primary industry.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC industry codes.","items":{"type":"string"},"type":["array","null"]},"state":{"description":"Headquarters state or region.","type":["string","null"]},"streetAddress":{"description":"Street address.","type":["string","null"]},"suborganizationCount":{"description":"Number of related organizations Apollo lists under this one.","minimum":0,"type":["integer","null"]},"subsidiaryCountries":{"description":"Countries Apollo rolls up across the organization's corporate family.","items":{"type":"string"},"type":["array","null"]},"subsidiaryEmployeeCount":{"description":"Estimated employee count Apollo rolls up across the organization's corporate family.","minimum":0,"type":["integer","null"]},"subsidiaryIndustries":{"description":"Industries Apollo rolls up across the organization's corporate family.","items":{"type":"string"},"type":["array","null"]},"totalFunding":{"description":"Total disclosed funding in USD.","minimum":0,"type":["number","null"]},"totalFundingDisplay":{"description":"Human-readable total disclosed funding.","type":["string","null"]},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":["string","null"]},"ultimateParentOrganizationId":{"description":"Identifier of the top organization in this organization's ownership chain.","type":["string","null"]},"ultimateParentOrganizationName":{"description":"Name of the top organization in this organization's ownership chain.","type":["string","null"]},"ultimateParentOrganizationWebsiteUrl":{"description":"Website URL of the top organization in this organization's ownership chain.","format":"uri","type":["string","null"]},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":["string","null"]}},"required":["id","name"],"type":["object","null"]},"type":"array"},"requested":{"description":"Number of requested domains.","minimum":0,"type":"integer"}},"required":["organizations","requested","enriched","missing"],"type":"object"}]},"found":{"description":"Whether any requested organization was enriched. False when no requested domain matched, in which case data is null.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Bulk Organization Enrichment output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Bulk Organization Enrichment","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organizations-bulk-enrich"}}},"/v1/run/apollo.organizations_search":{"post":{"description":"Temporarily disabled. Search organizations by location, employee range, industry, keywords, domain, name, revenue, funding, technology, hiring activity, headcount growth, or lookalike seeds, with normalized company records and pagination totals.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_organizations_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"keywords":"Apollo","limit":3,"page":1},"schema":{"additionalProperties":false,"example":{"keywords":"Apollo","limit":3,"page":1},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domains":{"description":"Organization domains to match, without www, at most 1000.","items":{"minLength":1,"type":"string"},"maxItems":1000,"type":"array"},"employeeRanges":{"description":"Employee-count ranges in Apollo notation, such as 51,200.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeDomains":{"description":"Exclude organizations matching any of these domains. Every domain Apollo holds for that organization is excluded.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeLocations":{"description":"Headquarters locations to exclude, such as ireland.","items":{"minLength":1,"type":"string"},"type":"array"},"headcountGrowthMonths":{"description":"Trailing window in months for the headcount growth filter. Takes effect only together with minHeadcountGrowthPercent or maxHeadcountGrowthPercent.","enum":[6,12,24],"type":"integer"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"industryIds":{"description":"Apollo industry tag identifiers to match.","items":{"minLength":1,"type":"string"},"type":"array"},"jobPostedAtGte":{"description":"Only organizations with a job posted on or after this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"jobPostedAtLte":{"description":"Only organizations with a job posted on or before this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"jobPostingLocations":{"description":"Locations of the organization's active job postings, such as japan.","items":{"minLength":1,"type":"string"},"type":"array"},"jobPostingTitles":{"description":"Job titles listed in the organization's active job postings, such as sales manager.","items":{"minLength":1,"type":"string"},"type":"array"},"keywordTags":{"description":"Keywords associated with the organization, such as mining or consulting.","items":{"minLength":1,"type":"string"},"type":"array"},"keywords":{"description":"Keywords to match across organization records.","minLength":1,"type":"string"},"lastFundingRoundDateGte":{"description":"Only organizations whose most recent funding round is on or after this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"lastFundingRoundDateLte":{"description":"Only organizations whose most recent funding round is on or before this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"limit":{"default":25,"description":"Maximum organizations returned on this page.","maximum":100,"minimum":1,"type":"integer"},"locations":{"description":"Headquarters locations to match.","items":{"minLength":1,"type":"string"},"type":"array"},"lookalikeOrganizationIds":{"description":"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.","items":{"minLength":1,"type":"string"},"maxItems":5,"type":"array"},"maxFundingUsd":{"description":"Maximum total funding across all rounds, in whole USD.","type":"integer"},"maxHeadcountGrowthPercent":{"description":"Maximum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 100 for 100%.","type":"integer"},"maxJobs":{"description":"Maximum number of active job postings at the organization.","type":"integer"},"maxLatestFundingUsd":{"description":"Maximum amount raised in the most recent funding round, in whole USD.","type":"integer"},"maxRevenueUsd":{"description":"Maximum organization annual revenue, in whole USD with no symbols.","type":"integer"},"minFundingUsd":{"description":"Minimum total funding across all rounds, in whole USD.","type":"integer"},"minHeadcountGrowthPercent":{"description":"Minimum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 10 for 10%. Negative values are accepted.","type":"integer"},"minJobs":{"description":"Minimum number of active job postings at the organization.","type":"integer"},"minLatestFundingUsd":{"description":"Minimum amount raised in the most recent funding round, in whole USD.","type":"integer"},"minRevenueUsd":{"description":"Minimum organization annual revenue, in whole USD with no symbols.","type":"integer"},"name":{"description":"Organization name to match; partial matches count.","minLength":1,"type":"string"},"organizationIds":{"description":"Apollo organization identifiers to match.","items":{"minLength":1,"type":"string"},"type":"array"},"page":{"default":1,"description":"One-based result page.","maximum":500,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"technologySlugOr":{"description":"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.","items":{"minLength":1,"type":"string"},"type":"array"}},"title":"Apollo Organization Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"limit":{"description":"Page size returned by the upstream database.","minimum":0,"type":"integer"},"organizations":{"description":"Organizations on this page.","items":{"properties":{"alexaRanking":{"description":"Alexa global traffic rank of the organization website.","type":["integer","null"]},"angellistUrl":{"description":"Canonical AngelList profile URL.","format":"uri","type":["string","null"]},"annualRevenue":{"description":"Estimated annual revenue in USD.","minimum":0,"type":["number","null"]},"annualRevenueDisplay":{"description":"Human-readable estimated annual revenue.","type":["string","null"]},"crunchbaseUrl":{"description":"Canonical Crunchbase profile URL.","format":"uri","type":["string","null"]},"domain":{"description":"Primary organization domain.","type":["string","null"]},"employeeGrowth":{"description":"Headcount change over trailing windows, in percent.","properties":{"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent24m":{"description":"Percent change over the last twenty-four months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"facebookUrl":{"description":"Canonical Facebook page URL.","format":"uri","type":["string","null"]},"foundedYear":{"description":"Year the organization was founded.","type":["integer","null"]},"id":{"description":"Stable organization identifier.","type":["string","null"]},"image":{"description":"Organization logo URL.","format":"uri","type":["string","null"]},"languages":{"description":"Languages the organization operates in.","items":{"type":"string"},"type":["array","null"]},"linkedinId":{"description":"Organization LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","format":"uri","type":["string","null"]},"naicsCodes":{"description":"NAICS industry codes.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":["string","null"]},"ownershipChainIds":{"description":"Identifiers of the organizations in this organization's ownership chain.","items":{"type":"string"},"type":["array","null"]},"parentOrganizationId":{"description":"Identifier of the organization that owns this one.","type":["string","null"]},"parentOrganizationName":{"description":"Name of the organization that owns this one.","type":["string","null"]},"parentOrganizationWebsiteUrl":{"description":"Website URL of the organization that owns this one.","format":"uri","type":["string","null"]},"phone":{"description":"Organization phone number in international format.","type":["string","null"]},"publiclyTradedExchange":{"description":"Exchange the company lists on, such as nyse.","type":["string","null"]},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"retailLocationCount":{"description":"Number of retail locations Apollo records for the organization.","minimum":0,"type":["integer","null"]},"sanitizedPhone":{"description":"Organization phone number in international E.164 form, such as +14152985539.","type":["string","null"]},"sicCodes":{"description":"SIC industry codes.","items":{"type":"string"},"type":["array","null"]},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":["string","null"]},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":["string","null"]}},"required":["id","name"],"type":"object"},"type":"array"},"page":{"description":"One-based page returned.","minimum":1,"type":"integer"},"total":{"description":"Total matching organizations.","minimum":0,"type":"integer"},"totalPages":{"description":"Total available pages.","minimum":0,"type":"integer"}},"required":["organizations","page","limit","total","totalPages"],"type":"object"}]},"found":{"description":"Whether any matching organizations were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Organization Search output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Organization Search","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/organizations-search"}}},"/v1/run/apollo.people_search":{"post":{"description":"Temporarily disabled. Search people by title, seniority, name, location, employer domain or id, email status, and employer revenue, technology, hiring, and headcount growth, with normalized profile summaries.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_people_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"page":1,"titles":["CEO"]},"schema":{"additionalProperties":false,"example":{"limit":3,"page":1,"titles":["CEO"]},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"emailStatuses":{"description":"Email statuses to match.","items":{"enum":["verified","unverified","likely to engage","unavailable"],"type":"string"},"type":"array"},"employeeRanges":{"description":"Organization employee-count ranges in Apollo notation, such as 51,200.","items":{"minLength":1,"type":"string"},"type":"array"},"excludeOrganizationDomains":{"description":"Exclude people whose current employer matches any of these domains. Every domain Apollo holds for that employer is excluded.","items":{"minLength":1,"type":"string"},"type":"array"},"headcountGrowthMonths":{"description":"Trailing window in months for the headcount growth filter. Takes effect only together with minHeadcountGrowthPercent or maxHeadcountGrowthPercent.","enum":[6,12,24],"type":"integer"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeSimilarTitles":{"description":"Whether titles similar to the ones in titles also match. Set false for strict title matches only.","type":"boolean"},"jobPostedAtGte":{"description":"Only organizations with a job posted on or after this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"jobPostedAtLte":{"description":"Only organizations with a job posted on or before this date. Format: YYYY-MM-DD.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"jobPostingLocations":{"description":"Locations of the organization's active job postings, such as japan.","items":{"minLength":1,"type":"string"},"type":"array"},"jobPostingTitles":{"description":"Job titles listed in the organization's active job postings, such as sales manager.","items":{"minLength":1,"type":"string"},"type":"array"},"keywords":{"description":"Keywords to match across people records.","minLength":1,"type":"string"},"limit":{"default":25,"description":"Maximum people returned on this page.","maximum":100,"minimum":1,"type":"integer"},"lookalikeOrganizationIds":{"description":"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.","items":{"minLength":1,"type":"string"},"maxItems":5,"type":"array"},"maxHeadcountGrowthPercent":{"description":"Maximum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 100 for 100%.","type":"integer"},"maxJobs":{"description":"Maximum number of active job postings at the organization.","type":"integer"},"maxRevenueUsd":{"description":"Maximum organization annual revenue, in whole USD with no symbols.","type":"integer"},"minHeadcountGrowthPercent":{"description":"Minimum organization headcount growth over headcountGrowthMonths, as a whole percentage such as 10 for 10%. Negative values are accepted.","type":"integer"},"minJobs":{"description":"Minimum number of active job postings at the organization.","type":"integer"},"minRevenueUsd":{"description":"Minimum organization annual revenue, in whole USD with no symbols.","type":"integer"},"organizationDomains":{"description":"Domains of the person's current or previous employer, without www, at most 1000.","items":{"minLength":1,"type":"string"},"maxItems":1000,"type":"array"},"organizationIds":{"description":"Apollo identifiers of the person's current employer.","items":{"minLength":1,"type":"string"},"type":"array"},"organizationLocations":{"description":"Organization headquarters locations to match.","items":{"minLength":1,"type":"string"},"type":"array"},"page":{"default":1,"description":"One-based result page.","maximum":500,"minimum":1,"type":"integer"},"personLocations":{"description":"Person locations to match.","items":{"minLength":1,"type":"string"},"type":"array"},"personName":{"description":"Person name to match; results include people whose name contains every word.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"seniorities":{"description":"Seniority levels to match.","items":{"enum":["owner","founder","c_suite","partner","vp","head","director","manager","senior","entry","intern"],"type":"string"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"technologySlugAnd":{"description":"Only people whose current employer uses ALL 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.","items":{"minLength":1,"type":"string"},"type":"array"},"technologySlugNot":{"description":"Exclude people whose current employer uses 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.","items":{"minLength":1,"type":"string"},"type":"array"},"technologySlugOr":{"description":"Only people whose current employer uses 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.","items":{"minLength":1,"type":"string"},"type":"array"},"titles":{"description":"Job titles to match.","items":{"minLength":1,"type":"string"},"type":"array"}},"title":"Apollo People Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"people":{"description":"People on this result page.","items":{"properties":{"firstName":{"description":"Person first name.","type":["string","null"]},"hasCity":{"description":"Whether city data is available through enrichment.","type":["boolean","null"]},"hasCountry":{"description":"Whether country data is available through enrichment.","type":["boolean","null"]},"hasDirectPhone":{"description":"Whether direct phone data is available through asynchronous enrichment.","type":["boolean","null"]},"hasEmail":{"description":"Whether an email is available through enrichment.","type":["boolean","null"]},"hasState":{"description":"Whether state or region data is available through enrichment.","type":["boolean","null"]},"id":{"description":"Stable person identifier.","type":["string","null"]},"lastNameInitial":{"description":"Obfuscated last-name initial.","type":["string","null"]},"lastRefreshedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"organization":{"description":"Availability summary for the current organization.","properties":{"hasCity":{"description":"Whether organization city data is available.","type":"boolean"},"hasCountry":{"description":"Whether organization country data is available.","type":"boolean"},"hasEmployeeCount":{"description":"Whether organization employee-count data is available.","type":"boolean"},"hasIndustry":{"description":"Whether industry data is available.","type":"boolean"},"hasPhone":{"description":"Whether an organization phone is available.","type":"boolean"},"hasPostalCode":{"description":"Whether organization postal-code data is available.","type":"boolean"},"hasRevenue":{"description":"Whether organization revenue data is available.","type":"boolean"},"hasState":{"description":"Whether organization state data is available.","type":"boolean"},"name":{"description":"Current organization name.","type":"string"}},"type":["object","null"]},"title":{"description":"Current job title.","type":["string","null"]}},"required":["id","firstName"],"type":"object"},"type":"array"},"total":{"description":"Total matching people.","minimum":0,"type":"integer"}},"required":["people","total"],"type":"object"}]},"found":{"description":"Whether any matching people were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo People Search output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo People Search","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/people-search"}}},"/v1/run/apollo.person_enrich":{"post":{"description":"Temporarily disabled. Enrich a person by email, email hash, LinkedIn URL, Apollo person id, or name and organization with contact, role, location, and company data.\n\n**Availability:** staged and not customer-callable; no provider request or charge is made.","operationId":"apollo_person_enrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"apollo.io","firstName":"Tim","lastName":"Zheng"},"schema":{"additionalProperties":false,"anyOf":[{"required":["email"]},{"required":["linkedinUrl"]},{"required":["firstName","lastName","organizationName"]},{"required":["firstName","lastName","domain"]},{"required":["emailHash"]},{"required":["personId"]},{"required":["fullName","organizationName"]},{"required":["fullName","domain"]}],"example":{"domain":"apollo.io","firstName":"Tim","lastName":"Zheng"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Organization domain used with the person's name.","minLength":1,"type":"string"},"email":{"description":"Work or personal email used to identify the person.","format":"email","type":"string"},"emailHash":{"description":"MD5 or SHA-256 hash of the person's email, used to identify the person.","minLength":1,"type":"string"},"firstName":{"description":"Person first name, used with lastName and an organization identifier.","minLength":1,"type":"string"},"fullName":{"description":"Person full name, used with an organization identifier instead of firstName and lastName.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastName":{"description":"Person last name, used with firstName and an organization identifier.","minLength":1,"type":"string"},"linkedinUrl":{"description":"LinkedIn profile URL used to identify the person.","format":"uri","type":"string"},"organizationName":{"description":"Organization name used with the person's name.","minLength":1,"type":"string"},"personId":{"description":"Apollo person identifier, such as an id returned by apollo.people_search.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"revealPersonalEmails":{"default":true,"description":"Whether to include personal emails. Apollo withholds them for people in GDPR regions.","type":"boolean"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Apollo Person Enrichment input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"address":{"description":"Full address as one display string.","type":["string","null"]},"catchAll":{"description":"Domain accepts all addresses.","type":["boolean","null"]},"catchAllVerdict":{"description":"Apollo's verdict on the catch-all email domain, such as allow.","type":["string","null"]},"city":{"description":"City.","type":["string","null"]},"confidence":{"description":"Apollo match confidence for this person: high, medium or low.","type":["string","null"]},"country":{"description":"Country.","type":["string","null"]},"departments":{"description":"Current departments.","items":{"type":"string"},"type":["array","null"]},"email":{"description":"Available work email.","format":"email","type":["string","null"]},"emailStatus":{"description":"Verification status of the work email.","type":["string","null"]},"employmentHistory":{"description":"Known employment history.","items":{"properties":{"current":{"description":"Whether this is a current role.","type":"boolean"},"endUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Stable employment record identifier.","type":["string","null"]},"organizationId":{"description":"Organization identifier.","type":"string"},"organizationName":{"description":"Organization name.","type":"string"},"startUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"title":{"description":"Role title.","type":"string"}},"required":["id"],"type":"object"},"type":["array","null"]},"facebookUrl":{"description":"Canonical Facebook profile URL.","format":"uri","type":["string","null"]},"firstName":{"description":"Person first name.","type":["string","null"]},"functions":{"description":"Current business functions.","items":{"type":"string"},"type":["array","null"]},"githubUrl":{"description":"Canonical GitHub profile URL.","format":"uri","type":["string","null"]},"headline":{"description":"Professional headline.","type":["string","null"]},"id":{"description":"Stable person identifier.","type":["string","null"]},"image":{"description":"Profile image URL.","format":"uri","type":["string","null"]},"lastName":{"description":"Person last name.","type":["string","null"]},"linkedinUrl":{"description":"Canonical LinkedIn profile URL.","format":"uri","type":["string","null"]},"name":{"description":"Full person name.","type":["string","null"]},"organization":{"description":"Current organization summary.","properties":{"alexaRanking":{"description":"Alexa global traffic rank of the organization website.","type":"integer"},"angellistUrl":{"description":"Canonical AngelList profile URL.","format":"uri","type":"string"},"annualRevenue":{"description":"Estimated annual revenue in USD.","minimum":0,"type":"number"},"annualRevenueDisplay":{"description":"Human-readable estimated annual revenue.","type":"string"},"city":{"description":"Headquarters city.","type":"string"},"country":{"description":"Headquarters country.","type":"string"},"crunchbaseUrl":{"description":"Canonical Crunchbase profile URL.","format":"uri","type":"string"},"description":{"description":"Organization summary.","type":"string"},"domain":{"description":"Primary organization domain.","type":"string"},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":"integer"},"employeeGrowth":{"description":"Headcount change over trailing windows, in percent.","properties":{"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent24m":{"description":"Percent change over the last twenty-four months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":"object"},"facebookUrl":{"description":"Canonical Facebook page URL.","format":"uri","type":"string"},"foundedYear":{"description":"Year the organization was founded.","type":"integer"},"fundingEvents":{"description":"Funding rounds Apollo records for the organization.","items":{"properties":{"amountDisplay":{"description":"Amount raised in this round as Apollo displays it, such as 100M.","type":"string"},"currency":{"description":"Currency symbol of the amount, such as $.","type":"string"},"detectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Funding round identifier.","type":"string"},"investors":{"description":"Investors in this round as one comma-separated string, exactly as Apollo returns it. A single investor name can itself contain a comma.","type":"string"},"newsUrl":{"description":"Article reporting the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"type":{"description":"Funding round type, such as Series D.","type":"string"}},"type":"object"},"type":["array","null"]},"id":{"description":"Stable organization identifier.","type":"string"},"image":{"description":"Organization logo URL.","format":"uri","type":"string"},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary industry.","type":"string"},"industryTagId":{"description":"Apollo industry tag identifier of the primary industry, accepted by apollo.organizations_search industryIds.","type":"string"},"industryTagIds":{"additionalProperties":{"type":"string"},"description":"Apollo industry tag identifier for each industry, keyed by industry name. The identifiers are accepted by apollo.organizations_search industryIds.","type":["object","null"]},"keywords":{"description":"Keywords associated with the organization.","items":{"type":"string"},"type":["array","null"]},"languages":{"description":"Languages the organization operates in.","items":{"type":"string"},"type":["array","null"]},"latestFundingDetectedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"latestFundingStage":{"description":"Latest disclosed funding stage.","type":"string"},"latestFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"linkedinId":{"description":"Organization LinkedIn numeric id.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","format":"uri","type":"string"},"naicsCodes":{"description":"NAICS industry codes.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":"string"},"orgChartRootPersonIds":{"description":"Apollo person identifiers at the top of the organization's org chart, accepted by apollo.person_enrich personId.","items":{"type":"string"},"type":["array","null"]},"parentOrganizationId":{"description":"Identifier of the organization that owns this one.","type":"string"},"phone":{"description":"Organization phone number in international format.","type":"string"},"postalCode":{"description":"Headquarters postal code.","type":"string"},"publiclyTradedExchange":{"description":"Exchange the company lists on, such as nyse.","type":"string"},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":"string"},"rawAddress":{"description":"Headquarters address as one display string.","type":"string"},"retailLocationCount":{"description":"Number of retail locations Apollo records for the organization.","minimum":0,"type":"integer"},"sanitizedPhone":{"description":"Organization phone number in international E.164 form, such as +14152985539.","type":"string"},"secondaryIndustries":{"description":"Industries associated with the organization besides the primary industry.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC industry codes.","items":{"type":"string"},"type":["array","null"]},"state":{"description":"Headquarters state or region.","type":"string"},"streetAddress":{"description":"Street address.","type":"string"},"suborganizationCount":{"description":"Number of related organizations Apollo lists under this one.","minimum":0,"type":"integer"},"suborganizations":{"description":"Related organizations Apollo lists under this one, usually subsidiaries or acquisitions.","items":{"properties":{"country":{"description":"Headquarters country.","type":"string"},"employeeCount":{"description":"Estimated employee count.","minimum":0,"type":"integer"},"id":{"description":"Organization identifier.","type":"string"},"industries":{"description":"Industries associated with the organization.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Organization name.","type":"string"},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":"string"}},"type":"object"},"type":["array","null"]},"technologies":{"description":"Technologies detected at the organization, with their category.","items":{"properties":{"category":{"description":"Technology category.","type":"string"},"id":{"description":"Technology identifier, accepted by the technologySlug filters of apollo.organizations_search and apollo.people_search.","type":"string"},"name":{"description":"Technology name.","type":"string"}},"type":"object"},"type":["array","null"]},"technologyNames":{"description":"Technologies detected at the organization.","items":{"type":"string"},"type":["array","null"]},"totalFunding":{"description":"Total disclosed funding in USD.","minimum":0,"type":"number"},"totalFundingDisplay":{"description":"Human-readable total disclosed funding.","type":"string"},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":"string"},"websiteUrl":{"description":"Canonical organization website URL.","format":"uri","type":"string"}},"required":["id","name"],"type":["object","null"]},"organizationId":{"description":"Identifier of the person's current organization.","type":["string","null"]},"personalEmails":{"description":"Available personal email addresses, included automatically.","items":{"format":"email","type":"string"},"type":["array","null"]},"postalCode":{"description":"Postal code.","type":["string","null"]},"seniority":{"description":"Current seniority classification.","type":["string","null"]},"state":{"description":"State or region.","type":["string","null"]},"streetAddress":{"description":"Street address.","type":["string","null"]},"subdepartments":{"description":"Current subdepartments.","items":{"type":"string"},"type":["array","null"]},"timeZone":{"description":"IANA time-zone identifier.","type":["string","null"]},"title":{"description":"Current job title.","type":["string","null"]},"twitterUrl":{"description":"Canonical X or Twitter profile URL.","format":"uri","type":["string","null"]}},"required":["id","name","firstName","lastName"],"type":"object"}]},"found":{"description":"Whether a matching person was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Apollo Person Enrichment output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"summary":"Apollo Person Enrichment","tags":["apollo"],"x-anyapi-availability":"staged","x-mint":{"href":"/api-reference/apollo/person-enrich"}}},"/v1/run/appstore.app":{"post":{"description":"Get an iOS app's App Store listing by app ID, in any storefront country: title, developer, rating, price, version, description, screenshots, and more.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [App Store App Details pricing and uptime](https://getanyapi.com/api/appstore/app) - live USD price, lane routing, and measured 30-day uptime. [Every Appstore endpoint](https://getanyapi.com/api/appstore).","operationId":"appstore_app","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"appId":"479516143","country":"us"},"schema":{"additionalProperties":false,"example":{"appId":"479516143","country":"us"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"appId":{"description":"Numeric App Store app ID, the digits at the end of the app's store URL without the 'id' prefix (e.g. 310633997).","pattern":"^[0-9]+$","type":"string"},"country":{"default":"us","description":"Two-letter App Store storefront country code to read the listing from (e.g. gb); price and currency follow that storefront.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `ratingCount` or `screenshots`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an app that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["author","bundleId","categories","category","createdUtc","currency","currentVersionRating","currentVersionRatingCount","genres","hasInAppPurchases","languages","minimumOsVersion","moreByDeveloper","privacyTypes","ratingCount","ratingHistogram","releasedUtc","reviewSamples","screenshots","similarApps","sizeBytes","subtitle","supportedDevices","text","website"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["appId"],"title":"App Store app details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The app listing, or null when the app ID does not exist in that storefront.","oneOf":[{"type":"null"},{"properties":{"appId":{"description":"Numeric App Store app ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"bundleId":{"description":"The app's bundle identifier (e.g. com.burbn.instagram).","type":["string","null"]},"category":{"description":"Primary App Store category (e.g. Photo \u0026 Video).","type":["string","null"]},"contentRating":{"description":"Age rating as shown on the listing (e.g. 13+). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"currency":{"description":"ISO 4217 currency code of the price (e.g. USD).","type":["string","null"]},"currentVersionRating":{"description":"Average star rating of the current version.","type":["number","null"]},"currentVersionRatingCount":{"description":"Number of star ratings of the current version.","type":["integer","null"]},"description":{"description":"Full app description. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"developer":{"description":"Developer name as listed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"developerId":{"description":"Numeric App Store developer ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"developerUrl":{"description":"The developer's App Store page URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"genres":{"description":"All App Store categories the app is listed in.","items":{"type":"string"},"type":["array","null"]},"hasInAppPurchases":{"description":"True when the listing offers in-app purchases; null when the source does not say.","type":["boolean","null"]},"image":{"description":"App icon image URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"languages":{"description":"Two-letter codes of the languages the app supports (e.g. EN).","items":{"type":"string"},"type":["array","null"]},"minimumOsVersion":{"description":"Minimum iOS version required (e.g. 16.3).","type":["string","null"]},"moreByDeveloper":{"description":"Other apps by the same developer.","items":{"properties":{"appId":{"description":"Numeric App Store app ID.","type":"string"},"image":{"description":"App icon image URL.","type":["string","null"]},"title":{"description":"App name.","type":["string","null"]},"url":{"description":"App Store page URL.","type":["string","null"]}},"required":["appId"],"type":"object"},"type":["array","null"]},"price":{"description":"Price to download in the storefront's currency; 0 for a free app. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"privacyTypes":{"description":"The App Privacy label: each kind of data use the developer declared, with the data categories it covers.","items":{"properties":{"categories":{"description":"Data categories it covers (e.g. Contact Info).","items":{"type":"string"},"type":["array","null"]},"title":{"description":"Kind of data use (e.g. Data Linked to You).","type":"string"}},"required":["title"],"type":"object"},"type":["array","null"]},"rating":{"description":"Average star rating, 0 to 5. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"ratingCount":{"description":"Number of star ratings the app has in this storefront (ratings, not written reviews).","type":["integer","null"]},"ratingHistogram":{"description":"Number of ratings at each star level.","properties":{"fiveStar":{"description":"Number of 5-star ratings.","type":["integer","null"]},"fourStar":{"description":"Number of 4-star ratings.","type":["integer","null"]},"oneStar":{"description":"Number of 1-star ratings.","type":["integer","null"]},"threeStar":{"description":"Number of 3-star ratings.","type":["integer","null"]},"twoStar":{"description":"Number of 2-star ratings.","type":["integer","null"]}},"type":["object","null"]},"releaseNotes":{"description":"What's new in the current version. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"releasedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the app was first released.","type":["number","null"]},"reviewSamples":{"description":"A few reviews shown on the listing page; use appstore.reviews for the full list.","items":{"properties":{"author":{"description":"Reviewer nickname.","type":["string","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the review was posted.","type":["number","null"]},"rating":{"description":"Star rating, 1 to 5.","type":"number"},"text":{"description":"Review text.","type":["string","null"]},"title":{"description":"Review title.","type":["string","null"]}},"required":["rating"],"type":"object"},"type":["array","null"]},"screenshots":{"description":"iPhone screenshot image URLs.","items":{"type":"string"},"type":["array","null"]},"similarApps":{"description":"Apps shown under You Might Also Like.","items":{"properties":{"appId":{"description":"Numeric App Store app ID.","type":"string"},"image":{"description":"App icon image URL.","type":["string","null"]},"title":{"description":"App name.","type":["string","null"]},"url":{"description":"App Store page URL.","type":["string","null"]}},"required":["appId"],"type":"object"},"type":["array","null"]},"sizeBytes":{"description":"Download size in bytes.","type":["integer","null"]},"subtitle":{"description":"Short subtitle shown under the app name.","type":["string","null"]},"supportedDevices":{"description":"Apple device model codes the app runs on.","items":{"type":"string"},"type":["array","null"]},"title":{"description":"App name as listed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the current version was released. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"url":{"description":"App Store page URL for the app in the requested storefront. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"version":{"description":"Current version number (e.g. 451.0.0). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"website":{"description":"The seller's own website, when listed.","type":["string","null"]}},"required":["appId","title"],"type":"object"}]},"found":{"description":"True when the app was found in the requested storefront.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"App Store app details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"App Store App Details","tags":["appstore"],"x-mint":{"href":"/api-reference/appstore/app"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/appstore.reviews":{"post":{"description":"Get App Store reviews for any iOS app by app ID, in any storefront country: ratings, titles, and review text.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [App Store Reviews pricing and uptime](https://getanyapi.com/api/appstore/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every Appstore endpoint](https://getanyapi.com/api/appstore).","operationId":"appstore_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"appId":"389801252","country":"us","limit":3},"schema":{"additionalProperties":false,"example":{"appId":"389801252","country":"us","limit":3},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"appId":{"description":"Numeric App Store app ID, the digits at the end of the app's store URL without the 'id' prefix (e.g. 310633997).","type":"string"},"country":{"default":"us","description":"Two-letter App Store storefront country code to read reviews from.","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of reviews.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Reviews to fetch (1-100, default 100). Sources that page return one full page of reviews (up to 20 or 50, depending on the source), newest first, with a nextCursor for the next page, and `limit` does not shrink that page; sources that cannot page return up to `limit` reviews in one call with no nextCursor.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `helpfulVotes` or `version`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.","items":{"enum":["appId","helpfulVotes","nextCursor","url","version"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["appId"],"title":"App Store reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Review records: star rating, review title and text, reviewer nickname, app version, and review date. Populated whenever the provider has data for the entity.","items":{"properties":{"appId":{"description":"App Store numeric app identifier the review belongs to.","type":"string"},"author":{"description":"Reviewer nickname. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the review was posted. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"helpfulVotes":{"description":"Number of helpful votes on the review.","type":"integer"},"id":{"description":"Review identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"rating":{"description":"Star rating, 1 to 5. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"text":{"description":"Review body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Review title.","type":"string"},"url":{"description":"Public App Store page for this review, when supplied by the serving lane.","format":"uri","type":"string"},"version":{"description":"App version the review was left on.","type":"string"}},"required":["rating","text"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of reviews, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one review record was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"App Store reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"App Store Reviews","tags":["appstore"],"x-mint":{"href":"/api-reference/appstore/reviews"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/appstore.search":{"post":{"description":"Search the App Store for iOS apps by keyword, in any storefront country: app ID, title, developer, rating, ratings count, price, version, and more for each result.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [App Store Search pricing and uptime](https://getanyapi.com/api/appstore/search) - live USD price, lane routing, and measured 30-day uptime. [Every Appstore endpoint](https://getanyapi.com/api/appstore).","operationId":"appstore_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"us","query":"minecraft"},"schema":{"additionalProperties":false,"example":{"country":"us","query":"minecraft"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"us","description":"Two-letter App Store storefront country code to search (e.g. gb); results, prices, and currency follow that storefront.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":50,"description":"Maximum number of apps to return (1-50, default 50).","maximum":50,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, as typed into the App Store search box (e.g. budget tracker).","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `sizeBytes` or `updatedUtc`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an app that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["bundleId","screenshots","sizeBytes","updatedUtc"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"App Store search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching apps in App Store search order. Populated whenever the provider has data for the entity.","items":{"properties":{"appId":{"description":"Numeric App Store app ID; pass it to appstore.app for the full listing. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"bundleId":{"description":"The app's bundle identifier.","type":["string","null"]},"contentRating":{"description":"Age rating (e.g. 4+). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"currency":{"description":"ISO 4217 currency code of the price (e.g. USD).","type":["string","null"]},"description":{"description":"App description. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"developer":{"description":"Developer name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"developerId":{"description":"Numeric App Store developer ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"genres":{"description":"App Store categories, primary first. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"image":{"description":"App icon image URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"languages":{"description":"Two-letter codes of the languages the app supports. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"minimumOsVersion":{"description":"Minimum iOS version required. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"price":{"description":"Price to download in the storefront's currency; 0 for a free app.","type":"number"},"rating":{"description":"Average star rating, 0 to 5. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"ratingCount":{"description":"Number of star ratings (ratings, not written reviews). Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"releasedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the app was first released. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"screenshots":{"description":"iPhone screenshot image URLs.","items":{"type":"string"},"type":["array","null"]},"sizeBytes":{"description":"Download size in bytes.","type":["integer","null"]},"title":{"description":"App name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the current version was released.","type":["number","null"]},"url":{"description":"App Store page URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"version":{"description":"Current version number. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["appId","title","price"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one app was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"App Store search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"App Store Search","tags":["appstore"],"x-mint":{"href":"/api-reference/appstore/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/asos.product":{"post":{"description":"Fetch an ASOS product by URL from any of its 11 country stores and get title, price, brand, colour, description, images, and per-size stock in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [ASOS Product pricing and uptime](https://getanyapi.com/api/asos/product) - live USD price, lane routing, and measured 30-day uptime. [Every Asos endpoint](https://getanyapi.com/api/asos).","operationId":"asos_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341"},"schema":{"additionalProperties":false,"example":{"url":"https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `sizeGuide`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["sizeGuide"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"ASOS product page URL, e.g. https://www.asos.com/pullbear/pullbear-casual-trainers-in-white/prd/211299341, or the short form https://www.asos.com/prd/211299341. The store is read from the URL path (/us/, /au/, /de/ and so on; none means the UK store), and prices come back in that store's currency.","pattern":"^https?://(www\\.)?asos\\.com/(.*/)?prd/[0-9]+","type":"string"}},"required":["url"],"title":"ASOS product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Product wrapper, or null when the URL resolved to no product.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Product detail records (one per requested product URL). Populated whenever the provider has data for the entity.","items":{"properties":{"brand":{"description":"Brand name, or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"careInstructions":{"description":"Care instructions as ASOS lists them, e.g. \"Machine wash according to instructions on care label\", or null when not listed.","type":["string","null"]},"colour":{"description":"Colour name as ASOS lists it, or null when not reported.","type":["string","null"]},"currency":{"description":"Price currency code, e.g. \"GBP\" or \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"description":{"description":"Product description as ASOS publishes it (HTML), or null when the listing has none.","type":["string","null"]},"gender":{"description":"Department the product is listed under, e.g. \"Men\" or \"Women\", or null when not reported.","type":["string","null"]},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All product image URLs, primary first.","items":{"type":"string"},"type":"array"},"inStock":{"description":"True when at least one size is in stock, false when none is, or null when not reported.","type":["boolean","null"]},"isDiscontinued":{"description":"True when ASOS has discontinued the product, or null when not reported.","type":["boolean","null"]},"materials":{"description":"ASOS's \"About me\" section: fabric and material composition, as HTML, or null when not listed.","type":["string","null"]},"price":{"description":"Current price in the store's currency, or null when no price is shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"productId":{"description":"ASOS product id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"sizeGuide":{"description":"Link to the ASOS size guide for this product, or null when the serving source does not report one.","type":["string","null"]},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"ASOS product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"variants":{"description":"One entry per size the product is sold in.","items":{"properties":{"colour":{"description":"Colour of this variant as ASOS lists it, or null when not reported.","type":["string","null"]},"currency":{"description":"Currency code of this size's price, e.g. \"GBP\", or null when not shown.","type":["string","null"]},"ean":{"description":"EAN barcode of this size, or null when not reported.","type":["string","null"]},"inStock":{"description":"True when this size is in stock, or null when not reported.","type":["boolean","null"]},"price":{"description":"Current price of this size in the store's currency, or null when not shown.","type":["number","null"]},"size":{"description":"Size label as ASOS shows it, e.g. \"UK 8\", or null when not reported.","type":["string","null"]},"sku":{"description":"ASOS SKU of this size, or null when not reported.","type":["string","null"]},"variantId":{"description":"ASOS variant id of this size, or null when not reported.","type":["string","null"]}},"type":"object"},"type":"array"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the product was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"ASOS product output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"ASOS Product","tags":["asos"],"x-mint":{"href":"/api-reference/asos/product"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/asos.search":{"post":{"description":"Search ASOS by keyword in any of its 11 country stores with optional sort, price-range, and page filters and get title, price, brand, and colour for each product in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [ASOS Search pricing and uptime](https://getanyapi.com/api/asos/search) - live USD price, lane routing, and measured 30-day uptime. [Every Asos endpoint](https://getanyapi.com/api/asos).","operationId":"asos_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"us","query":"white sneakers"},"schema":{"additionalProperties":false,"example":{"country":"us","query":"white sneakers"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"gb","description":"ASOS country store to search, which also sets the price currency (gb GBP, us USD, au AUD, de/fr/it/es/nl EUR, se SEK, dk DKK, pl PLN); defaults to gb, the UK store. Product ids and URLs are store-specific.","enum":["gb","us","au","de","fr","it","es","nl","se","dk","pl"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxPrice":{"description":"Optional maximum product price, in the store's currency.","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum product price, in the store's currency.","minimum":0,"type":"number"},"page":{"default":1,"description":"1-based results page of 48 products. Each page is billed as one request.","maximum":200,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"white sneakers\" or \"summer dress\".","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `inStock`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["inStock"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"description":"Result sort order; omit for ASOS's recommended order (e.g. new for newest arrivals first).","enum":["best_match","new","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"ASOS search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"True when another page of results follows this one (request it with page + 1), or null when not reported.","type":["boolean","null"]},"items":{"description":"Matching ASOS product records for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"brand":{"description":"Brand name, or null when not reported.","type":["string","null"]},"colour":{"description":"Colour name as ASOS lists it, or null when not reported.","type":["string","null"]},"colourWayId":{"description":"Id of the colourway this result shows; it appears as #colourWayId-\u003cid\u003e in ASOS product links. Null when not reported.","type":["string","null"]},"currency":{"description":"Price currency code, e.g. \"GBP\" or \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All product image URLs, primary first.","items":{"type":"string"},"type":"array"},"inStock":{"description":"True when the product is in stock, false when it is not, or null when the serving source does not report stock in search results.","type":["boolean","null"]},"listPrice":{"description":"Previous price when the product is marked down, or null when it is not.","type":["number","null"]},"position":{"description":"1-based position of the result in this page.","type":["integer","null"]},"price":{"description":"Current price in the store's currency, or null when the result shows no price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"productCode":{"description":"ASOS product code (the style number printed on the product page), or null when not reported.","type":["string","null"]},"productId":{"description":"ASOS product id, the number after /prd/ in the product URL; use the product URL with the ASOS Product SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"sellingFast":{"description":"True when ASOS flags the product as selling fast, or null when not reported.","type":["boolean","null"]},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"ASOS product page URL in the searched store, with tracking and colour fragments removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["productId","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total number of matching products ASOS reports for the query, or null when not reported.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"ASOS search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"ASOS Search","tags":["asos"],"x-mint":{"href":"/api-reference/asos/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bestbuy.product":{"post":{"description":"Fetch a BestBuy.com product by URL and get title, price, brand, model, UPC, rating, description, and images in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Best Buy Product pricing and uptime](https://getanyapi.com/api/bestbuy/product) - live USD price, lane routing, and measured 30-day uptime. [Every Bestbuy endpoint](https://getanyapi.com/api/bestbuy).","operationId":"bestbuy_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564"},"schema":{"additionalProperties":false,"example":{"url":"https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Best Buy product page URL that carries the numeric Best Buy SKU, either the .../sku/6376564 form the Best Buy Search SKU returns or the older .../6376564.p?skuId=6376564 form.","pattern":"^https?://(www\\.)?bestbuy\\.com/.*(/sku/[0-9]+|[?\u0026]skuId=[0-9]+|/[0-9]+\\.p)","type":"string"}},"required":["url"],"title":"Best Buy product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Product wrapper, or null when the URL resolved to no product.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Product detail records (one per requested product URL). Populated whenever the provider has data for the entity.","items":{"properties":{"brand":{"description":"Brand name, or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown.","type":["string","null"]},"description":{"description":"Product description text, or null when the listing has none.","type":["string","null"]},"features":{"description":"Feature bullets from the product page; empty when there are none.","items":{"properties":{"description":{"description":"Feature text.","type":"string"},"title":{"description":"Feature heading, or null when the bullet has none.","type":["string","null"]}},"type":"object"},"type":"array"},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All product image URLs, primary first.","items":{"type":"string"},"type":"array"},"listPrice":{"description":"Regular price when the product is on sale, or null when it is not discounted.","type":["number","null"]},"model":{"description":"Manufacturer model number, or null when not reported.","type":["string","null"]},"price":{"description":"Current price in USD, or null when the product shows no current price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average customer rating, 0-5, or null when the product is unrated.","type":["number","null"]},"reviewsCount":{"description":"Number of customer reviews, or null when not reported.","type":["integer","null"]},"sellerId":{"description":"Seller id: \"bby\" for Best Buy itself, a number for a Marketplace seller, or null when not reported.","type":["string","null"]},"sellerType":{"description":"\"1P\" when Best Buy sells the product itself, \"3P\" when a Marketplace seller does, or null when not reported.","type":["string","null"]},"sku":{"description":"Best Buy SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"specifications":{"description":"The specifications table from the product page, in Best Buy's groups (\"Key Specs\", \"General\", ...); empty when the page has none.","items":{"properties":{"group":{"description":"Group heading, e.g. \"General\".","type":"string"},"specs":{"description":"Rows in the group.","items":{"properties":{"name":{"description":"Attribute name, e.g. \"Model Number\".","type":"string"},"value":{"description":"Attribute value as Best Buy lists it; yes/no attributes read \"true\" or \"false\".","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"upc":{"description":"Universal Product Code, or null when not reported.","type":["string","null"]},"url":{"description":"Best Buy product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the product was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Best Buy product output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Best Buy Product","tags":["bestbuy"],"x-mint":{"href":"/api-reference/bestbuy/product"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bestbuy.reviews":{"post":{"description":"Pull a page of 10 customer reviews for any BestBuy.com product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date, reviewer, and verified-purchase badge.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Best Buy Reviews pricing and uptime](https://getanyapi.com/api/bestbuy/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every Bestbuy endpoint](https://getanyapi.com/api/bestbuy).","operationId":"bestbuy_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564"},"schema":{"additionalProperties":false,"example":{"url":"https://www.bestbuy.com/product/apple-airpods-5-true-wireless-active-noise-cancelling-earbuds-with-wireless-charging-case-white/JJGCQP634G/sku/6376564"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based page of 10 reviews; Best Buy serves at most 1000 pages. Each page is billed as one request; keep url and sort the same while walking pages.","maximum":1000,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `rating`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["incentivized","rating"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"default":"recent","description":"Review order: recent (newest first, the default), oldest, relevancy, helpful, rating_high, or rating_low (e.g. helpful).","enum":["recent","oldest","relevancy","helpful","rating_high","rating_low"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Best Buy product page URL that carries the numeric Best Buy SKU, either the .../sku/6376564 form the Best Buy Search SKU returns or the older .../6376564.p?skuId=6376564 form.","pattern":"^https?://(www\\.)?bestbuy\\.com/.*(/sku/[0-9]+|[?\u0026]skuId=[0-9]+|/[0-9]+\\.p)","type":"string"}},"required":["url"],"title":"Best Buy reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Reviews wrapper, or null when the product returned no reviews on this page.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Customer review records for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Null when not reported. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"helpfulVotes":{"description":"Number of \"helpful\" votes the review received, or null when not reported.","type":["integer","null"]},"incentivized":{"description":"True when Best Buy marks the review incentivized (the reviewer received promo considerations or a sweepstakes entry for writing it), false when it does not, or null when not reported. One source reports only the true case and leaves the rest null.","type":["boolean","null"]},"ownershipDays":{"description":"Days the reviewer had owned the product when they wrote the review, or null when not reported.","type":["integer","null"]},"rating":{"description":"Star rating the reviewer gave, 1-5.","type":"number"},"recommended":{"description":"True when the reviewer says they would recommend the product, false when they would not, or null when they did not answer.","type":["boolean","null"]},"reviewId":{"description":"Best Buy review id; use it to deduplicate across pages. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"reviewer":{"description":"Reviewer display name; empty when withheld.","type":"string"},"text":{"description":"Full review body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Review headline; empty when the review has none.","type":"string"},"verifiedPurchase":{"description":"True when Best Buy marks the review a verified purchase, or null when not reported.","type":["boolean","null"]}},"required":["reviewId","rating","text"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"rating":{"description":"Overall product score (1-5), or null when the serving source does not report it.","type":["number","null"]},"ratingDistribution":{"description":"Number of reviews at each star rating, keyed \"1\" through \"5\".","properties":{"1":{"description":"Number of 1-star reviews.","type":["integer","null"]},"2":{"description":"Number of 2-star reviews.","type":["integer","null"]},"3":{"description":"Number of 3-star reviews.","type":["integer","null"]},"4":{"description":"Number of 4-star reviews.","type":["integer","null"]},"5":{"description":"Number of 5-star reviews.","type":["integer","null"]}},"type":"object"},"totalPages":{"description":"Number of 10-review pages Best Buy reports for the product, or null when not reported.","type":["integer","null"]},"totalReviews":{"description":"Total number of reviews for the product, or null when not reported.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one review was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Best Buy reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Best Buy Reviews","tags":["bestbuy"],"x-mint":{"href":"/api-reference/bestbuy/reviews"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bestbuy.search":{"post":{"description":"Search BestBuy.com by keyword with optional sort, price-range, and page filters and get title, price, rating, and brand for each product in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Best Buy Search pricing and uptime](https://getanyapi.com/api/bestbuy/search) - live USD price, lane routing, and measured 30-day uptime. [Every Bestbuy endpoint](https://getanyapi.com/api/bestbuy).","operationId":"bestbuy_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"airpods"},"schema":{"additionalProperties":false,"example":{"query":"airpods"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxPrice":{"description":"Optional maximum product price in USD.","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum product price in USD.","minimum":0,"type":"number"},"page":{"default":1,"description":"1-based results page of about 18 to 24 products; Best Buy serves no products past page 100. Each page is billed as one request. Page sizes differ between sources, so deduplicate on sku.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"airpods\" or \"65 inch tv\".","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalResults`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["description","inStock","isSponsored","totalResults","upc","variants"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"description":"Result sort order; omit for Best Buy's own relevance order (e.g. price_low sorts by lowest price first).","enum":["best_match","best_seller","price_low","price_high","rating_high","new"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Best Buy search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Best Buy product records for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"brand":{"description":"Brand name, or null when not reported.","type":["string","null"]},"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown.","type":["string","null"]},"description":{"description":"Long product description, or null when the serving source does not report it.","type":["string","null"]},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"inStock":{"description":"True when Best Buy shows the product available to buy, or null when the serving source does not report it.","type":["boolean","null"]},"isSponsored":{"description":"True when the result is a sponsored placement, or null when the serving source does not report it.","type":["boolean","null"]},"listPrice":{"description":"Regular price when the product is on sale, or null when it is not discounted.","type":["number","null"]},"openBox":{"description":"Open-box offers for the product, one per condition; empty when there are none.","items":{"properties":{"condition":{"description":"Open-box condition as Best Buy names it: \"Excellent\", \"Good\" or \"Fair\".","type":"string"},"price":{"description":"Open-box price in USD for that condition; absent when the serving source reports only the condition.","type":["number","null"]}},"type":"object"},"type":"array"},"position":{"description":"1-based position of the result in this page.","type":["integer","null"]},"price":{"description":"Current price in USD, or null when the result shows no current price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average customer rating, 0-5, or null when the product is unrated.","type":["number","null"]},"reviewsCount":{"description":"Number of customer reviews, or null when the product has none.","type":["integer","null"]},"sellerId":{"description":"Seller id: \"bby\" for Best Buy itself, a number for a Marketplace seller, or null when not reported.","type":["string","null"]},"sellerType":{"description":"\"1P\" when Best Buy sells the product itself, \"3P\" when a Marketplace seller does, or null when not reported.","type":["string","null"]},"sku":{"description":"Best Buy SKU, the number after /sku/ in the product URL; use the product URL with the Best Buy Product or Best Buy Reviews SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"upc":{"description":"UPC barcode, or null when the serving source does not report it.","type":["string","null"]},"url":{"description":"Best Buy product page URL carrying the SKU, with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"variants":{"description":"Sibling versions of the product (colour, size, connector), including this one, or null when the serving source does not report them.","items":{"properties":{"attributes":{"description":"What sets the variant apart, keyed by Best Buy's attribute name, e.g. {\"Color\": \"Black\"}.","type":["object","null"]},"sku":{"description":"Best Buy SKU of the variant.","type":"string"}},"type":"object"},"type":["array","null"]}},"required":["sku","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total number of matching products Best Buy reports for the query, or null when the serving source does not report it.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Best Buy search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Best Buy Search","tags":["bestbuy"],"x-mint":{"href":"/api-reference/bestbuy/search"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bing.copilot":{"post":{"description":"Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Microsoft Copilot Search pricing and uptime](https://getanyapi.com/api/bing/copilot) - live USD price, lane routing, and measured 30-day uptime. [Every Bing endpoint](https://getanyapi.com/api/bing).","operationId":"bing_copilot","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"what is the capital of australia and why"},"schema":{"additionalProperties":false,"example":{"prompt":"what is the capital of australia and why"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"The question or prompt for Microsoft Copilot to answer using Bing web search.","maxLength":2000,"minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `answerMarkdown`, `inlineCitations` or `tables`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an answer that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["additionalSections","answerMarkdown","caption","complete","domain","headers","inlineCitations","name","recommendations","researchSources","rows","tables","text"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["prompt"],"title":"Microsoft Copilot Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The answer and its sources, or null when Copilot returned no answer.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"additionalSections":{"description":"Text of answer sections Copilot rendered outside the main answer, such as a section heading or a card, kept so nothing it showed is lost. null means the source that answered cannot report them.","items":{"type":"string"},"type":["array","null"]},"answer":{"description":"Copilot's answer as text. Citation markers Copilot places inline can appear as numbers or source names next to the words they support. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"answerMarkdown":{"description":"Copilot's answer in Markdown, keeping its bold text, lists and tables. null means the source that answered returns plain text only; name answerMarkdown in requireFields to be served only by a source that returns it.","type":["string","null"]},"citations":{"description":"Sources Copilot cites for the answer, in the order it lists them. Populated whenever the provider has data for the entity.","items":{"properties":{"domain":{"description":"Host of the source page as Copilot shows it, e.g. blog.salesflare.com. null means the source that answered cannot report it.","type":["string","null"]},"snippet":{"description":"Excerpt of the source page Copilot shows. null when Copilot shows none or the source that answered cannot report it.","type":["string","null"]},"title":{"description":"Source page title, empty when Copilot shows none.","type":"string"},"url":{"description":"Source page URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["url","title","domain","snippet"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"complete":{"description":"Whether Copilot finished the answer. false means the answer may be cut short. null means the source that answered cannot report it, which is not the same as true.","type":["boolean","null"]},"inlineCitations":{"description":"Each claim in the answer that Copilot ties to a source, with the source it cites. null means the source that answered cannot report them.","items":{"properties":{"text":{"description":"The sentence of the answer the citation supports.","type":"string"},"title":{"description":"Title of the cited source, empty when Copilot shows none.","type":"string"},"url":{"description":"URL of the cited source.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]},"prompt":{"description":"The prompt Copilot answered.","type":"string"},"recommendations":{"description":"Products, brands or options Copilot recommends in the answer, each with the sentence that recommends it. null means the source that answered cannot report them.","items":{"properties":{"name":{"description":"Name of the recommended product, brand or option.","type":"string"},"text":{"description":"The sentence of the answer that recommends it.","type":"string"}},"required":["name"],"type":"object"},"type":["array","null"]},"researchSources":{"description":"Pages Copilot searched while researching the answer. A different list from citations: a page here was read but is not necessarily cited. null means the source that answered cannot report them.","items":{"properties":{"snippet":{"description":"Excerpt of the page Copilot shows, null when it shows none.","type":["string","null"]},"title":{"description":"Title of the page, empty when Copilot shows none.","type":"string"},"url":{"description":"URL of the page.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]},"tables":{"description":"Tables in the answer, e.g. a comparison table. null means the source that answered cannot report them.","items":{"properties":{"caption":{"description":"Table caption, null when the table has none.","type":["string","null"]},"headers":{"description":"Column headers.","items":{"type":"string"},"type":"array"},"rows":{"description":"Table rows, each a list of cell texts in column order.","items":{"items":{"type":"string"},"type":"array"},"type":"array"}},"type":"object"},"type":["array","null"]}},"required":["prompt","answer","answerMarkdown","citations","inlineCitations","recommendations","tables","complete","additionalSections","researchSources"],"type":"object"}]},"found":{"description":"Whether Copilot returned an answer.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Microsoft Copilot Search output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Microsoft Copilot Search","tags":["bing"],"x-mint":{"href":"/api-reference/bing/copilot"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bing.search":{"post":{"description":"Run a Bing web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) plus Bing's related searches as clean JSON. Returns up to 10 results per call; pick the country Bing searches from.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Bing Search pricing and uptime](https://getanyapi.com/api/bing/search) - live USD price, lane routing, and measured 30-day uptime. [Every Bing endpoint](https://getanyapi.com/api/bing).","operationId":"bing_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"US","limit":10,"query":"best espresso machines"},"schema":{"additionalProperties":false,"example":{"country":"US","limit":10,"query":"best espresso machines"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"ISO-3166 alpha-2 country Bing searches from, e.g. US, GB, DE. Bing ranks and localizes results for that country and its main language. Common countries are served by every source; a country only some sources cover is served by those, and one no source covers is refused with no charge.","pattern":"^[A-Z]{2}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum number of organic results to return (1-10, default 10). Bing serves about 10 organic results per page, and some queries carry fewer.","maximum":10,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Bing search query.","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `siteName` or `publishedUtc`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["answer","peopleAlsoAsk","publishedUtc","question","siteName"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Bing Search input","type":"object","x-aliases":{"q":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The organic results and related searches, or null when Bing returned none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Organic results in Bing's ranked order. Ads are not included. Populated whenever the provider has data for the entity.","items":{"properties":{"displayUrl":{"description":"The URL as Bing displays it under the title, e.g. a host or a breadcrumb path. Its format differs by source. null when the source did not send one.","type":["string","null"]},"domain":{"description":"Host of the result URL without a leading www., e.g. seriouseats.com.","type":["string","null"]},"position":{"description":"1-based rank of the result on the page. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"publishedUtc":{"description":"Page date Bing shows for the result. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. null when Bing shows no date or the source that answered cannot report it.","type":["integer","null"]},"siteName":{"description":"Site name Bing shows beside the result, e.g. Serious Eats. null means the source that answered cannot report it.","type":["string","null"]},"snippet":{"description":"Text excerpt Bing shows under the result, often led by the page date. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Result title as Bing shows it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Destination URL of the result. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["position","title","url","displayUrl","domain","siteName","publishedUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"peopleAlsoAsk":{"description":"Bing's People also ask questions with the answer it shows. An empty array means Bing showed none; null means the source that answered cannot report them.","items":{"properties":{"answer":{"description":"The answer Bing shows under the question, null when it shows none.","type":["string","null"]},"question":{"description":"The question.","type":"string"},"title":{"description":"Title of the page the answer is taken from, null when Bing names none.","type":["string","null"]},"url":{"description":"URL of the page the answer is taken from, null when Bing links none.","type":["string","null"]}},"required":["question"],"type":"object"},"type":["array","null"]},"query":{"description":"The query Bing searched.","type":"string"},"relatedSearches":{"description":"Bing's related searches for the query. An empty array means Bing showed none; null means the source that answered cannot report them.","items":{"type":"string"},"type":["array","null"]}},"required":["query","items","relatedSearches","peopleAlsoAsk"],"type":"object"}]},"found":{"description":"Whether Bing returned organic results for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Bing Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Bing Search","tags":["bing"],"x-mint":{"href":"/api-reference/bing/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bluesky.post":{"post":{"description":"Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Bluesky Post pricing and uptime](https://getanyapi.com/api/bluesky/post) - live USD price, lane routing, and measured 30-day uptime. [Every Bluesky endpoint](https://getanyapi.com/api/bluesky).","operationId":"bluesky_post","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"},"schema":{"additionalProperties":false,"example":{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Bluesky post URL, e.g. \"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l\".","type":"string"}},"required":["url"],"title":"Bluesky post input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The post record, or null when nothing was found.","oneOf":[{"type":"null"},{"properties":{"authorHandle":{"description":"Handle of the account that authored the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorImage":{"description":"Avatar URL of the account that posted.","type":"string"},"authorName":{"description":"Display name of the account that posted.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Bluesky record key of the post.","type":"string"},"likes":{"description":"Number of likes on the post.","type":"integer"},"replies":{"description":"Number of replies to the post.","type":"integer"},"reposts":{"description":"Number of reposts of the post.","type":"integer"},"text":{"description":"The post's text content. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["text","authorHandle","likes","replies","reposts","createdUtc"],"type":"object"}]},"found":{"description":"True when the post was found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Bluesky post output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Bluesky Post","tags":["bluesky"],"x-mint":{"href":"/api-reference/bluesky/post"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bluesky.profile":{"post":{"description":"Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Bluesky Profile pricing and uptime](https://getanyapi.com/api/bluesky/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Bluesky endpoint](https://getanyapi.com/api/bluesky).","operationId":"bluesky_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"bsky.app"},"schema":{"additionalProperties":false,"example":{"handle":"bsky.app"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Bluesky handle, e.g. \"bsky.app\" or \"jay.bsky.team\".","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Bluesky profile input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"avatarUrl":{"description":"Avatar URL of the account.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the account was created. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"description":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"displayName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"followers":{"type":"integer"},"following":{"type":"integer"},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Bluesky decentralized identifier (DID) of the account.","type":"string"},"postsCount":{"type":"integer"}},"required":["handle","displayName","description","followers","following","postsCount"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Bluesky profile output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Bluesky Profile","tags":["bluesky"],"x-mint":{"href":"/api-reference/bluesky/profile"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/bluesky.user_posts":{"post":{"description":"List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Bluesky User Posts pricing and uptime](https://getanyapi.com/api/bluesky/user-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Bluesky endpoint](https://getanyapi.com/api/bluesky).","operationId":"bluesky_user_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"bsky.app"},"schema":{"additionalProperties":false,"example":{"handle":"bsky.app"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Bluesky handle, e.g. \"bsky.app\" or \"jay.bsky.team\".","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Bluesky user posts input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the posts array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"posts":{"description":"The account's recent posts. Populated whenever the provider has data for the entity.","items":{"properties":{"authorHandle":{"description":"Handle of the account that authored the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorImage":{"description":"Avatar URL of the account that posted.","type":"string"},"authorName":{"description":"Display name of the account that posted.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Bluesky record key of the post.","type":"string"},"likes":{"description":"Number of likes on the post.","type":"integer"},"replies":{"description":"Number of replies to the post.","type":"integer"},"reposts":{"description":"Number of reposts of the post.","type":"integer"},"text":{"description":"The post's text content. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["text","authorHandle","likes","replies","reposts","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts"],"type":"object"}]},"found":{"description":"True when the account's posts were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Bluesky user posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Bluesky User Posts","tags":["bluesky"],"x-mint":{"href":"/api-reference/bluesky/user-posts"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/booking.search":{"post":{"description":"Search Booking.com stays by destination and dates with optional guest and room occupancy and get hotel results (name, price, review score, location) as normalized JSON.\n\n**Price:** billed per result - \\$2.20 per 1,000 requests base + \\$4.95 per 1,000 results, capped at \\$102.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Booking.com Search pricing and uptime](https://getanyapi.com/api/booking/search) - live USD price, lane routing, and measured 30-day uptime. [Every Booking endpoint](https://getanyapi.com/api/booking).","operationId":"booking_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"adults":2,"checkIn":"2026-12-16","checkOut":"2026-12-18","limit":3,"query":"New York"},"schema":{"additionalProperties":false,"example":{"adults":2,"checkIn":"2026-12-16","checkOut":"2026-12-18","limit":3,"query":"New York"},"properties":{"adults":{"description":"Number of adult guests (e.g. 2).","minimum":1,"type":"integer"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"checkIn":{"description":"Check-in date in YYYY-MM-DD format (e.g. 2026-07-01). Defaults to tomorrow.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"checkOut":{"description":"Check-out date in YYYY-MM-DD format (e.g. 2026-07-05). Defaults to the day after check-in.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"children":{"description":"Number of child guests (e.g. 1).","minimum":0,"type":"integer"},"currency":{"default":"USD","description":"Currency code for prices (e.g. EUR).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of hotels to return (1-20, default 20). Some sources bill per result returned, so a lower limit can cost less.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Destination city to search for stays in (e.g. Paris).","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `discountBadge`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["discountBadge"],"type":"string"},"type":"array","uniqueItems":true},"rooms":{"description":"Number of rooms to book (e.g. 1).","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Booking.com search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Hotel result records: name, price, review score, star rating, address, and location. Populated whenever the provider has data for the entity.","items":{"properties":{"address":{"type":"string"},"city":{"type":"string"},"country":{"description":"ISO country code.","type":"string"},"currency":{"type":"string"},"discountBadge":{"description":"Promotion label Booking.com shows on the offer (e.g. Getaway Deal). Not every source returns it; name it in requireFields to be served by one that does.","type":["string","null"]},"distanceFromCenter":{"description":"Distance from the city center as Booking.com phrases it.","type":"string"},"freeCancellation":{"description":"Whether the offer can be cancelled free of charge.","type":"boolean"},"id":{"description":"Booking.com hotel identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Primary hotel photo URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isClosed":{"description":"Whether the property is closed.","type":"boolean"},"isSoldOut":{"description":"Whether the property is sold out for the requested dates.","type":"boolean"},"latitude":{"type":"number"},"location":{"description":"Neighborhood or area label.","type":"string"},"longitude":{"type":"number"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"noPrepayment":{"description":"Whether the offer needs no payment up front.","type":"boolean"},"originalPrice":{"description":"Pre-discount total stay price in the requested currency.","type":"number"},"price":{"description":"Total stay price in the requested currency.","type":"number"},"pricePerNight":{"type":"number"},"rating":{"description":"Guest review score (0-10).","type":"number"},"reviewScore":{"description":"Guest review score (0-10).","type":"number"},"reviewScoreLabel":{"description":"Word Booking.com uses for the review score (e.g. Fabulous).","type":"string"},"reviewsCount":{"type":"integer"},"roomId":{"description":"Identifier of the room the quoted price is for.","type":"string"},"stars":{"description":"Star rating class (1-5).","type":"integer"},"thumbnail":{"description":"Small hotel photo URL.","type":"string"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Booking.com search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Booking.com Search","tags":["booking"],"x-mint":{"href":"/api-reference/booking/search"},"x-payment-info":{"price":{"currency":"USD","max":"0.102000","min":"0.002200","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.103000","min":"0.003200","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.102000","min":"0.002200","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/brave.search":{"post":{"description":"Run a Brave web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON. Brave answers from its own independent index. Returns up to 20 results per call, with related searches and video results where the source has them; page deeper with page and pick the country Brave searches from.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Brave Search pricing and uptime](https://getanyapi.com/api/brave/search) - live USD price, lane routing, and measured 30-day uptime. [Every Brave endpoint](https://getanyapi.com/api/brave).","operationId":"brave_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"US","limit":20,"query":"best running shoes"},"schema":{"additionalProperties":false,"example":{"country":"US","limit":20,"query":"best running shoes"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"ISO-3166 alpha-2 country Brave searches from, e.g. US, GB, DE. Brave ranks and localizes results for that country. Only the countries Brave offers are accepted; US is served by every source and the others by the sources that can target them.","enum":["AR","AU","AT","BE","BR","CA","CL","CN","DK","FI","FR","DE","GR","HK","IN","ID","IT","JP","KR","MY","MX","NL","NZ","NO","PL","PT","PH","RU","SA","SG","ZA","ES","SE","CH","TW","TR","GB","US"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of organic results to return (1-20, default 20). Brave serves about 20 organic results per page, and some queries carry fewer.","maximum":20,"minimum":1,"type":"integer"},"page":{"default":1,"description":"Which page of Brave results to return, starting at 1 (up to 10); a page holds about 20 results. Each page is billed as one request. Pages after the first are served only for country US, by the one source that continues each page exactly where the last ended. A limit below the page size drops the rest of that page, so keep the default limit to walk every result.","maximum":10,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Brave search query.","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `relatedSearches` or `publishedUtc`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["durationSeconds","image","publishedUtc","relatedSearches","source","videos"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Brave Search input","type":"object","x-aliases":{"q":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The organic results, or null when Brave returned none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Organic results in Brave's ranked order. Ads are not included. Populated whenever the provider has data for the entity.","items":{"properties":{"displayUrl":{"description":"The URL as Brave displays it under the title, e.g. a host or a breadcrumb path. Its format differs by source. null when the source did not send one.","type":["string","null"]},"domain":{"description":"Host of the result URL without a leading www., e.g. runnersworld.com.","type":["string","null"]},"position":{"description":"1-based rank of the result. On page 2 and later, some sources count from the top of page 1 and others from the top of the page returned. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"publishedUtc":{"description":"Page date Brave shows for the result. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. null when Brave shows no date or the source that answered cannot report it.","type":["integer","null"]},"snippet":{"description":"Text excerpt Brave shows under the result, often led by the page date. Absent on the results where Brave shows none. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Result title as Brave shows it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Destination URL of the result. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["position","title","url","displayUrl","domain"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"query":{"description":"The query Brave searched.","type":"string"},"relatedSearches":{"description":"Brave's related searches for the query. An empty array means Brave showed none; null means the source that answered cannot report them.","items":{"type":"string"},"type":["array","null"]},"videos":{"description":"Video results Brave shows for the query. An empty array means Brave showed none; null means the source that answered cannot report them.","items":{"properties":{"durationSeconds":{"description":"Video length in seconds; null when Brave shows none.","type":["integer","null"]},"image":{"description":"Thumbnail image URL.","type":["string","null"]},"publishedUtc":{"description":"Date Brave shows for the video. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. null when Brave shows no date.","type":["integer","null"]},"source":{"description":"Site hosting the video, e.g. YouTube.","type":["string","null"]},"title":{"description":"Video title as Brave shows it.","type":["string","null"]},"url":{"description":"URL of the video page.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]}},"required":["query","items"],"type":"object"}]},"found":{"description":"Whether Brave returned organic results for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Brave Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Brave Search","tags":["brave"],"x-mint":{"href":"/api-reference/brave/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/capterra.reviews":{"post":{"description":"Pull Capterra software reviews for any product: overall and sub-ratings, pros and cons, reviewer job title, company size, and industry as clean JSON.\n\n**Price:** billed per result - \\$5.50 per 1,000 requests base + \\$0.77 per 1,000 results, capped at \\$82.50 per 1,000 requests.\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Capterra Reviews pricing and uptime](https://getanyapi.com/api/capterra/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every Capterra endpoint](https://getanyapi.com/api/capterra).","operationId":"capterra_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":25,"product":"https://www.capterra.com/p/135003/Slack/","sortBy":"recent"},"schema":{"additionalProperties":false,"example":{"limit":25,"product":"https://www.capterra.com/p/135003/Slack/","sortBy":"recent"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":25,"description":"Maximum number of reviews to return. The minimum is 10 because the cheapest Capterra review source will not serve a smaller page. You are billed per returned result, so a lower limit costs less.","maximum":100,"minimum":10,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"product":{"description":"Capterra product URL, for example https://www.capterra.com/p/135003/Slack/. Capterra identifies a product by both its numeric id and its slug, so the full URL is required.","maxLength":300,"minLength":10,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `ownerResponse`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["ownerResponse"],"type":"string"},"type":"array","uniqueItems":true},"sortBy":{"default":"recent","description":"Sort order for the returned reviews: newest first, most complete first, or highest or lowest rated first.","enum":["recent","complete","highest","lowest"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["product"],"title":"Capterra Reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Capterra reviews for the requested product. Populated whenever the provider has data for the entity.","items":{"properties":{"alternativesConsidered":{"description":"Products the reviewer evaluated before choosing this one.","items":{"properties":{"id":{"description":"Capterra identifier for the alternative product.","type":"string"},"name":{"description":"Name of the alternative product.","type":"string"},"slug":{"description":"Capterra slug of the alternative product.","type":"string"}},"type":"object"},"type":"array"},"anonymous":{"description":"Whether the reviewer chose to stay anonymous.","type":"boolean"},"author":{"description":"Reviewer's display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorCompanySize":{"description":"Employee-count band of the reviewer's company, for example 11-50 employees. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorIndustry":{"description":"Industry of the reviewer's company. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorTitle":{"description":"Reviewer's job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"chosenReasons":{"description":"The reviewer's stated reason for choosing this product over the alternatives.","type":"string"},"comments":{"description":"The reviewer's overall comments about using the product. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"cons":{"description":"What the reviewer disliked about the product. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"customerSupportRating":{"description":"Reviewer's customer support rating, on a 1 to 5 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"easeOfUseRating":{"description":"Reviewer's ease of use rating, on a 1 to 5 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"functionalityRating":{"description":"Reviewer's functionality rating, on a 1 to 5 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Capterra identifier for the review. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"incentivized":{"description":"Whether the reviewer received an incentive for the review (for example a nominal gift); null when the source does not say. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"ownerResponse":{"description":"The vendor's public reply to the review.","type":"string"},"productUrl":{"description":"Canonical Capterra URL for the reviewed product. Capterra has no per-review permalink; anchor to a review with productUrl, then # and the review id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pros":{"description":"What the reviewer liked about the product. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"rating":{"description":"Overall star rating the reviewer gave, on a 1 to 5 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"recommendationScore":{"description":"How likely the reviewer is to recommend the product, on a 0 to 10 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"reviewSource":{"description":"Capterra's explanation of how the review was collected and whether any incentive was offered.","type":"string"},"sourceSite":{"description":"Which site in Capterra's review network the review was written on, for example Capterra, GetApp, or Software Advice. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"switchedFrom":{"description":"Products the reviewer switched away from to this one.","items":{"properties":{"id":{"description":"Capterra identifier for the previous product.","type":"string"},"name":{"description":"Name of the previous product.","type":"string"},"slug":{"description":"Capterra slug of the previous product.","type":"string"}},"type":"object"},"type":"array"},"switchingReasons":{"description":"The reviewer's stated reason for switching to this product.","type":"string"},"timeUsedProduct":{"description":"How long the reviewer has used the product, for example 2+ years. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Headline the reviewer gave the review. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"validated":{"description":"Whether Capterra validated the reviewer's identity. Populated whenever the provider has data for the entity.","type":"boolean","x-anyapi-must-populate":true},"valueForMoneyRating":{"description":"Reviewer's value for money rating, on a 1 to 5 scale. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"verifiedLinkedIn":{"description":"Whether the reviewer verified their identity through LinkedIn. Populated whenever the provider has data for the entity.","type":"boolean","x-anyapi-must-populate":true}},"required":["id","rating"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Capterra Reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Capterra Reviews","tags":["capterra"],"x-mint":{"href":"/api-reference/capterra/reviews"},"x-payment-info":{"price":{"currency":"USD","max":"0.082500","min":"0.005500","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.083500","min":"0.006500","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.082500","min":"0.005500","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/chatgpt.search":{"post":{"description":"Ask ChatGPT a web-grounded question and receive an answer with source citations. ChatGPT composes each answer per request, so the same prompt returns different wording and a different source set.\n\n**Price:** \\$1.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [ChatGPT Search pricing and uptime](https://getanyapi.com/api/chatgpt/search) - live USD price, lane routing, and measured 30-day uptime. [Every Chatgpt endpoint](https://getanyapi.com/api/chatgpt).","operationId":"chatgpt_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"schema":{"additionalProperties":false,"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"ISO-3166 alpha-2 country to ask from, e.g. US, GB, DE. ChatGPT localizes both the pages it retrieves and the answer it writes, so this is the difference between what a US buyer and a UK buyer are told.","pattern":"^[A-Z]{2}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"Question or research prompt for ChatGPT to answer using web search.","maxLength":2000,"minLength":1,"type":"string"},"requireAds":{"default":false,"description":"Serve only from a source that can return sponsored placements shown with the answer. One source currently qualifies, so the request cannot fall back when it is unavailable.","type":"boolean"},"requireEntities":{"default":false,"description":"Serve only from a source that can return brands and other named entities recognized in the answer. One source currently qualifies, so the request cannot fall back when it is unavailable.","type":"boolean"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `cited` or `ads`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["address","ads","advertiserName","advertiserUrl","answerPosition","category","cited","createdUtc","currency","description","domain","entities","model","name","phone","places","position","reviewCount","searchQueries","searchResults","snippet","webSearchTriggered","websiteUrl"],"type":"string"},"type":"array","uniqueItems":true},"requirePlaces":{"default":false,"description":"Serve only from a source that can return places shown with the answer. Leaving this off still returns places whenever the source that answered can. Turning it on selects the single source that guarantees them, which costs more and has nothing to fall back to if it is unavailable.","type":"boolean"},"requireShoppingCards":{"default":false,"description":"Serve only from a source that can return shopping cards shown with the answer. Leaving this off still returns shopping cards whenever the source that answered can. Turning it on selects the single source that guarantees them, which costs more and has nothing to fall back to if it is unavailable.","type":"boolean"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"webSearch":{"default":"force","description":"Whether to insist ChatGPT browses the web. force instructs it to search and is the default; auto lets ChatGPT decide, which is cheaper and answers from memory roughly half the time. Check webSearchTriggered for what actually happened - an answer written without a search is not web-grounded.","enum":["force","auto"],"type":"string"}},"required":["prompt"],"title":"ChatGPT Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The normalized answer and citations, or null when no answer was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"ads":{"description":"Sponsored placements ChatGPT displayed with the answer. null means the source that answered cannot report ads; an empty array means none were shown.","items":{"properties":{"advertiserName":{"description":"Advertiser name.","type":["string","null"]},"advertiserUrl":{"description":"Advertiser URL, tracking parameters stripped.","format":"uri","type":["string","null"]},"domain":{"description":"Advertised domain.","type":["string","null"]},"image":{"description":"Sponsored image URL.","format":"uri","type":["string","null"]},"snippet":{"description":"Sponsored placement text.","type":["string","null"]},"title":{"description":"Sponsored placement title.","type":"string"},"url":{"description":"Sponsored destination URL, tracking parameters stripped.","format":"uri","type":["string","null"]}},"required":["title"],"type":"object"},"type":["array","null"]},"answer":{"description":"The web-grounded answer as text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"answerMarkdown":{"description":"The answer in Markdown when the engine returns a Markdown rendering, otherwise the same text as answer. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"citations":{"description":"Sources cited by the answer. Populated whenever the provider has data for the entity.","items":{"properties":{"answerPosition":{"description":"One-based answer section where ChatGPT cited this source. null means the source that answered cannot report the position.","type":["integer","null"]},"title":{"description":"Source page title when supplied by the search engine.","type":"string"},"url":{"description":"Source page URL.","format":"uri","type":"string"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. null means the source that answered does not report when it answered.","type":["number","null"]},"entities":{"description":"Brands and other named entities recognized in the answer. null means the source that answered cannot report them; an empty array means none were identified.","items":{"properties":{"category":{"description":"Entity category.","type":["string","null"]},"domain":{"description":"Entity domain.","type":["string","null"]},"title":{"description":"Entity name.","type":"string"},"url":{"description":"Entity URL, tracking parameters stripped.","format":"uri","type":["string","null"]}},"required":["title"],"type":"object"},"type":["array","null"]},"model":{"description":"The ChatGPT model that produced the answer. null means the source that answered does not report it, which is not the same as an unknown model.","type":["string","null"]},"places":{"description":"Places and local businesses ChatGPT displayed with the answer. null means the source that answered cannot report them; an empty array means none were shown.","items":{"properties":{"address":{"description":"Place address as displayed.","type":["string","null"]},"category":{"description":"Place category shown by ChatGPT.","type":["string","null"]},"description":{"description":"Place description shown by ChatGPT.","type":["string","null"]},"name":{"description":"Place or business name.","type":"string"},"phone":{"description":"Place phone number as displayed.","type":["string","null"]},"position":{"description":"One-based position in the places block.","type":"integer"},"rating":{"description":"Place rating when the source reports one.","type":["number","null"]},"reviewCount":{"description":"Number of reviews behind the displayed rating.","type":["integer","null"]},"websiteUrl":{"description":"Place website URL with tracking parameters stripped; an id parameter is kept, since a page such as Facebook profile.php needs it.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":["array","null"]},"prompt":{"description":"The prompt answered by ChatGPT.","type":"string"},"searchQueries":{"description":"The web search queries ChatGPT ran to ground its answer. null means the source that answered cannot report them; an empty array means it searched with none recorded.","items":{"type":"string"},"type":["array","null"]},"searchResults":{"description":"Pages ChatGPT retrieved while answering. A SUPERSET of citations: a page can be read and not cited. null means the source that answered cannot report them.","items":{"properties":{"cited":{"description":"Whether this retrieved page made it into citations. false means ChatGPT read the page and chose not to cite it, which is a different and more actionable fact than the page being absent.","type":"boolean"},"title":{"description":"Title of the retrieved page, empty when the source did not send one.","type":"string"},"url":{"description":"Canonical URL of the retrieved page, tracking parameters stripped.","format":"uri","type":"string"}},"type":"object"},"type":["array","null"]},"shoppingCards":{"description":"Products ChatGPT displayed with the answer. null means the source that answered cannot report shopping cards; an empty array means none were shown.","items":{"properties":{"currency":{"description":"ISO 4217 currency code when the source reports it.","type":["string","null"]},"description":{"description":"Product description shown on the shopping card.","type":["string","null"]},"image":{"description":"Product image URL.","format":"uri","type":["string","null"]},"merchants":{"description":"Merchant name shown on the shopping card.","type":["string","null"]},"price":{"description":"Displayed product price as a number when the source reports one.","type":["number","null"]},"rating":{"description":"Product rating when the source reports one.","type":["number","null"]},"title":{"description":"Product name shown by ChatGPT.","type":"string"},"url":{"description":"Product page URL with its query kept, since the query can name the product variant (e.g. color and size).","format":"uri","type":["string","null"]}},"required":["title"],"type":"object"},"type":["array","null"]},"webSearchTriggered":{"description":"Whether ChatGPT actually ran a web search before answering. ChatGPT decides this per session, and an answer written without one is not web-grounded. null means the source that answered cannot report it, which is not the same as false.","type":["boolean","null"]}},"required":["prompt","answer","answerMarkdown","citations"],"type":"object"}]},"found":{"description":"Whether ChatGPT returned a web-grounded answer.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"ChatGPT Search output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"ChatGPT Search","tags":["chatgpt"],"x-mint":{"href":"/api-reference/chatgpt/search"},"x-payment-info":{"price":{"amount":"0.001800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/coinmarketcap.listings":{"post":{"description":"Get the current top cryptocurrencies from CoinMarketCap (rank, price, market cap, volume, and 24h change) as normalized JSON.\n\n**Price:** billed per result - \\$1.98 per 1,000 results, capped at \\$49.50 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [CoinMarketCap Listings pricing and uptime](https://getanyapi.com/api/coinmarketcap/listings) - live USD price, lane routing, and measured 30-day uptime. [Every Coinmarketcap endpoint](https://getanyapi.com/api/coinmarketcap).","operationId":"coinmarketcap_listings","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":5},"schema":{"additionalProperties":false,"example":{"limit":5},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.","maximum":25,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"CoinMarketCap listings input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Cryptocurrency listing records: rank, name, symbol, price, market cap, trading volume, and 24h price change. Populated whenever the provider has data for the entity.","items":{"properties":{"active":{"description":"Whether CoinMarketCap still tracks the coin as active.","type":"boolean"},"ath":{"description":"All-time high price in USD.","type":"number"},"atl":{"description":"All-time low price in USD.","type":"number"},"circulatingSupply":{"description":"Circulating supply (coin count).","type":"number"},"createdUtc":{"description":"When CoinMarketCap first listed the coin. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"dominance":{"description":"Share of total crypto market capitalization, in percent.","type":"number"},"fullyDilutedMarketCap":{"description":"Fully diluted market capitalization in USD (total supply at the current price).","type":"number"},"high24h":{"description":"24h high price in USD.","type":"number"},"id":{"description":"CoinMarketCap identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"lastUpdated":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"low24h":{"description":"24h low price in USD.","type":"number"},"marketCap":{"description":"Market capitalization in USD.","type":"number"},"marketPairCount":{"description":"Number of exchange market pairs trading this coin.","type":"integer"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"percentChange1h":{"description":"Price change over the last hour, in percent.","type":"number"},"percentChange1y":{"description":"Price change over the last year, in percent.","type":"number"},"percentChange24h":{"description":"Price change over the last 24 hours, in percent.","type":"number"},"percentChange30d":{"description":"Price change over the last 30 days, in percent.","type":"number"},"percentChange60d":{"description":"Price change over the last 60 days, in percent.","type":"number"},"percentChange7d":{"description":"Price change over the last 7 days, in percent.","type":"number"},"percentChange90d":{"description":"Price change over the last 90 days, in percent.","type":"number"},"percentChangeYtd":{"description":"Price change year to date, in percent.","type":"number"},"price":{"description":"Latest price in USD.","type":"number"},"selfReportedCirculatingSupply":{"description":"Circulating supply as reported by the project itself (coin count).","type":"number"},"slug":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"symbol":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"totalSupply":{"description":"Total supply (coin count).","type":"number"},"turnover":{"description":"24h trading volume divided by market capitalization.","type":"number"},"volume24h":{"description":"24h trading volume in USD.","type":"number"},"volume30d":{"description":"30-day trading volume in USD.","type":"number"},"volume7d":{"description":"7-day trading volume in USD.","type":"number"}},"required":["id","name","symbol"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"CoinMarketCap listings output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"CoinMarketCap Listings","tags":["coinmarketcap"],"x-mint":{"href":"/api-reference/coinmarketcap/listings"},"x-payment-info":{"price":{"currency":"USD","max":"0.049500","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.050500","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.049500","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato":{"post":{"description":"Enrich one company into firmographics, funding, revenue estimate, headcount history, web traffic, social following, offices, technologies and open jobs from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$180.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Enrichment - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"alternateNames":{"description":"Other names the company is known by.","items":{"type":"string"},"type":["array","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"companyId":{"description":"Aviato company id. Send it back as the companyId input of any Aviato company SKU.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"crunchbaseUrl":{"description":"Crunchbase profile URL.","format":"uri","type":["string","null"]},"customerTypes":{"description":"Customer types served, e.g. B2B.","items":{"type":"string"},"type":["array","null"]},"description":{"description":"Company description.","type":["string","null"]},"domain":{"description":"Primary website domain.","type":["string","null"]},"employeesMax":{"description":"High end of the company's stated employee range.","type":["integer","null"]},"employeesMin":{"description":"Low end of the company's stated employee range.","type":["integer","null"]},"facebookLikes":{"description":"Facebook page likes.","type":["integer","null"]},"facebookUrl":{"description":"Facebook page URL.","format":"uri","type":["string","null"]},"financingStatus":{"description":"Financing status, e.g. Venture Capital-Backed.","type":["string","null"]},"foundedUtc":{"description":"When the company was founded. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"fundingRoundCount":{"description":"Number of funding rounds.","type":["integer","null"]},"headcount":{"description":"Current employee count.","type":["integer","null"]},"headcountGrowth":{"description":"Headcount change over recent periods.","properties":{"monthlyChange":{"description":"Change in headcount over the last month.","type":["number","null"]},"monthlyPercent":{"description":"Change in headcount over the last month, as a fraction (0.18 is 18 percent).","type":["number","null"]},"quarterlyChange":{"description":"Change in headcount over the last three months.","type":["number","null"]},"quarterlyPercent":{"description":"Change in headcount over the last three months, as a fraction (0.18 is 18 percent).","type":["number","null"]},"yearlyChange":{"description":"Change in headcount over the last year.","type":["number","null"]},"yearlyPercent":{"description":"Change in headcount over the last year, as a fraction (0.18 is 18 percent).","type":["number","null"]}},"type":["object","null"]},"headcountHistory":{"description":"Monthly headcount history, oldest first.","items":{"properties":{"headcount":{"description":"Employee count that month.","type":["integer","null"]},"monthUtc":{"description":"Start of the month. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]}},"type":"object"},"type":["array","null"]},"industries":{"description":"Aviato industry labels, e.g. Software \u0026 SaaS.","items":{"type":"string"},"type":["array","null"]},"investorCount":{"description":"Number of investors.","type":["integer","null"]},"isAcquired":{"description":"True when the company has been acquired.","type":["boolean","null"]},"isExited":{"description":"True when the company has exited.","type":["boolean","null"]},"isGovernment":{"description":"True for a government body.","type":["boolean","null"]},"isNonProfit":{"description":"True for a non-profit.","type":["boolean","null"]},"isShutDown":{"description":"True when the company has shut down.","type":["boolean","null"]},"jobOpenings":{"description":"Open job listings.","items":{"properties":{"isRemote":{"description":"True when the job is remote.","type":["boolean","null"]},"title":{"description":"Job title.","type":["string","null"]},"url":{"description":"Job listing URL.","format":"uri","type":["string","null"]}},"type":"object"},"type":["array","null"]},"latestDealAmountUsd":{"description":"Size of the latest deal, in USD.","type":["number","null"]},"latestDealType":{"description":"Type of the latest deal, e.g. Series E.","type":["string","null"]},"latestDealUtc":{"description":"When the latest deal closed. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"legalName":{"description":"Registered legal name.","type":["string","null"]},"linkedinCompanyId":{"description":"LinkedIn's own numeric identifier for the company page.","type":["string","null"]},"linkedinFollowers":{"description":"LinkedIn followers.","type":["integer","null"]},"linkedinIndustries":{"description":"Industries the company lists on LinkedIn.","items":{"type":"string"},"type":["array","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"linkedinUsername":{"description":"LinkedIn company page vanity name.","type":["string","null"]},"monthlyWebVisits":{"description":"Estimated website visits in the latest month.","type":["integer","null"]},"name":{"description":"Company name.","type":["string","null"]},"offices":{"description":"Office locations.","items":{"properties":{"city":{"description":"Office city.","type":["string","null"]},"country":{"description":"Office country code, e.g. US.","type":["string","null"]},"headquarters":{"description":"True for the headquarters.","type":["boolean","null"]},"latitude":{"description":"Latitude.","type":["number","null"]},"longitude":{"description":"Longitude.","type":["number","null"]}},"type":"object"},"type":["array","null"]},"ownershipStatus":{"description":"Ownership status, e.g. Privately Held (backing).","type":["string","null"]},"region":{"description":"Headquarters state or region.","type":["string","null"]},"revenue":{"description":"Estimated annual revenue range in USD, or null when Aviato holds no estimate.","properties":{"band":{"description":"Revenue band, e.g. $10M-$50M.","type":["string","null"]},"confidence":{"description":"Aviato's confidence in the estimate, e.g. high.","type":["string","null"]},"highUsd":{"description":"High end of the estimate, in USD.","type":["number","null"]},"lowUsd":{"description":"Low end of the estimate, in USD.","type":["number","null"]},"midUsd":{"description":"Midpoint of the estimate, in USD.","type":["number","null"]}},"type":["object","null"]},"status":{"description":"Operating status, e.g. active.","type":["string","null"]},"tagline":{"description":"One-line tagline.","type":["string","null"]},"targetMarkets":{"description":"Target markets, e.g. business.","items":{"type":"string"},"type":["array","null"]},"technologies":{"description":"Technologies the company is seen using.","items":{"type":"string"},"type":["array","null"]},"totalFundingUsd":{"description":"Total funding raised, in USD.","type":["number","null"]},"twitterFollowers":{"description":"X (Twitter) followers.","type":["integer","null"]},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - Aviato output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato"},"x-payment-info":{"price":{"amount":"0.180000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.181000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.180000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato_financials":{"post":{"description":"Get one company's financing and ownership status, latest deal, total funding, investor and acquisition counts, revenue estimate and every funding round from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$120.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Financials - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato-financials) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato_financials","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Financials - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company's financials, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"acquisitionCount":{"description":"Number of companies this company has acquired.","type":["integer","null"]},"financingStatus":{"description":"Financing status, e.g. Venture Capital-Backed.","type":["string","null"]},"fundingRounds":{"description":"Every funding round Aviato holds for the company.","items":{"properties":{"amountUsd":{"description":"Money raised in the round, in USD.","type":["number","null"]},"announcedUtc":{"description":"When the round was announced. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"companyInvestors":{"description":"Names of firms that took part in the round.","items":{"type":"string"},"type":["array","null"]},"leadCompanyInvestors":{"description":"Names of firms that led the round.","items":{"type":"string"},"type":["array","null"]},"leadPersonInvestors":{"description":"Names of individuals who led the round.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Round name, e.g. Series B - PostHog.","type":["string","null"]},"personInvestors":{"description":"Names of individuals who took part in the round.","items":{"type":"string"},"type":["array","null"]},"roundId":{"description":"Aviato funding round id.","type":["string","null"]},"stage":{"description":"Round stage, e.g. Seed or Series B.","type":["string","null"]},"valuationUsd":{"description":"Valuation at the round, in USD, when known.","type":["number","null"]}},"type":"object"},"type":["array","null"]},"investorCount":{"description":"Number of investors.","type":["integer","null"]},"latestDealAmountUsd":{"description":"Size of the latest deal, in USD.","type":["number","null"]},"latestDealType":{"description":"Type of the latest deal, e.g. Series E.","type":["string","null"]},"latestDealUtc":{"description":"When the latest deal closed. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"leadInvestorCount":{"description":"Number of investors that led a round.","type":["integer","null"]},"ownershipStatus":{"description":"Ownership status, e.g. Privately Held (backing).","type":["string","null"]},"revenue":{"description":"Estimated annual revenue range in USD, or null when Aviato holds no estimate.","properties":{"band":{"description":"Revenue band, e.g. $10M-$50M.","type":["string","null"]},"confidence":{"description":"Aviato's confidence in the estimate, e.g. high.","type":["string","null"]},"highUsd":{"description":"High end of the estimate, in USD.","type":["number","null"]},"lowUsd":{"description":"Low end of the estimate, in USD.","type":["number","null"]},"midUsd":{"description":"Midpoint of the estimate, in USD.","type":["number","null"]}},"type":["object","null"]},"totalFundingUsd":{"description":"Total funding raised, in USD.","type":["number","null"]}},"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Financials - Aviato output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Financials - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato-financials"},"x-payment-info":{"price":{"amount":"0.120000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.121000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.120000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato_founders":{"post":{"description":"List the founders of one company with their LinkedIn, X (Twitter) and Crunchbase profiles and an Aviato person id for Person Enrichment - Aviato, from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$12.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Founders - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato-founders) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato_founders","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Founders - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company's founders, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"founders":{"description":"Founders, in Aviato's order.","items":{"properties":{"crunchbaseUrl":{"description":"Crunchbase profile URL.","format":"uri","type":["string","null"]},"firstName":{"description":"First name, as the founder wrote it on their profile.","type":["string","null"]},"fullName":{"description":"Founder's full name.","type":["string","null"]},"lastName":{"description":"Last name, as the founder wrote it on their profile.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn profile URL.","format":"uri","type":["string","null"]},"location":{"description":"Location, e.g. San Francisco, California, United States.","type":["string","null"]},"personId":{"description":"Aviato person id. Send it back as the personId input of Person Enrichment - Aviato.","type":["string","null"]},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]}},"required":["fullName"],"type":"object"},"type":"array"},"totalResults":{"description":"Founders Aviato holds for the company.","type":["integer","null"]}},"required":["founders"],"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier, or no founder for it.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Founders - Aviato output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Founders - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato-founders"},"x-payment-info":{"price":{"amount":"0.012000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.013000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.012000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato_funding_rounds":{"post":{"description":"List one company's funding rounds with stage, date, amount raised, valuation where known, and the firms and individuals that led or joined each round, from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$12.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Funding Rounds - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato-funding-rounds) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato_funding_rounds","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Funding Rounds - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company's funding rounds, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"fundingRounds":{"description":"Funding rounds, in Aviato's order.","items":{"properties":{"amountUsd":{"description":"Money raised in the round, in USD.","type":["number","null"]},"announcedUtc":{"description":"When the round was announced. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"companyInvestors":{"description":"Names of firms that took part in the round.","items":{"type":"string"},"type":["array","null"]},"leadCompanyInvestors":{"description":"Names of firms that led the round.","items":{"type":"string"},"type":["array","null"]},"leadPersonInvestors":{"description":"Names of individuals who led the round.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Round name, e.g. Series B - PostHog.","type":["string","null"]},"personInvestors":{"description":"Names of individuals who took part in the round.","items":{"type":"string"},"type":["array","null"]},"roundId":{"description":"Aviato funding round id.","type":["string","null"]},"stage":{"description":"Round stage, e.g. Seed or Series B.","type":["string","null"]},"valuationUsd":{"description":"Valuation at the round, in USD, when known.","type":["number","null"]}},"required":["name"],"type":"object"},"type":"array"},"totalResults":{"description":"Funding rounds Aviato holds for the company.","type":["integer","null"]}},"required":["fundingRounds"],"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier, or no funding round for it.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Funding Rounds - Aviato output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Funding Rounds - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato-funding-rounds"},"x-payment-info":{"price":{"amount":"0.012000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.013000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.012000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato_social_metrics":{"post":{"description":"Get one company's LinkedIn, X (Twitter) and Facebook following, its weekly to yearly follower growth and the follower history behind it from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$60.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Social Metrics - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato-social-metrics) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato_social_metrics","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Social Metrics - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company's social metrics, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"facebookGrowth":{"description":"Change in Facebook likes over recent periods.","properties":{"monthlyChange":{"description":"Change in Facebook likes over the last month.","type":["number","null"]},"monthlyPercent":{"description":"Change in Facebook likes over the last month, as a fraction (0.18 is 18 percent).","type":["number","null"]},"quarterlyChange":{"description":"Change in Facebook likes over the last three months.","type":["number","null"]},"quarterlyPercent":{"description":"Change in Facebook likes over the last three months, as a fraction (0.18 is 18 percent).","type":["number","null"]},"weeklyChange":{"description":"Change in Facebook likes over the last week.","type":["number","null"]},"weeklyPercent":{"description":"Change in Facebook likes over the last week, as a fraction (0.18 is 18 percent).","type":["number","null"]},"yearlyChange":{"description":"Change in Facebook likes over the last year.","type":["number","null"]},"yearlyPercent":{"description":"Change in Facebook likes over the last year, as a fraction (0.18 is 18 percent).","type":["number","null"]}},"type":["object","null"]},"facebookHistory":{"description":"Facebook like counts over time, oldest first.","items":{"properties":{"dateUtc":{"description":"When the count was taken. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"likes":{"description":"Likes at that time.","type":["integer","null"]}},"type":"object"},"type":["array","null"]},"facebookLikes":{"description":"Facebook page likes.","type":["integer","null"]},"linkedinFollowers":{"description":"LinkedIn followers.","type":["integer","null"]},"twitterFollowers":{"description":"X (Twitter) followers.","type":["integer","null"]},"twitterGrowth":{"description":"Change in X (Twitter) followers over recent periods.","properties":{"monthlyChange":{"description":"Change in X (Twitter) followers over the last month.","type":["number","null"]},"monthlyPercent":{"description":"Change in X (Twitter) followers over the last month, as a fraction (0.18 is 18 percent).","type":["number","null"]},"quarterlyChange":{"description":"Change in X (Twitter) followers over the last three months.","type":["number","null"]},"quarterlyPercent":{"description":"Change in X (Twitter) followers over the last three months, as a fraction (0.18 is 18 percent).","type":["number","null"]},"weeklyChange":{"description":"Change in X (Twitter) followers over the last week.","type":["number","null"]},"weeklyPercent":{"description":"Change in X (Twitter) followers over the last week, as a fraction (0.18 is 18 percent).","type":["number","null"]},"yearlyChange":{"description":"Change in X (Twitter) followers over the last year.","type":["number","null"]},"yearlyPercent":{"description":"Change in X (Twitter) followers over the last year, as a fraction (0.18 is 18 percent).","type":["number","null"]}},"type":["object","null"]},"twitterHistory":{"description":"X (Twitter) follower counts over time, oldest first.","items":{"properties":{"dateUtc":{"description":"When the count was taken. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"followers":{"description":"Followers at that time.","type":["integer","null"]}},"type":"object"},"type":["array","null"]}},"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Social Metrics - Aviato output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Social Metrics - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato-social-metrics"},"x-payment-info":{"price":{"amount":"0.060000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.061000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.060000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.aviato_web_traffic":{"post":{"description":"Get one company's estimated monthly website visits, visit growth, traffic sources, top visitor countries and monthly visit history from a domain, a LinkedIn company URL, or an Aviato company id.\n\n**Price:** \\$36.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Web Traffic - Aviato pricing and uptime](https://getanyapi.com/api/company-enrichment/aviato-web-traffic) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_aviato_web_traffic","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["linkedinUrl"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Aviato company id, as any Aviato SKU's companyId output returns it.","minLength":1,"type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. A full URL works too; only its host is sent.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/posthog.","pattern":"(?i)linkedin\\.com/company/[^/?#]+","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Web Traffic - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company's web traffic, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"monthlyVisits":{"description":"Estimated website visits in the latest month.","type":["integer","null"]},"topCountries":{"description":"Countries sending the most visits.","items":{"properties":{"country":{"description":"Country name, lower case as Aviato gives it.","type":["string","null"]},"share":{"description":"Share of visits from the country, as a fraction of 1.","type":["number","null"]}},"type":"object"},"type":["array","null"]},"trafficSources":{"description":"Share of visits by source, each a fraction of 1.","properties":{"direct":{"description":"Share of visits typed in directly or bookmarked.","type":["number","null"]},"mail":{"description":"Share of visits from email.","type":["number","null"]},"paidReferrals":{"description":"Share of visits from paid placements.","type":["number","null"]},"referrals":{"description":"Share of visits from links on other sites.","type":["number","null"]},"search":{"description":"Share of visits from search engines.","type":["number","null"]},"social":{"description":"Share of visits from social networks.","type":["number","null"]}},"type":["object","null"]},"visitsGrowth":{"description":"Change in monthly visits over recent periods.","properties":{"monthlyChange":{"description":"Change in monthly visits over the last month.","type":["number","null"]},"monthlyPercent":{"description":"Change in monthly visits over the last month, as a fraction (0.18 is 18 percent).","type":["number","null"]},"quarterlyChange":{"description":"Change in monthly visits over the last three months.","type":["number","null"]},"quarterlyPercent":{"description":"Change in monthly visits over the last three months, as a fraction (0.18 is 18 percent).","type":["number","null"]},"yearlyChange":{"description":"Change in monthly visits over the last year.","type":["number","null"]},"yearlyPercent":{"description":"Change in monthly visits over the last year, as a fraction (0.18 is 18 percent).","type":["number","null"]}},"type":["object","null"]},"visitsHistory":{"description":"Monthly visit estimates, oldest first.","items":{"properties":{"monthUtc":{"description":"Start of the month. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"visits":{"description":"Estimated visits that month.","type":["integer","null"]}},"type":"object"},"type":["array","null"]}},"type":"object"}]},"found":{"description":"False when Aviato holds no company for the identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Web Traffic - Aviato output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Web Traffic - Aviato","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/aviato-web-traffic"},"x-payment-info":{"price":{"amount":"0.036000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.037000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.036000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.crustdata":{"post":{"description":"Enrich a company by domain, name, LinkedIn URL, or Crustdata identifier.\n\n**Price:** \\$96.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - Crustdata pricing and uptime](https://getanyapi.com/api/company-enrichment/crustdata) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_crustdata","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["companyDomain"]},{"required":["companyName"]},{"required":["companyLinkedinUrl"]},{"required":["companyId"]}],"example":{"companyDomain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyDomain":{"minLength":1,"type":"string"},"companyId":{"type":["string","integer"]},"companyLinkedinUrl":{"format":"uri","type":"string"},"companyName":{"minLength":1,"type":"string"},"exactMatch":{"type":"boolean"},"fields":{"oneOf":[{"minLength":1,"type":"string"},{"items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"}]},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Enrichment - Crustdata input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"acquisitionStatus":{"description":"Acquisition status, when the company has been acquired.","type":["string","null"]},"companyId":{"description":"Crustdata identifier for the company, accepted back as the companyId input.","type":["string","null"]},"companyType":{"description":"Company type, e.g. Privately Held or Public Company.","type":["string","null"]},"crunchbaseCategories":{"description":"Crunchbase category tags, followed by the broader category groups they belong to.","items":{"type":"string"},"type":["array","null"]},"description":{"description":"Company description from its LinkedIn page.","type":["string","null"]},"domain":{"description":"Primary website domain, or null when the upstream holds none for this company.","type":["string","null"]},"domains":{"description":"All domains associated with the company.","items":{"type":"string"},"type":["array","null"]},"employeeCount":{"description":"Latest observed employee count.","type":["integer","null"]},"employeeGrowthAbsolute":{"description":"Net headcount change over trailing windows.","properties":{"mom":{"description":"Change over the last month.","type":"integer"},"qoq":{"description":"Change over the last quarter.","type":"integer"},"sixMonths":{"description":"Change over the last six months.","type":"integer"},"twoYears":{"description":"Change over the last two years.","type":"integer"},"yoy":{"description":"Change over the last twelve months.","type":"integer"}},"type":["object","null"]},"employeeGrowthPercent":{"description":"Percent headcount change over trailing windows.","properties":{"mom":{"description":"Change over the last month.","type":"number"},"qoq":{"description":"Change over the last quarter.","type":"number"},"sixMonths":{"description":"Change over the last six months.","type":"number"},"twoYears":{"description":"Change over the last two years.","type":"number"},"yoy":{"description":"Change over the last twelve months.","type":"number"}},"type":["object","null"]},"employeeRange":{"description":"Employee count band, e.g. 51-200.","type":["string","null"]},"estimatedRevenueHigherUsd":{"description":"Upper bound of estimated annual revenue in USD.","type":["integer","null"]},"estimatedRevenueLowerUsd":{"description":"Lower bound of estimated annual revenue in USD.","type":["integer","null"]},"fiscalYearEnd":{"description":"Fiscal year end.","type":["string","null"]},"foundedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Founding date of the company.","type":["integer","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"headcountByFunctionTimeseries":{"description":"Headcount history broken down by region and by job function. Untyped passthrough: the whole nested structure ships exactly as Crustdata returns it, including its raw grouping keys (GEO_REGION, CURRENT_FUNCTION) and its string observation dates rather than epoch seconds, because the shape cannot be expressed in the canonical field grammar."},"headcountByRegion":{"additionalProperties":{"type":"number"},"description":"Employee count per region, keyed by LinkedIn region name.","type":["object","null"]},"headcountByRegionPercent":{"additionalProperties":{"type":"number"},"description":"Share of employees per region as a percent, keyed by LinkedIn region name.","type":["object","null"]},"headcountByRole":{"additionalProperties":{"type":"number"},"description":"Employee count per job function, keyed by LinkedIn function name.","type":["object","null"]},"headcountByRolePercent":{"additionalProperties":{"type":"number"},"description":"Share of employees per job function as a percent, keyed by LinkedIn function name.","type":["object","null"]},"headcountByRoleSixMonthsGrowthPercent":{"description":"Six-month percent headcount change per job function, exactly as Crustdata returns it. Untyped passthrough: the structure ships verbatim and is not validated."},"headcountByRoleYoyGrowthPercent":{"description":"Year-over-year percent headcount change per job function, exactly as Crustdata returns it. Untyped passthrough: the structure ships verbatim and is not validated."},"headcountBySkill":{"additionalProperties":{"type":"number"},"description":"Employee count per listed skill, keyed by skill name.","type":["object","null"]},"headcountBySkillPercent":{"additionalProperties":{"type":"number"},"description":"Share of employees per listed skill as a percent, keyed by skill name.","type":["object","null"]},"headcountTimeseries":{"description":"Historical employee-count observations, oldest first.","items":{"properties":{"dateUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Observation date.","type":"integer"},"employeeCount":{"description":"Employee count observed on that date.","type":"integer"}},"type":"object"},"type":["array","null"]},"hqCountry":{"description":"Country of the headquarters.","type":["string","null"]},"hqState":{"description":"State or province of the headquarters.","type":["string","null"]},"hqStreetAddress":{"description":"Headquarters street address. Crustdata returns the same string as location for most companies.","type":["string","null"]},"image":{"description":"Company logo URL. Crustdata's cached copy, which does not expire.","format":"uri","type":["string","null"]},"industries":{"description":"All LinkedIn industries listed for the company.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary LinkedIn industry.","type":["string","null"]},"ipoUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date the company went public.","type":["integer","null"]},"largestHeadcountCountry":{"description":"Country holding the largest share of employees.","type":["string","null"]},"linkedinCompanyId":{"description":"LinkedIn's own numeric identifier for the company page.","type":["string","null"]},"linkedinProfileName":{"description":"Company name as it appears on the LinkedIn page. Usually the same value as name; Crustdata returns both.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"location":{"description":"Headquarters location.","type":["string","null"]},"naics":{"description":"Primary NAICS industry classification.","properties":{"code":{"description":"Primary NAICS code.","type":"string"},"industry":{"description":"NAICS industry name.","type":"string"},"industryGroup":{"description":"NAICS industry group name.","type":"string"},"sector":{"description":"NAICS sector name.","type":"string"},"subSector":{"description":"NAICS sub-sector name.","type":"string"},"year":{"description":"NAICS revision year the code belongs to.","type":"integer"}},"type":["object","null"]},"name":{"description":"Company name.","type":["string","null"]},"sicCodes":{"description":"SIC industry classifications assigned to the company.","items":{"properties":{"code":{"description":"SIC code.","type":"string"},"industry":{"description":"SIC industry name.","type":"string"},"year":{"description":"SIC revision year the code belongs to.","type":"integer"}},"type":"object"},"type":["array","null"]},"specialities":{"description":"Speciality tags the company lists on LinkedIn.","items":{"type":"string"},"type":["array","null"]},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["domain"],"type":"object"}]},"found":{"description":"False when no company matched the request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - Crustdata output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - Crustdata","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/crustdata"},"x-payment-info":{"price":{"amount":"0.096000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.097000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.096000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.datalegion":{"post":{"description":"Enrich one company from a domain or a company name into Data Legion's premium firmographics: industry, size, founding year, office locations, stock tickers and social profiles, plus headcount, hiring, attrition, growth and turnover, workforce breakdowns by seniority, function and tenure, and monthly headcount history.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$48.00 per 1,000 results, capped at \\$48.06 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - Data Legion pricing and uptime](https://getanyapi.com/api/company-enrichment/datalegion) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_datalegion","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"hubspot.com"},"schema":{"additionalProperties":false,"example":{"domain":"hubspot.com"},"oneOf":[{"required":["domain"]},{"required":["name"]}],"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Company website domain, e.g. hubspot.com. The strongest identifier. Send either domain or name, not both.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"minConfidence":{"description":"Lowest match confidence that still counts as found. Omit it for Data Legion's default.","enum":["high","moderate","low"],"type":"string"},"name":{"description":"Company name, for when you have no domain. A domain matches more reliably.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"required":{"description":"Fields a match must have, as a Data Legion expression over its snake_case field names combined with AND, OR and parentheses, e.g. linkedin_url AND founded. A match without them counts as not found.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Enrichment - Data Legion input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"averageTenureMonths":{"description":"Average tenure of current employees, in months.","type":["number","null"]},"datasetVersion":{"description":"Data Legion dataset build the record came from.","type":["string","null"]},"departures":{"description":"Departures over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"domains":{"description":"Every website domain Data Legion links to the company, the primary one included.","items":{"type":"string"},"type":["array","null"]},"employeeCount":{"description":"Employees Data Legion currently counts from the people profiles it holds, usually below the LinkedIn figure.","type":["integer","null"]},"employeeCountByEducation":{"description":"Current employees per highest degree, e.g. bachelors, masters, doctorate.","type":["object","null"]},"employeeCountByExpenseCategory":{"description":"Current employees per expense category, e.g. research_and_development, sales_and_marketing.","type":["object","null"]},"employeeCountByFunction":{"description":"Current employees per job function, e.g. engineering, sales, product.","type":["object","null"]},"employeeCountByMonth":{"description":"Monthly headcount history, oldest month first.","items":{"properties":{"count":{"description":"Employees counted that month.","type":"integer"},"departures":{"description":"Employees who left that month.","type":"integer"},"growthRate":{"description":"Change in headcount from the month before, as a fraction.","type":"number"},"hires":{"description":"Employees who joined that month.","type":"integer"},"month":{"description":"Calendar month as YYYY-MM.","type":"string"},"netChange":{"description":"Change in headcount from the month before.","type":"integer"}},"required":["month"],"type":"object"},"type":["array","null"]},"employeeCountBySeniority":{"description":"Current employees per seniority level, e.g. c_level, director, manager, senior.","type":["object","null"]},"employeeCountByTenure":{"description":"Current employees per tenure band, e.g. \u003c1yr, 1-2yr, 2-5yr.","type":["object","null"]},"employeeGrowthRate":{"description":"Headcount growth rate as a fraction over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"employeeTurnoverRate":{"description":"Turnover rate as a fraction over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"growthRateByExpenseCategory":{"description":"Headcount growth rate per expense category, each keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"growthRateByFunction":{"description":"Headcount growth rate per job function, each keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"growthRateBySeniority":{"description":"Headcount growth rate per seniority level, each keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"headline":{"description":"One-line company tagline, as the company writes it.","type":["string","null"]},"industry":{"description":"Company industry, lowercase, e.g. software development.","type":["string","null"]},"lastSeenUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the month Data Legion last saw the company, at the first of that month. Multiply by 1000 for a JS Date in milliseconds.","type":["integer","null"]},"legionId":{"description":"Data Legion persistent company id.","type":["string","null"]},"linkedinEmployeeCount":{"description":"Employee count the company's LinkedIn page states.","type":["integer","null"]},"linkedinFollowers":{"description":"LinkedIn follower count.","type":["integer","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"locations":{"description":"Office locations, the headquarters marked isPrimary.","items":{"properties":{"addressLine2":{"description":"Second line of the address.","type":"string"},"continent":{"description":"Continent.","type":"string"},"country":{"description":"Country.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code, e.g. US.","type":"string"},"geo":{"description":"Coordinates as \"lat,lon\".","type":"string"},"isCurrent":{"description":"True while the office is still in use.","type":"boolean"},"isPrimary":{"description":"True for the headquarters.","type":"boolean"},"lastSeenUtc":{"description":"UTC epoch timestamp in seconds (Unix time) Data Legion last saw this location. Multiply by 1000 for a JS Date in milliseconds.","type":"integer"},"locality":{"description":"City.","type":"string"},"postalCode":{"description":"Postal code.","type":"string"},"region":{"description":"State or region.","type":"string"},"regionCode":{"description":"ISO 3166-2 region code, e.g. US-MA.","type":"string"},"streetAddress":{"description":"Street address.","type":"string"}},"type":"object"},"type":["array","null"]},"matchConfidence":{"description":"How sure the match is: high, moderate or low.","type":["string","null"]},"matchType":{"description":"How the identifier matched, e.g. exact.","type":["string","null"]},"matchedOn":{"description":"Identifiers the match was made on, e.g. domain or name.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name as Data Legion displays it.","type":["string","null"]},"nameNormalized":{"description":"Lowercase normalized company name, the form Data Legion matches on.","type":["string","null"]},"newHires":{"description":"Hires over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.","type":["object","null"]},"numSources":{"description":"Number of sources Data Legion merged into this record.","type":["integer","null"]},"profiles":{"description":"Social and directory profiles Data Legion links to the company.","items":{"properties":{"network":{"description":"Network the profile is on, e.g. linkedin, facebook, crunchbase.","type":"string"},"profileId":{"description":"Numeric or opaque id on that network.","type":"string"},"url":{"description":"Profile URL.","format":"uri","type":"string"},"username":{"description":"Handle on that network.","type":"string"}},"required":["network"],"type":"object"},"type":["array","null"]},"size":{"description":"Employee headcount band, e.g. 51-200.","type":["string","null"]},"summary":{"description":"Long company description, as the company writes it.","type":["string","null"]},"tickers":{"description":"Stock tickers the company trades under. Empty for a private company.","items":{"properties":{"exchange":{"description":"Exchange the ticker lists on, e.g. NYSE.","type":"string"},"symbol":{"description":"Ticker symbol, e.g. HUBS.","type":"string"}},"required":["symbol"],"type":"object"},"type":["array","null"]},"type":{"description":"Ownership type, e.g. private, public.","type":["string","null"]},"website":{"description":"Primary company website domain, e.g. hubspot.com.","type":["string","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"False when Data Legion matched no company, or none at the requested confidence or with the required fields.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - Data Legion output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - Data Legion","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/datalegion"},"x-payment-info":{"price":{"currency":"USD","max":"0.048060","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.049060","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.048060","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.lusha":{"post":{"description":"Enrich one company into firmographics, industry classification, headcount, revenue band and social profiles from a domain, a company name, or a Lusha company id.\n\n**Price:** \\$84.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - Lusha pricing and uptime](https://getanyapi.com/api/company-enrichment/lusha) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_lusha","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["company"]},{"required":["companyId"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"company":{"description":"Company name to look up when you have no domain.","minLength":1,"type":"string"},"companyId":{"description":"Lusha's own company identifier, as returned by this SKU's companyId output.","minLength":1,"type":"string"},"domain":{"description":"Company domain, e.g. posthog.com. Send the bare domain, without a scheme or www.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Enrichment - Lusha input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"address":{"description":"Headquarters address as one display string.","type":["string","null"]},"alternativeDomains":{"description":"Other domains the company owns.","items":{"type":"string"},"type":["array","null"]},"alternativeName":{"description":"Alternative name Lusha holds for the company.","type":["string","null"]},"companyId":{"description":"Lusha's own company identifier. Send it back as this SKU's companyId input.","type":["string","null"]},"companyType":{"description":"Ownership type, e.g. Private Company.","type":["string","null"]},"description":{"description":"Company description.","type":["string","null"]},"domain":{"description":"Primary company domain.","type":["string","null"]},"emailDomain":{"description":"Domain the company's work email addresses use.","type":["string","null"]},"employeeRange":{"description":"Employee headcount band as Lusha bands it, e.g. 51 - 200.","type":["string","null"]},"employeesOnLinkedin":{"description":"Employees LinkedIn shows for the company.","type":["integer","null"]},"facebookUrl":{"description":"Company Facebook page URL.","format":"uri","type":["string","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"fqdn":{"description":"Fully qualified host for the company website.","type":["string","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"linkedinFollowers":{"description":"LinkedIn follower count.","type":["integer","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"location":{"description":"Headquarters location.","properties":{"city":{"description":"City.","type":"string"},"continent":{"description":"Continent name.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"fullLocation":{"description":"Location as one display string.","type":"string"},"state":{"description":"State or region.","type":"string"},"stateCode":{"description":"State or region code.","type":"string"}},"type":["object","null"]},"mainIndustry":{"description":"Top-level industry.","type":["string","null"]},"naicsCodes":{"description":"NAICS classification codes for the company.","items":{"properties":{"code":{"description":"NAICS code.","type":["string","null"]},"description":{"description":"What the NAICS code covers.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"name":{"description":"Company name.","type":["string","null"]},"offices":{"description":"Every office location Lusha holds for the company.","items":{"properties":{"city":{"description":"City.","type":"string"},"continent":{"description":"Continent name.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"fullLocation":{"description":"Location as one display string.","type":"string"},"state":{"description":"State or region.","type":"string"},"stateCode":{"description":"State or region code.","type":"string"}},"type":"object"},"type":["array","null"]},"popularityTier":{"description":"Lusha's popularity tier for the company, 1 being the most prominent.","type":["integer","null"]},"recordId":{"description":"Lusha's internal record id for the company row.","type":["string","null"]},"revenueRange":{"description":"Annual revenue band in USD as [min, max].","items":{"type":"integer"},"type":["array","null"]},"sicCodes":{"description":"SIC classification codes for the company.","items":{"properties":{"code":{"description":"SIC code.","type":["string","null"]},"description":{"description":"What the SIC code covers.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"specialities":{"description":"Specialities the company lists for itself.","items":{"type":"string"},"type":["array","null"]},"subIndustry":{"description":"Sub-industry.","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]},"xUrl":{"description":"Company X (Twitter) profile URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"False when Lusha holds no company for the requested identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - Lusha output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - Lusha","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/lusha"},"x-payment-info":{"price":{"amount":"0.084000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.085000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.084000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.peopledatalabs":{"post":{"description":"Enrich one company into firmographics, funding history, NAICS and SIC classification, and People Data Labs' headcount growth, tenure and churn series from a domain or a company name.\n\n**Price:** \\$120.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - People Data Labs pricing and uptime](https://getanyapi.com/api/company-enrichment/peopledatalabs) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_peopledatalabs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"posthog.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["domain"]},{"required":["name"]}],"example":{"domain":"posthog.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"dataInclude":{"description":"Comma-separated People Data Labs fields to include, or a leading - list to exclude. Projection changes the payload only; it does not reduce what the call costs.","type":"string"},"domain":{"description":"Company website domain, e.g. posthog.com. The strongest identifier.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeIfMatched":{"description":"Report which of the sent identifiers actually matched.","type":"boolean"},"minLikelihood":{"description":"Minimum People Data Labs likelihood score a match must reach to count as found.","maximum":10,"minimum":1,"type":"integer"},"name":{"description":"Company name, for when you have no domain.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"required":{"description":"People Data Labs boolean expression over top-level fields that a match must satisfy, e.g. website and industry.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"titlecase":{"description":"Return text in title case instead of People Data Labs' lowercase default.","type":"boolean"}},"title":"Company Enrichment - People Data Labs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"affiliatedEntities":{"description":"People Data Labs company ids of affiliated entities.","items":{"type":["string","null"]},"type":["array","null"]},"affiliatedProfiles":{"description":"People Data Labs company ids of affiliated profiles.","items":{"type":"string"},"type":["array","null"]},"allSubsidiaries":{"description":"People Data Labs company ids of every subsidiary, at any depth.","items":{"type":"string"},"type":["array","null"]},"alternativeDomains":{"description":"Other domains the company owns.","items":{"type":"string"},"type":["array","null"]},"alternativeNames":{"description":"Other names the company trades under.","items":{"type":"string"},"type":["array","null"]},"averageEmployeeTenure":{"description":"Average employee tenure in years.","type":["number","null"]},"averageTenureByLevel":{"additionalProperties":true,"description":"Average tenure in years, keyed by seniority level.","type":["object","null"]},"averageTenureByRole":{"additionalProperties":true,"description":"Average tenure in years, keyed by role.","type":["object","null"]},"datasetVersion":{"description":"Version of the People Data Labs dataset this record came from.","type":["string","null"]},"directSubsidiaries":{"description":"People Data Labs company ids of direct subsidiaries.","items":{"type":"string"},"type":["array","null"]},"employeeChurnRate":{"additionalProperties":true,"description":"Churn rate keyed by window, e.g. 12_month.","type":["object","null"]},"employeeCount":{"description":"Employees People Data Labs currently counts.","type":["integer","null"]},"employeeCountByClass":{"additionalProperties":true,"description":"Headcount keyed by job class.","type":["object","null"]},"employeeCountByCountry":{"additionalProperties":true,"description":"Headcount keyed by country.","type":["object","null"]},"employeeCountByMonth":{"additionalProperties":true,"description":"Headcount keyed by YYYY-MM month.","type":["object","null"]},"employeeCountByRole":{"additionalProperties":true,"description":"Headcount keyed by role.","type":["object","null"]},"employeeCountBySubRole":{"additionalProperties":true,"description":"Headcount keyed by sub-role.","type":["object","null"]},"employeeGrowthRate":{"additionalProperties":true,"description":"Headcount growth rate keyed by window.","type":["object","null"]},"employeeGrowthRate12MonthByClass":{"additionalProperties":true,"description":"Twelve-month headcount growth rate keyed by job class.","type":["object","null"]},"employeeGrowthRate12MonthByCountry":{"additionalProperties":true,"description":"Twelve-month headcount growth keyed by country, each entry carrying current and prior headcount.","type":["object","null"]},"employeeGrowthRate12MonthByRole":{"additionalProperties":true,"description":"Twelve-month headcount growth rate keyed by role.","type":["object","null"]},"employeeTurnoverRate":{"additionalProperties":true,"description":"Turnover rate keyed by window, e.g. 3_month, 12_month.","type":["object","null"]},"facebookUrl":{"description":"Company Facebook page URL.","format":"uri","type":["string","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"fundingRounds":{"description":"Number of funding rounds raised.","type":["integer","null"]},"fundingStages":{"description":"Every funding stage the company has raised.","items":{"type":"string"},"type":["array","null"]},"grossAdditionsByMonth":{"additionalProperties":true,"description":"Employees joined, keyed by YYYY-MM month.","type":["object","null"]},"grossDeparturesByMonth":{"additionalProperties":true,"description":"Employees departed, keyed by YYYY-MM month.","type":["object","null"]},"headline":{"description":"One-line company tagline.","type":["string","null"]},"immediateParent":{"description":"People Data Labs company id of the immediate parent company.","type":["string","null"]},"industry":{"description":"Company industry.","type":["string","null"]},"industryV2":{"description":"Company industry on People Data Labs' newer taxonomy.","type":["string","null"]},"inferredRevenue":{"description":"Inferred annual revenue band, e.g. $50M-$100M.","type":["string","null"]},"lastFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent funding round. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"latestFundingStage":{"description":"Most recent funding stage, e.g. series_e.","type":["string","null"]},"likelihood":{"description":"People Data Labs' 1 to 10 confidence that this record is the company you asked for.","type":["integer","null"]},"linkedinFollowers":{"description":"LinkedIn follower count.","type":["integer","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinSlug":{"description":"Company LinkedIn vanity slug.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"location":{"description":"Company headquarters.","properties":{"addressLine2":{"description":"Second line of the address.","type":"string"},"continent":{"description":"Continent.","type":"string"},"country":{"description":"Country.","type":"string"},"geo":{"description":"Coordinates as \"lat,lon\".","type":"string"},"locality":{"description":"City.","type":"string"},"metro":{"description":"Metro area.","type":"string"},"name":{"description":"Location as one display string.","type":"string"},"postalCode":{"description":"Postal code.","type":"string"},"region":{"description":"State or region.","type":"string"},"streetAddress":{"description":"Street address.","type":"string"}},"type":["object","null"]},"medianEmployeeTenure":{"description":"Median employee tenure in years.","type":["number","null"]},"medianTenureByLevel":{"additionalProperties":true,"description":"Median tenure in years, keyed by seniority level.","type":["object","null"]},"medianTenureByRole":{"additionalProperties":true,"description":"Median tenure in years, keyed by role.","type":["object","null"]},"micExchange":{"description":"MIC code of the exchange the company lists on.","type":["string","null"]},"naicsCodes":{"description":"NAICS classification for the company.","items":{"properties":{"code":{"description":"NAICS code.","type":["string","null"]},"industryGroup":{"description":"NAICS industry group.","type":"string"},"naicsIndustry":{"description":"NAICS industry.","type":"string"},"nationalIndustry":{"description":"NAICS national industry.","type":"string"},"sector":{"description":"NAICS sector.","type":"string"},"subSector":{"description":"NAICS sub-sector.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"name":{"description":"Company name as People Data Labs displays it.","type":["string","null"]},"nameNormalized":{"description":"Lowercase normalized company name, the form People Data Labs matches on.","type":["string","null"]},"pdlId":{"description":"People Data Labs persistent company id.","type":["string","null"]},"profiles":{"description":"Every social profile People Data Labs links to the company.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC classification for the company.","items":{"properties":{"code":{"description":"SIC code.","type":["string","null"]},"industryGroup":{"description":"SIC industry group.","type":"string"},"industrySector":{"description":"SIC industry sector.","type":"string"},"majorGroup":{"description":"SIC major group.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"size":{"description":"Employee headcount band, e.g. 11-50.","type":["string","null"]},"summary":{"description":"Long company description.","type":["string","null"]},"tags":{"description":"Descriptive tags for the company.","items":{"type":"string"},"type":["array","null"]},"ticker":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"totalFundingRaised":{"description":"Total capital raised, in USD.","type":["number","null"]},"twitterUrl":{"description":"Company X (Twitter) profile URL.","format":"uri","type":["string","null"]},"type":{"description":"Ownership type, e.g. private, public.","type":["string","null"]},"ultimateParent":{"description":"People Data Labs company id of the ultimate parent company.","type":["string","null"]},"website":{"description":"Company website domain.","type":["string","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"False when People Data Labs matched no company above the likelihood threshold.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - People Data Labs output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - People Data Labs","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/peopledatalabs"},"x-payment-info":{"price":{"amount":"0.120000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.121000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.120000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_enrichment.prospeo":{"post":{"description":"Enrich one company into firmographics, funding history, technology stack, open roles and headquarters contact details from a website, a company name, or a LinkedIn page.\n\n**Price:** \\$66.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Enrichment - Prospeo pricing and uptime](https://getanyapi.com/api/company-enrichment/prospeo) - live USD price, lane routing, and measured 30-day uptime. [Every Company_enrichment endpoint](https://getanyapi.com/api/company-enrichment).","operationId":"company_enrichment_prospeo","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyWebsite":"stripe.com"},"schema":{"additionalProperties":false,"anyOf":[{"required":["companyWebsite"]},{"required":["companyName"]},{"required":["companyId"]},{"required":["companyLinkedinUrl"]}],"example":{"companyWebsite":"stripe.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Prospeo's own company identifier, as returned by this SKU's companyId output.","minLength":1,"type":"string"},"companyLinkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":"string"},"companyName":{"description":"Company name, for when you have no domain.","minLength":1,"type":"string"},"companyWebsite":{"description":"Company domain, e.g. stripe.com. The most reliable identifier.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Enrichment - Prospeo input","type":"object","x-aliases":{"domain":"companyWebsite","website":"companyWebsite"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"attributes":{"description":"What Prospeo detects about how the company sells.","properties":{"hasDemo":{"description":"The website offers a demo.","type":"boolean"},"hasDownloadable":{"description":"The website offers a download.","type":"boolean"},"hasFreeTrial":{"description":"The website offers a free trial.","type":"boolean"},"hasMobileApps":{"description":"The company publishes mobile apps.","type":"boolean"},"hasOnlineReviews":{"description":"The company has online reviews.","type":"boolean"},"hasPricing":{"description":"The website publishes pricing.","type":"boolean"},"isB2b":{"description":"The company sells to businesses.","type":"boolean"}},"type":["object","null"]},"companyId":{"description":"Prospeo's own company identifier. Send it back as this SKU's companyId input.","type":["string","null"]},"crunchbaseUrl":{"description":"Company Crunchbase profile URL.","format":"uri","type":["string","null"]},"description":{"description":"Company description as the company writes it.","type":["string","null"]},"descriptionAi":{"description":"Prospeo's own AI-written company summary.","type":["string","null"]},"descriptionSeo":{"description":"Meta description from the company's website.","type":["string","null"]},"domain":{"description":"Primary company domain.","type":["string","null"]},"emailTech":{"description":"How the company's email is hosted.","properties":{"domain":{"description":"Domain the company's email addresses use.","type":"string"},"mxProvider":{"description":"Mail provider behind the domain's MX records.","type":"string"}},"type":["object","null"]},"employeeCount":{"description":"Employees Prospeo currently counts.","type":["integer","null"]},"employeeCountOnProspeo":{"description":"Employees of this company that Prospeo holds a profile for.","type":["integer","null"]},"employeeRange":{"description":"Employee headcount band, e.g. 10000+.","type":["string","null"]},"facebookUrl":{"description":"Company Facebook page URL.","format":"uri","type":["string","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"freeEnrichment":{"description":"True when Prospeo served this record from cache and did not charge for it.","type":["boolean","null"]},"funding":{"description":"Funding history.","properties":{"events":{"description":"One entry per funding round.","items":{"properties":{"amount":{"description":"Amount raised in USD.","type":"number"},"amountPrinted":{"description":"Amount raised as a display string.","type":"string"},"link":{"description":"Source URL for the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the round closed. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"stage":{"description":"Round stage, e.g. Series E-J.","type":"string"}},"type":"object"},"type":["array","null"]},"latestStage":{"description":"Most recent funding stage.","type":"string"},"latestUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent round. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"rounds":{"description":"Number of funding rounds raised.","type":"integer"},"totalRaised":{"description":"Total capital raised, in USD.","type":"number"},"totalRaisedPrinted":{"description":"Total capital raised as a display string.","type":"string"}},"type":["object","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"industry":{"description":"Company industry.","type":["string","null"]},"instagramUrl":{"description":"Company Instagram profile URL.","format":"uri","type":["string","null"]},"jobPostings":{"description":"Open roles Prospeo currently sees for the company.","properties":{"activeCount":{"description":"Open roles currently posted.","type":"integer"},"activeTitles":{"description":"Titles of the open roles.","items":{"type":"string"},"type":"array"}},"type":["object","null"]},"keywords":{"description":"Keywords Prospeo assigns the company.","items":{"type":"string"},"type":["array","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"location":{"description":"Company headquarters.","properties":{"city":{"description":"City.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"rawAddress":{"description":"Headquarters address as one display string.","type":"string"},"state":{"description":"State or region.","type":"string"}},"type":["object","null"]},"naicsCodes":{"description":"NAICS classification codes for the company.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name.","type":["string","null"]},"otherWebsites":{"description":"Other domains the company owns.","items":{"type":"string"},"type":["array","null"]},"phoneHq":{"description":"Headquarters switchboard number.","properties":{"country":{"description":"Country the number belongs to.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 code for that country.","type":"string"},"international":{"description":"Number in international format.","type":"string"},"national":{"description":"Number in national format.","type":"string"},"phone":{"description":"Phone number as Prospeo stores it.","type":"string"}},"type":["object","null"]},"revenueRange":{"description":"Annual revenue band in USD.","properties":{"max":{"description":"Upper bound in USD.","type":"number"},"min":{"description":"Lower bound in USD.","type":"number"}},"type":["object","null"]},"revenueRangePrinted":{"description":"Annual revenue band as a display string.","type":["string","null"]},"sicCodes":{"description":"SIC classification codes for the company.","items":{"type":"string"},"type":["array","null"]},"technologies":{"description":"Technologies Prospeo detects in the company's stack.","items":{"type":"string"},"type":["array","null"]},"twitterUrl":{"description":"Company X (Twitter) profile URL.","format":"uri","type":["string","null"]},"type":{"description":"Ownership type, e.g. Private, Public, Non Profit.","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]},"youtubeUrl":{"description":"Company YouTube channel URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"False when Prospeo matched nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Enrichment - Prospeo output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Enrichment - Prospeo","tags":["company-enrichment"],"x-mint":{"href":"/api-reference/company-enrichment/prospeo"},"x-payment-info":{"price":{"amount":"0.066000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.067000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.066000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_identify.crustdata_v3":{"post":{"description":"Resolve one company from its domain, LinkedIn company page, Crustdata company id, or name to its Crustdata id, primary domain, LinkedIn page, and basic profile. Identify a company for $1 per 1,000 requests before paying to enrich it.\n\n**Price:** \\$1.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Identify - Crustdata v3 pricing and uptime](https://getanyapi.com/api/company-identify/crustdata-v3) - live USD price, lane routing, and measured 30-day uptime. [Every Company_identify endpoint](https://getanyapi.com/api/company-identify).","operationId":"company_identify_crustdata_v3","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomain":"stripe.com"},"schema":{"additionalProperties":false,"example":{"companyDomain":"stripe.com"},"oneOf":[{"required":["companyDomain"]},{"required":["companyLinkedinUrl"]},{"required":["companyId"]},{"required":["companyName"]}],"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyDomain":{"description":"Company website domain without a scheme or path, e.g. stripe.com. Send exactly one of companyDomain, companyLinkedinUrl, companyId, or companyName.","minLength":1,"type":"string"},"companyId":{"description":"Crustdata company id, as returned in companyId by this or another Crustdata v3 endpoint.","minimum":1,"type":"integer"},"companyLinkedinUrl":{"description":"LinkedIn company page URL, e.g. https://www.linkedin.com/company/stripe.","format":"uri","type":"string"},"companyName":{"description":"Full company name, including any legal suffix. A name match is a best guess; confirm it against the returned domain or LinkedIn page before relying on it.","minLength":1,"type":"string"},"exactMatch":{"description":"Require an exact match on the identifier instead of letting Crustdata decide. Leave unset for automatic matching.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Identify - Crustdata v3 input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The identified company, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"companyId":{"description":"Crustdata company id. Send it as companyId to identify the same company again.","type":["string","null"]},"companyType":{"description":"Ownership type, e.g. Privately Held or Public Company.","type":["string","null"]},"confidenceScore":{"description":"Match confidence from 0 to 1. Treat a low score on a name match as a guess.","type":["number","null"]},"description":{"description":"Company description.","type":["string","null"]},"domain":{"description":"Primary website domain, or null when Crustdata holds none for this company.","type":["string","null"]},"domains":{"description":"Every website domain Crustdata links to the company.","items":{"type":"string"},"type":["array","null"]},"employeeRange":{"description":"Employee count band, e.g. 5001-10000.","type":["string","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"industries":{"description":"Industries the company operates in.","items":{"type":"string"},"type":["array","null"]},"linkedinCompanyId":{"description":"LinkedIn numeric company id.","type":["string","null"]},"linkedinProfileName":{"description":"Company name as shown on its LinkedIn page.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"markets":{"description":"Markets the company is listed in, e.g. PRIVATE or NASDAQ.","items":{"type":"string"},"type":["array","null"]},"matchType":{"description":"Which kind of identifier produced the match, e.g. domain.","type":["string","null"]},"name":{"description":"Company name.","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["companyId","domain"],"type":"object"}]},"found":{"description":"False when no company matched the identifier.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Identify - Crustdata v3 output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Identify - Crustdata v3","tags":["company-identify"],"x-mint":{"href":"/api-reference/company-identify/crustdata-v3"},"x-payment-info":{"price":{"amount":"0.001000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.ai_ark":{"post":{"description":"Search companies by name, lookalike domains, account filters, and saved-list filters.\n\n**Price:** billed per result - \\$2.40 per 1,000 results, capped at \\$240.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - AI Ark pricing and uptime](https://getanyapi.com/api/company-search/ai-ark) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_ai_ark","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"name":"OpenAI","page":0,"size":1},"schema":{"additionalProperties":false,"example":{"name":"OpenAI","page":0,"size":1},"properties":{"account":{"additionalProperties":true,"description":"AI Ark account filter expression. Nested generic any/all filter objects are accepted as documented by the source and are not further constrained.","type":"object"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lists":{"additionalProperties":true,"description":"AI Ark saved-list filter expression.","type":"object"},"lookalikeDomains":{"description":"Domains whose company characteristics should guide the search.","items":{"minLength":1,"type":"string"},"maxItems":5,"type":"array"},"name":{"description":"Company-name search text.","minLength":1,"type":"string"},"page":{"default":0,"description":"Zero-based result page.","minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"size":{"default":10,"description":"Maximum companies to return on this page.","maximum":100,"minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Search - AI Ark input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized companies and page metadata, or null when no companies matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Companies returned on this page.","items":{"properties":{"address":{"description":"Headquarters address as published by the source.","type":["string","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"companyId":{"description":"The source's own record identifier for this company, exposed so you can trace a result back to the record it came from.","type":["string","null"]},"continent":{"description":"Headquarters continent.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"crunchbaseUrl":{"description":"Company Crunchbase URL.","format":"uri","type":["string","null"]},"description":{"description":"Company description when available.","type":["string","null"]},"diversityInvestmentCount":{"description":"Number of diversity-flagged investments the source records for the company.","minimum":0,"type":["integer","null"]},"diversityInvestments":{"description":"Investments the source has flagged with a diversity spotlight.","items":{"properties":{"announcedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"integer"},"imageKey":{"description":"The source's internal image key for the counterparty. It is a bare key, not a URL.","type":"string"},"name":{"description":"Counterparty organization name.","type":"string"},"recordId":{"description":"The source's own slug for the counterparty organization.","type":"string"},"roundImageKey":{"description":"The source's internal image key for the round. It is a bare key, not a URL.","type":"string"},"roundName":{"description":"Funding round name as published by the source.","type":"string"},"roundRaisedAmount":{"description":"Amount raised in this round in USD.","minimum":0,"type":"integer"},"roundRecordId":{"description":"The source's own slug for the funding round.","type":"string"},"roundType":{"description":"Funding round type, for example GRANT.","type":"string"},"spotlights":{"description":"Diversity spotlights the source attached to this investment.","items":{"properties":{"name":{"description":"Human-readable spotlight label.","type":"string"},"recordId":{"description":"The source's own slug for the spotlight, for example women-founded.","type":"string"}},"type":"object"},"type":["array","null"]}},"type":"object"},"type":["array","null"]},"domain":{"description":"Company website domain, or null when the upstream holds none for this company.","minLength":1,"type":["string","null"]},"domainLtd":{"description":"The source's second copy of the company domain. Usually identical to domain; it can differ when the source resolves a redirect or a country domain differently, so compare the two rather than assuming they match.","type":["string","null"]},"email":{"description":"Public company contact email.","format":"email","type":["string","null"]},"employeeCount":{"description":"Estimated total employees.","minimum":0,"type":["integer","null"]},"employeeRangeMax":{"description":"Upper bound of the published employee range.","minimum":0,"type":["integer","null"]},"employeeRangeMin":{"description":"Lower bound of the published employee range.","minimum":0,"type":["integer","null"]},"facebookUrl":{"description":"Canonical company Facebook URL.","format":"uri","type":["string","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"fundedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["integer","null"]},"fundingLastAmount":{"description":"Amount raised in the most recent round in USD.","minimum":0,"type":["integer","null"]},"fundingLastType":{"description":"Type of the most recent funding round.","type":["string","null"]},"fundingRoundCount":{"description":"Number of funding rounds raised.","minimum":0,"type":["integer","null"]},"fundingRounds":{"description":"Funding rounds the company has raised.","items":{"properties":{"announcedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"integer"},"investors":{"description":"Investors named in this round.","items":{"type":"string"},"type":["array","null"]},"raisedAmount":{"description":"Amount raised in this round in USD.","minimum":0,"type":"integer"},"type":{"description":"Funding round type.","type":"string"}},"type":"object"},"type":["array","null"]},"fundingTotalAmount":{"description":"Total capital raised across all rounds in USD.","minimum":0,"type":["integer","null"]},"hashtags":{"description":"Hashtags the company publishes under.","items":{"type":"string"},"type":["array","null"]},"image":{"description":"Company logo URL. This is a SIGNED, EXPIRING image-proxy URL - the path carries an exp: epoch roughly five days out - so fetch and store the image promptly rather than storing this URL.","format":"uri","type":["string","null"]},"industries":{"description":"Additional company industries.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary company industry.","type":["string","null"]},"investorCount":{"description":"Number of distinct investors.","minimum":0,"type":["integer","null"]},"keywords":{"description":"Keywords describing the company.","items":{"type":"string"},"type":["array","null"]},"languages":{"description":"Languages the company publishes in.","items":{"type":"string"},"type":["array","null"]},"latitude":{"description":"Headquarters latitude in decimal degrees.","type":["number","null"]},"legalName":{"description":"Registered company name when available.","type":["string","null"]},"linkedinUrl":{"description":"Canonical company LinkedIn URL.","format":"uri","type":["string","null"]},"locations":{"description":"Every office location the source lists for the company.","items":{"properties":{"address":{"description":"Location address as published by the source.","type":"string"},"city":{"description":"Location city.","type":"string"},"continent":{"description":"Location continent.","type":"string"},"country":{"description":"Location country.","type":"string"},"latitude":{"description":"Location latitude in decimal degrees.","type":"number"},"longitude":{"description":"Location longitude in decimal degrees.","type":"number"},"postalCode":{"description":"Location postal code.","type":"string"},"state":{"description":"Location state or region.","type":"string"}},"type":"object"},"type":["array","null"]},"longitude":{"description":"Headquarters longitude in decimal degrees.","type":["number","null"]},"naics":{"description":"NAICS codes for the company.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name.","minLength":1,"type":["string","null"]},"overview":{"description":"Longer company overview written by the source. Overlaps description but is a separately maintained blurb and is often longer or more current.","type":["string","null"]},"phone":{"description":"Sanitized public company phone number.","type":["string","null"]},"phoneRaw":{"description":"The same phone number in the source's unsanitized spelling, keeping spaces, dashes and brackets. Use phone for dialing and this for display fidelity.","type":["string","null"]},"postalCode":{"description":"Headquarters postal code.","type":["string","null"]},"revenueMax":{"description":"Upper bound of estimated annual revenue in USD.","minimum":0,"type":["integer","null"]},"revenueMin":{"description":"Lower bound of estimated annual revenue in USD.","minimum":0,"type":["integer","null"]},"revenueRange":{"description":"The same annual revenue estimate as a single hyphenated range string, for example 500000000-1000000000. It duplicates revenueMin and revenueMax; use those for arithmetic.","type":["string","null"]},"seoDescription":{"description":"The meta description the source scraped from the company website. It is site copy, not the source's own writing, so it may be in another language or out of date.","type":["string","null"]},"sic":{"description":"SIC codes for the company.","items":{"type":"string"},"type":["array","null"]},"state":{"description":"Headquarters state or region.","type":["string","null"]},"technologies":{"description":"Technologies detected on the company's web presence.","items":{"properties":{"category":{"description":"Technology category.","type":"string"},"name":{"description":"Technology name.","type":"string"}},"type":"object"},"type":["array","null"]},"twitterUrl":{"description":"Canonical company X (Twitter) URL.","format":"uri","type":["string","null"]},"type":{"description":"Company organization type.","type":["string","null"]},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["integer","null"]},"websiteUrl":{"description":"Canonical company website URL.","format":"uri","type":["string","null"]}},"required":["name","domain"],"type":"object"},"type":"array"},"page":{"description":"Zero-based page number returned by the source.","minimum":0,"type":"integer"},"size":{"description":"Configured page size.","minimum":0,"type":"integer"},"total":{"description":"Total matching companies.","minimum":0,"type":"integer"},"totalPages":{"description":"Total result pages.","minimum":0,"type":"integer"}},"required":["companies","page","size","total","totalPages"],"type":"object"}]},"found":{"description":"Whether the search returned at least one company.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - AI Ark output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - AI Ark","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/ai-ark"},"x-payment-info":{"price":{"currency":"USD","max":"0.240000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.241000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.240000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.aviato":{"post":{"description":"Search Aviato's company database by name, headquarters location, industry and headcount, up to 250 companies per page for one flat price. Aviato allows 10 searches a minute and 300 an hour across all callers.\n\n**Price:** \\$3.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - Aviato pricing and uptime](https://getanyapi.com/api/company-search/aviato) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_aviato","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"United States","industries":["Software \u0026 SaaS"],"limit":5,"minHeadcount":1000},"schema":{"additionalProperties":false,"anyOf":[{"required":["query"]},{"required":["country"]},{"required":["region"]},{"required":["city"]},{"required":["industries"]},{"required":["minHeadcount"]},{"required":["maxHeadcount"]}],"example":{"country":"United States","industries":["Software \u0026 SaaS"],"limit":5,"minHeadcount":1000},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"city":{"description":"Headquarters city, e.g. San Francisco.","minLength":1,"type":"string"},"country":{"description":"Headquarters country, e.g. United States.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"industries":{"description":"Aviato industry labels, any of which matches, e.g. [\"Software \u0026 SaaS\"]. Company Enrichment - Aviato shows a company's labels.","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"},"limit":{"default":100,"description":"Companies per page. A page costs the same at any size.","maximum":250,"minimum":1,"type":"integer"},"maxHeadcount":{"description":"Largest current employee count.","minimum":0,"type":"integer"},"minHeadcount":{"description":"Smallest current employee count.","minimum":0,"type":"integer"},"offset":{"default":0,"description":"Companies to skip before this page, for paging. At most 10000.","maximum":10000,"minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Words in the company name, matched by full-text search.","minLength":1,"type":"string"},"region":{"description":"Headquarters state or region, e.g. California.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Search - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"One page of matching companies, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Companies on this page, in Aviato's order.","items":{"properties":{"city":{"description":"Headquarters city.","type":["string","null"]},"companyId":{"description":"Aviato company id. Send it back as the companyId input of any Aviato company SKU.","type":["string","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"headcount":{"description":"Current employee count.","type":["integer","null"]},"industries":{"description":"Aviato industry labels.","items":{"type":"string"},"type":["array","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"name":{"description":"Company name.","type":["string","null"]},"region":{"description":"Headquarters state or region.","type":["string","null"]},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"totalResults":{"description":"Companies matching the filters across all pages.","type":["integer","null"]}},"required":["companies"],"type":"object"}]},"found":{"description":"False when no company matches the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - Aviato output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - Aviato","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/aviato"},"x-payment-info":{"price":{"amount":"0.003000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.004000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.crustdata":{"post":{"description":"Search companies by structured filters with cursor pagination.\n\n**Price:** billed per result - \\$1.20 per 1,000 requests base + \\$1.44 per 1,000 results, capped at \\$361.20 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - Crustdata pricing and uptime](https://getanyapi.com/api/company-search/crustdata) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_crustdata","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"filters":{"field":"basic_info.primary_domain","type":"=","value":"posthog.com"},"limit":1},"schema":{"additionalProperties":false,"example":{"filters":{"field":"basic_info.primary_domain","type":"=","value":"posthog.com"},"limit":1},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"minLength":1,"type":"string"},"fields":{"description":"Response groups to return. Omit for the default set: basic_info, headcount, funding, revenue, locations, social_profiles, taxonomy, followers and metadata.","oneOf":[{"minLength":1,"type":"string"},{"items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"}]},"filters":{"description":"Crustdata company-search filter expression. A condition is {\"field\": \u003cfield\u003e, \"type\": \u003coperator\u003e, \"value\": \u003cmatch\u003e}; a group is {\"op\": \"and\"|\"or\", \"conditions\": [\u003ccondition or group\u003e, ...]}. Pass one condition or one group. Operators: = != \u003c =\u003c \u003e =\u003e in not_in (.) (fuzzy text) [.] (exact token). Common fields: basic_info.primary_domain, basic_info.name, basic_info.industries, basic_info.employee_count_range, basic_info.year_founded, headcount.total, headcount.growth_percent.12m, locations.country, locations.headquarters, taxonomy.professional_network_industry, funding.last_round_type, funding.total_investment_usd, funding.last_fundraise_date, revenue.estimated.lower_bound_usd, followers.count. An `in` list takes at most 5 values.","type":"object"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum companies to return on this page. Every company returned is billed; the page is capped at 250 to bound the cost of a single call.","maximum":250,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sorts":{"description":"Sort directives applied in order, each {\"field\": \u003cfield\u003e, \"order\": \"asc\"|\"desc\"}. Sortable fields include basic_info.name, basic_info.year_founded, headcount.total, funding.total_investment_usd, funding.last_fundraise_date, revenue.estimated.lower_bound_usd and followers.count.","items":{"properties":{"field":{"type":"string"},"order":{"enum":["asc","desc"],"type":"string"}},"required":["field","order"],"type":"object"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["filters"],"title":"Company Search - Crustdata input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching companies.","items":{"properties":{"acquisitionStatus":{"description":"Acquisition status, when the company has been acquired.","type":["string","null"]},"companyId":{"description":"Crustdata identifier for the company, accepted by the Company Enrichment endpoint.","type":["string","null"]},"companyType":{"description":"Company type, e.g. Privately Held or Public Company.","type":["string","null"]},"contactEmail":{"description":"Publicly listed contact email address.","type":["string","null"]},"crunchbaseCategories":{"description":"Crunchbase category tags, followed by the broader category groups they belong to.","items":{"type":"string"},"type":["array","null"]},"description":{"description":"Company description from its LinkedIn page.","type":["string","null"]},"domain":{"description":"Primary website domain, or null when the upstream holds none for this company.","type":["string","null"]},"domains":{"description":"All domains associated with the company.","items":{"type":"string"},"type":["array","null"]},"employeeCount":{"description":"Latest observed employee count.","type":["integer","null"]},"employeeGrowth":{"description":"Headcount change over trailing windows, absolute and percent.","properties":{"absolute12m":{"description":"Net change over the last twelve months.","type":"integer"},"absolute1m":{"description":"Net change over the last month.","type":"integer"},"absolute3m":{"description":"Net change over the last three months.","type":"integer"},"absolute6m":{"description":"Net change over the last six months.","type":"integer"},"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent1m":{"description":"Percent change over the last month.","type":"number"},"percent3m":{"description":"Percent change over the last three months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"employeeRange":{"description":"Employee count band, e.g. 51-200.","type":["string","null"]},"estimatedRevenueHigherUsd":{"description":"Upper bound of estimated annual revenue in USD.","type":["integer","null"]},"estimatedRevenueLowerUsd":{"description":"Lower bound of estimated annual revenue in USD.","type":["integer","null"]},"fiscalYearEnd":{"description":"Fiscal year end.","type":["string","null"]},"followerCount":{"description":"Latest LinkedIn follower count.","type":["integer","null"]},"followerGrowth":{"description":"LinkedIn follower change over trailing windows, in percent.","properties":{"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent1m":{"description":"Percent change over the last month.","type":"number"},"percent3m":{"description":"Percent change over the last three months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"growthCalculatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the growth metrics on this record were last calculated.","type":["integer","null"]},"headquarters":{"description":"Headquarters location.","type":["string","null"]},"hqCountry":{"description":"Country of the headquarters.","type":["string","null"]},"hqStreetAddressAndCity":{"description":"Headquarters street address and city. Crustdata returns the same string as headquarters for most companies.","type":["string","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"indexedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When Crustdata last indexed the record for search, which is usually just after updatedUtc.","type":["integer","null"]},"industries":{"description":"All LinkedIn industries listed for the company.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary LinkedIn industry.","type":["string","null"]},"investors":{"description":"Investors named on the Crunchbase profile.","items":{"type":"string"},"type":["array","null"]},"isInvestor":{"description":"True when the company itself invests in other companies.","type":["boolean","null"]},"largestHeadcountCountry":{"description":"Country holding the largest share of employees.","type":["string","null"]},"lastFundingType":{"description":"Type of the most recent funding round, e.g. series_e.","type":["string","null"]},"lastFundingUsd":{"description":"Amount raised in the most recent funding round, in USD.","type":["integer","null"]},"lastFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date of the most recent funding round.","type":["integer","null"]},"linkedinCategories":{"description":"LinkedIn speciality tags listed by the company.","items":{"type":"string"},"type":["array","null"]},"linkedinCompanyId":{"description":"LinkedIn's own numeric identifier for the company page.","type":["string","null"]},"linkedinProfileName":{"description":"Company name as it appears on the LinkedIn page. Usually the same value as name; Crustdata returns both.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"markets":{"description":"Markets the company trades in, e.g. PRIVATE or NASDAQ.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name.","type":["string","null"]},"officeAddresses":{"description":"Office addresses exactly as Crustdata returns them. Untyped passthrough: the structure ships verbatim and is not validated, because it was empty for every company we captured."},"phone":{"description":"Publicly listed phone number.","type":["string","null"]},"stockSymbols":{"description":"Stock ticker symbols.","items":{"type":"string"},"type":["array","null"]},"totalFundingUsd":{"description":"Total investment raised to date, in USD.","type":["integer","null"]},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When this company record was last refreshed.","type":["integer","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"hasMore":{"description":"True when more companies exist beyond this page.","type":"boolean"},"nextCursor":{"description":"Opaque continuation token; null when the walk is complete.","type":["string","null"]},"totalCount":{"description":"Total number of companies matching the filters.","minimum":0,"type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when the filters matched no companies.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - Crustdata output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - Crustdata","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/crustdata"},"x-payment-info":{"price":{"currency":"USD","max":"0.361200","min":"0.001200","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.362200","min":"0.002200","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.361200","min":"0.001200","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.crustdata_v3":{"post":{"description":"Search companies by structured filters with cursor pagination.\n\n**Price:** billed per result - \\$48.00 per 1,000 results, capped at \\$12,000.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - Crustdata v3 (legacy) pricing and uptime](https://getanyapi.com/api/company-search/crustdata-v3) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_crustdata_v3","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"filters":[{"filter_type":"company_website_domain","type":"(.)","value":"posthog.com"}],"limit":1},"schema":{"additionalProperties":false,"example":{"filters":[{"filter_type":"company_website_domain","type":"(.)","value":"posthog.com"}],"limit":1},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"minLength":1,"type":"string"},"fields":{"oneOf":[{"minLength":1,"type":"string"},{"items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"}]},"filters":{"description":"Crustdata company-database filter expression. A leaf condition is {\"filter_type\": \u003ccolumn\u003e, \"type\": \u003coperator\u003e, \"value\": \u003cmatch\u003e}; a group is {\"op\": \"and\"|\"or\", \"conditions\": [\u003cleaf\u003e, ...]}. Pass a single leaf, an array of leaves, or a group. See the example for a domain lookup.","oneOf":[{"type":"object"},{"items":{"type":"object"},"minItems":1,"type":"array"}]},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum companies to return on this page. Every company returned is billed; the page is capped at 250 to bound the cost of a single call.","maximum":250,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sorts":{"items":{"type":"object"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["filters"],"title":"Company Search - Crustdata v3 input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching companies.","items":{"properties":{"acquisitionStatus":{"description":"Acquisition status, when the company has been acquired.","type":["string","null"]},"companyId":{"description":"Crustdata identifier for the company, accepted by the Company Enrichment endpoint.","type":["string","null"]},"companyType":{"description":"Company type, e.g. Privately Held or Public Company.","type":["string","null"]},"competitorIds":{"description":"Crustdata identifiers for the companies Crustdata lists as competitors. These are the same identifiers companyId reports, returned here as numbers, and line up positionally with competitorWebsites.","items":{"type":"integer"},"type":["array","null"]},"competitorWebsites":{"description":"Websites of companies Crustdata considers competitors.","items":{"type":"string"},"type":["array","null"]},"contactEmail":{"description":"Publicly listed contact email address.","type":["string","null"]},"crunchbaseCategories":{"description":"Crunchbase category tags.","items":{"type":"string"},"type":["array","null"]},"crunchbaseUrl":{"description":"Crunchbase profile URL.","format":"uri","type":["string","null"]},"crunchbaseUuid":{"description":"Crunchbase organization UUID.","type":["string","null"]},"description":{"description":"Company description from its LinkedIn page.","type":["string","null"]},"domain":{"description":"Primary website domain, or null when the upstream holds none for this company.","type":["string","null"]},"domains":{"description":"All domains associated with the company.","items":{"type":"string"},"type":["array","null"]},"employeeCount":{"description":"Latest observed employee count.","type":["integer","null"]},"employeeGrowth":{"description":"Headcount change over trailing windows, absolute and percent.","properties":{"absolute12m":{"description":"Net change over the last twelve months.","type":"integer"},"absolute1m":{"description":"Net change over the last month.","type":"integer"},"absolute3m":{"description":"Net change over the last three months.","type":"integer"},"absolute6m":{"description":"Net change over the last six months.","type":"integer"},"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent1m":{"description":"Percent change over the last month.","type":"number"},"percent3m":{"description":"Percent change over the last three months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"employeeRange":{"description":"Employee count band, e.g. 51-200.","type":["string","null"]},"estimatedRevenueHigherUsd":{"description":"Upper bound of estimated annual revenue in USD.","type":["integer","null"]},"estimatedRevenueLowerUsd":{"description":"Lower bound of estimated annual revenue in USD.","type":["integer","null"]},"fiscalYearEnd":{"description":"Fiscal year end.","type":["string","null"]},"followerCount":{"description":"Latest LinkedIn follower count.","type":["integer","null"]},"followerGrowth":{"description":"LinkedIn follower change over trailing windows, absolute and percent.","properties":{"absolute12m":{"description":"Net change over the last twelve months.","type":"integer"},"absolute1m":{"description":"Net change over the last month.","type":"integer"},"absolute3m":{"description":"Net change over the last three months.","type":"integer"},"absolute6m":{"description":"Net change over the last six months.","type":"integer"},"percent12m":{"description":"Percent change over the last twelve months.","type":"number"},"percent1m":{"description":"Percent change over the last month.","type":"number"},"percent3m":{"description":"Percent change over the last three months.","type":"number"},"percent6m":{"description":"Percent change over the last six months.","type":"number"}},"type":["object","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"growthCalculatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the growth metrics on this record were last calculated.","type":["integer","null"]},"headcountByRegion":{"additionalProperties":{"type":"number"},"description":"Employee count per region, keyed by LinkedIn region name.","type":["object","null"]},"headcountByRole":{"additionalProperties":{"type":"number"},"description":"Employee count per job function, keyed by LinkedIn function name.","type":["object","null"]},"headcountByRolePercent":{"additionalProperties":{"type":"number"},"description":"Share of employees per job function as a percent, keyed by LinkedIn function name.","type":["object","null"]},"headcountBySkill":{"additionalProperties":{"type":"number"},"description":"Employee count per listed skill, keyed by skill name.","type":["object","null"]},"headcountBySkillPercent":{"additionalProperties":{"type":"number"},"description":"Share of employees per listed skill as a percent, keyed by skill name.","type":["object","null"]},"headquarters":{"description":"Headquarters location.","type":["string","null"]},"hqCountry":{"description":"Country of the headquarters.","type":["string","null"]},"hqLocationAddressComponents":{"description":"The headquarters location split into address components (city, state, country). Restates headquarters in parts.","items":{"type":"string"},"type":["array","null"]},"hqStreetAddressAndCity":{"description":"Headquarters street address and city. Crustdata returns the same string as headquarters for most companies.","type":["string","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"indexedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When Crustdata last indexed the record for search, which is usually just after updatedUtc.","type":["integer","null"]},"industries":{"description":"All LinkedIn industries listed for the company.","items":{"type":"string"},"type":["array","null"]},"industry":{"description":"Primary LinkedIn industry.","type":["string","null"]},"investors":{"description":"Investors named on the Crunchbase profile.","items":{"type":"string"},"type":["array","null"]},"isInvestor":{"description":"True when the company itself invests in other companies.","type":["boolean","null"]},"largestHeadcountCountry":{"description":"Country holding the largest share of employees.","type":["string","null"]},"lastFundingType":{"description":"Type of the most recent funding round, e.g. series_e.","type":["string","null"]},"lastFundingUsd":{"description":"Amount raised in the most recent funding round, in USD.","type":["integer","null"]},"lastFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date of the most recent funding round.","type":["integer","null"]},"linkedinCategories":{"description":"LinkedIn speciality tags listed by the company.","items":{"type":"string"},"type":["array","null"]},"linkedinCompanyId":{"description":"LinkedIn's own numeric identifier for the company page.","type":["string","null"]},"linkedinProfileName":{"description":"Company name as it appears on the LinkedIn page. Usually the same value as name; Crustdata returns both.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn company page URL.","format":"uri","type":["string","null"]},"markets":{"description":"Markets the company trades in, e.g. PRIVATE or NASDAQ.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name.","type":["string","null"]},"officeAddresses":{"description":"Office addresses exactly as Crustdata returns them. Untyped passthrough: the structure ships verbatim and is not validated, because it was empty for every company we captured."},"phone":{"description":"Publicly listed phone number.","type":["string","null"]},"roleGrowth6mPercent":{"additionalProperties":{"type":"number"},"description":"Six-month percent headcount change per job function, keyed by LinkedIn function name.","type":["object","null"]},"roleGrowthYoyPercent":{"additionalProperties":{"type":"number"},"description":"Year-over-year percent headcount change per job function, keyed by LinkedIn function name.","type":["object","null"]},"stockSymbols":{"description":"Stock ticker symbols.","items":{"type":"string"},"type":["array","null"]},"totalFundingUsd":{"description":"Total investment raised to date, in USD.","type":["integer","null"]},"tracxnInvestors":{"description":"Investors sourced from Tracxn, exactly as Crustdata returns them. Untyped passthrough: the structure ships verbatim and is not validated, because it was empty for every company we captured."},"twitterUrl":{"description":"X (Twitter) profile URL.","format":"uri","type":["string","null"]},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When this company record was last refreshed.","type":["integer","null"]},"valuationLowerUsd":{"description":"Lower bound of the reported valuation in USD.","type":["integer","null"]},"valuationUsd":{"description":"Reported valuation in USD.","type":["integer","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"hasMore":{"description":"True when more companies exist beyond this page.","type":"boolean"},"nextCursor":{"description":"Opaque continuation token; null when the walk is complete.","type":["string","null"]},"totalCount":{"description":"Total number of companies matching the filters.","minimum":0,"type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when the filters matched no companies.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - Crustdata v3 output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - Crustdata v3 (legacy)","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/crustdata-v3"},"x-payment-info":{"price":{"currency":"USD","max":"12.000000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"12.001000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"12.000000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.fullenrich":{"post":{"description":"Build an account list from FullEnrich by name, domain, industry, specialty, ownership type, headcount, founding year and headquarters, with full firmographics and every office on each row. Billed per company returned.\n\n**Price:** billed per result - \\$25.20 per 1,000 results, capped at \\$2,520.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - FullEnrich pricing and uptime](https://getanyapi.com/api/company-search/fullenrich) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_fullenrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domains":[{"exact_match":true,"value":"stripe.com"}],"limit":1},"schema":{"additionalProperties":false,"example":{"domains":[{"exact_match":true,"value":"stripe.com"}],"limit":1},"minProperties":1,"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyIds":{"description":"Filter by FullEnrich company id. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"cursor":{"description":"Cursor from a previous response's nextCursor. Works at any depth, including past the 10000 offset ceiling.","type":"string"},"domains":{"description":"Filter by company domain, e.g. stripe.com. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"foundedYears":{"description":"Filter by founding year. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"headcounts":{"description":"Filter by employee headcount band. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"headquartersLocations":{"description":"Filter by headquarters city, region or country. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"industries":{"description":"Filter by company industry, e.g. Software Development. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"keywords":{"description":"Filter by words in the company description. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"limit":{"default":10,"description":"Rows to return on this page, up to FullEnrich's maximum of 100. Every row returned is billed.","maximum":100,"minimum":1,"type":"integer"},"linkedinUrls":{"description":"Filter by company LinkedIn URL. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"names":{"description":"Filter by company name. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"offset":{"default":0,"description":"Rows to skip. FullEnrich caps offset at 10000; past that, page with cursor.","minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"specialties":{"description":"Filter by company specialty. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"},"types":{"description":"Filter by ownership type, e.g. Public Company, Privately Held, Nonprofit. Each entry is an object taking a `value` string and an optional `exact_match` boolean, e.g. [{\"value\": \"stripe.com\", \"exact_match\": true}]. A bare string is rejected.","items":{"additionalProperties":true,"properties":{"exact_match":{"description":"Require an exact match rather than a fuzzy one.","type":"boolean"},"value":{"description":"The value to match.","type":"string"}},"type":"object"},"type":"array"}},"title":"Company Search - FullEnrich input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"One page of matching records plus FullEnrich's paging state.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching companies with FullEnrich's firmographic record.","items":{"properties":{"companyId":{"description":"FullEnrich's own company identifier.","type":["string","null"]},"companyType":{"description":"Ownership type, e.g. Public Company, Privately Held.","type":["string","null"]},"description":{"description":"Company description.","type":["string","null"]},"domain":{"description":"Primary company domain.","type":["string","null"]},"foundedYear":{"description":"Year the company was founded. Zero when FullEnrich holds none.","type":["integer","null"]},"headcount":{"description":"Employees FullEnrich currently counts.","type":["integer","null"]},"headcountRange":{"description":"Employee headcount band, e.g. 5001-10000.","type":["string","null"]},"headquarters":{"description":"Headquarters address.","properties":{"city":{"description":"City.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"line1":{"description":"First address line.","type":"string"},"line2":{"description":"Second address line, carrying city, region, postal code and country.","type":"string"},"region":{"description":"State or region.","type":"string"}},"type":["object","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"industry":{"description":"Main industry.","type":["string","null"]},"linkedinFollowers":{"description":"LinkedIn follower count.","type":["integer","null"]},"linkedinHandle":{"description":"Company LinkedIn vanity handle.","type":["string","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"name":{"description":"Company name.","type":["string","null"]},"offices":{"description":"Every other office FullEnrich holds for the company.","items":{"properties":{"line1":{"description":"First address line.","type":"string"},"line2":{"description":"Second address line, carrying city, region, postal code and country.","type":"string"}},"type":"object"},"type":["array","null"]},"specialties":{"description":"Specialties the company lists for itself.","items":{"type":"string"},"type":["array","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"nextCursor":{"description":"Cursor for the next page, or null when this lane is complete. Send it back as cursor.","type":["string","null"]},"offset":{"description":"Rows skipped before this page.","type":"integer"},"total":{"description":"Rows matching the filters across all pages.","type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when nothing matched the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - FullEnrich output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - FullEnrich","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/fullenrich"},"x-payment-info":{"price":{"currency":"USD","max":"2.520000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"2.521000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"2.520000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.peopledatalabs":{"post":{"description":"Search People Data Labs' company dataset with SQL or an Elasticsearch query and get the full firmographic record back, including funding history and the headcount growth, tenure and churn series. Billed per company returned.\n\n**Price:** billed per result - \\$120.00 per 1,000 results, capped at \\$9,960.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - People Data Labs pricing and uptime](https://getanyapi.com/api/company-search/peopledatalabs) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_peopledatalabs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":1,"sql":"SELECT * FROM company WHERE website = 'posthog.com'"},"schema":{"additionalProperties":false,"anyOf":[{"required":["sql"]},{"required":["query"]}],"example":{"limit":1,"sql":"SELECT * FROM company WHERE website = 'posthog.com'"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"dataInclude":{"description":"Comma-separated People Data Labs fields to include, or a leading - list to exclude. Projection changes the payload only; billing still follows companies returned.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum companies to return. Every company returned is billed, so start at 1 to check a query and read total before asking for more.","maximum":83,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"additionalProperties":true,"description":"Elasticsearch-style query over the People Data Labs company dataset, e.g. {\"bool\": {\"must\": [{\"term\": {\"website\": \"posthog.com\"}}]}}. Send this or sql, never both.","type":"object"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"sql":{"description":"People Data Labs SQL, in the form SELECT * FROM company WHERE ... . String literals take single quotes, only SELECT * is supported, and field names must be real People Data Labs company fields including nested subfields such as location.country. Do not include a LIMIT clause; People Data Labs rejects it. Use limit instead. Send this or query, never both.","minLength":1,"type":"string"},"titlecase":{"description":"Return text in title case instead of People Data Labs' lowercase default.","type":"boolean"}},"title":"Company Search - People Data Labs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matching companies plus the total the query matched. People Data Labs paginates with a scroll token that is not exposed here, so a call returns one page and total tells you how much is behind it.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching company records, up to limit.","items":{"properties":{"affiliatedEntities":{"description":"People Data Labs company ids of affiliated entities.","items":{"type":["string","null"]},"type":["array","null"]},"affiliatedProfiles":{"description":"People Data Labs company ids of affiliated profiles.","items":{"type":"string"},"type":["array","null"]},"allSubsidiaries":{"description":"People Data Labs company ids of every subsidiary, at any depth.","items":{"type":"string"},"type":["array","null"]},"alternativeDomains":{"description":"Other domains the company owns.","items":{"type":"string"},"type":["array","null"]},"alternativeNames":{"description":"Other names the company trades under.","items":{"type":"string"},"type":["array","null"]},"averageEmployeeTenure":{"description":"Average employee tenure in years.","type":["number","null"]},"averageTenureByLevel":{"additionalProperties":true,"description":"Average tenure in years, keyed by seniority level.","type":["object","null"]},"averageTenureByRole":{"additionalProperties":true,"description":"Average tenure in years, keyed by role.","type":["object","null"]},"directSubsidiaries":{"description":"People Data Labs company ids of direct subsidiaries.","items":{"type":"string"},"type":["array","null"]},"employeeChurnRate":{"additionalProperties":true,"description":"Churn rate keyed by window, e.g. 12_month.","type":["object","null"]},"employeeCount":{"description":"Employees People Data Labs currently counts.","type":["integer","null"]},"employeeCountByClass":{"additionalProperties":true,"description":"Headcount keyed by job class.","type":["object","null"]},"employeeCountByCountry":{"additionalProperties":true,"description":"Headcount keyed by country.","type":["object","null"]},"employeeCountByMonth":{"additionalProperties":true,"description":"Headcount keyed by YYYY-MM month.","type":["object","null"]},"employeeCountByRole":{"additionalProperties":true,"description":"Headcount keyed by role.","type":["object","null"]},"employeeCountBySubRole":{"additionalProperties":true,"description":"Headcount keyed by sub-role.","type":["object","null"]},"employeeGrowthRate":{"additionalProperties":true,"description":"Headcount growth rate keyed by window.","type":["object","null"]},"employeeGrowthRate12MonthByClass":{"additionalProperties":true,"description":"Twelve-month headcount growth rate keyed by job class.","type":["object","null"]},"employeeGrowthRate12MonthByCountry":{"additionalProperties":true,"description":"Twelve-month headcount growth keyed by country, each entry carrying current and prior headcount.","type":["object","null"]},"employeeGrowthRate12MonthByRole":{"additionalProperties":true,"description":"Twelve-month headcount growth rate keyed by role.","type":["object","null"]},"employeeTurnoverRate":{"additionalProperties":true,"description":"Turnover rate keyed by window, e.g. 3_month, 12_month.","type":["object","null"]},"facebookUrl":{"description":"Company Facebook page URL.","format":"uri","type":["string","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"fundingRounds":{"description":"Number of funding rounds raised.","type":["integer","null"]},"fundingStages":{"description":"Every funding stage the company has raised.","items":{"type":"string"},"type":["array","null"]},"grossAdditionsByMonth":{"additionalProperties":true,"description":"Employees joined, keyed by YYYY-MM month.","type":["object","null"]},"grossDeparturesByMonth":{"additionalProperties":true,"description":"Employees departed, keyed by YYYY-MM month.","type":["object","null"]},"headline":{"description":"One-line company tagline.","type":["string","null"]},"immediateParent":{"description":"People Data Labs company id of the immediate parent company.","type":["string","null"]},"industry":{"description":"Company industry.","type":["string","null"]},"industryV2":{"description":"Company industry on People Data Labs' newer taxonomy.","type":["string","null"]},"inferredRevenue":{"description":"Inferred annual revenue band, e.g. $50M-$100M.","type":["string","null"]},"lastFundingUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent funding round. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"latestFundingStage":{"description":"Most recent funding stage, e.g. series_e.","type":["string","null"]},"linkedinFollowers":{"description":"LinkedIn follower count.","type":["integer","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinSlug":{"description":"Company LinkedIn vanity slug.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"location":{"description":"Company headquarters.","properties":{"addressLine2":{"description":"Second line of the address.","type":"string"},"continent":{"description":"Continent.","type":"string"},"country":{"description":"Country.","type":"string"},"geo":{"description":"Coordinates as \"lat,lon\".","type":"string"},"locality":{"description":"City.","type":"string"},"metro":{"description":"Metro area.","type":"string"},"name":{"description":"Location as one display string.","type":"string"},"postalCode":{"description":"Postal code.","type":"string"},"region":{"description":"State or region.","type":"string"},"streetAddress":{"description":"Street address.","type":"string"}},"type":["object","null"]},"medianEmployeeTenure":{"description":"Median employee tenure in years.","type":["number","null"]},"medianTenureByLevel":{"additionalProperties":true,"description":"Median tenure in years, keyed by seniority level.","type":["object","null"]},"medianTenureByRole":{"additionalProperties":true,"description":"Median tenure in years, keyed by role.","type":["object","null"]},"micExchange":{"description":"MIC code of the exchange the company lists on.","type":["string","null"]},"naicsCodes":{"description":"NAICS classification for the company.","items":{"properties":{"code":{"description":"NAICS code.","type":["string","null"]},"industryGroup":{"description":"NAICS industry group.","type":"string"},"naicsIndustry":{"description":"NAICS industry.","type":"string"},"nationalIndustry":{"description":"NAICS national industry.","type":"string"},"sector":{"description":"NAICS sector.","type":"string"},"subSector":{"description":"NAICS sub-sector.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"name":{"description":"Company name as People Data Labs displays it.","type":["string","null"]},"nameNormalized":{"description":"Lowercase normalized company name, the form People Data Labs matches on.","type":["string","null"]},"pdlId":{"description":"People Data Labs persistent company id.","type":["string","null"]},"profiles":{"description":"Every social profile People Data Labs links to the company.","items":{"type":"string"},"type":["array","null"]},"sicCodes":{"description":"SIC classification for the company.","items":{"properties":{"code":{"description":"SIC code.","type":["string","null"]},"industryGroup":{"description":"SIC industry group.","type":"string"},"industrySector":{"description":"SIC industry sector.","type":"string"},"majorGroup":{"description":"SIC major group.","type":"string"}},"required":["code"],"type":"object"},"type":["array","null"]},"size":{"description":"Employee headcount band, e.g. 11-50.","type":["string","null"]},"summary":{"description":"Long company description.","type":["string","null"]},"tags":{"description":"Descriptive tags for the company.","items":{"type":"string"},"type":["array","null"]},"ticker":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"totalFundingRaised":{"description":"Total capital raised, in USD.","type":["number","null"]},"twitterUrl":{"description":"Company X (Twitter) profile URL.","format":"uri","type":["string","null"]},"type":{"description":"Ownership type, e.g. private, public.","type":["string","null"]},"ultimateParent":{"description":"People Data Labs company id of the ultimate parent company.","type":["string","null"]},"website":{"description":"Company website domain.","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"datasetVersion":{"description":"Version of the People Data Labs dataset these records came from.","type":"string"},"total":{"description":"Companies matching the query across the whole dataset, not just this page.","type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when the query matched no company.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - People Data Labs output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - People Data Labs","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/peopledatalabs"},"x-payment-info":{"price":{"currency":"USD","max":"9.960000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"9.961000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"9.960000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.prospeo":{"post":{"description":"Build an account list from Prospeo by industry, headcount, revenue, location, technology, funding and hiring activity. One flat price per page of 25.\n\n**Price:** \\$66.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - Prospeo pricing and uptime](https://getanyapi.com/api/company-search/prospeo) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_prospeo","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"company":{"websites":{"include":["stripe.com"]}},"page":1},"schema":{"additionalProperties":false,"example":{"company":{"websites":{"include":["stripe.com"]}},"page":1},"minProperties":1,"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"company":{"additionalProperties":true,"description":"Filter by company names or websites, e.g. {\"names\": {\"include\": [\"Stripe\"]}, \"websites\": {\"include\": [\"stripe.com\"]}}.","type":"object"},"companyAttributes":{"additionalProperties":true,"description":"Filter by company characteristics, e.g. B2B, has pricing, has a free trial.","type":"object"},"companyEmailProvider":{"description":"Filter by the company's email MX provider.","items":{"type":"string"},"type":"array"},"companyFounded":{"additionalProperties":true,"description":"Filter by founding year range.","type":"object"},"companyFunding":{"additionalProperties":true,"description":"Filter by funding stage or amount raised.","type":"object"},"companyHeadcountByDepartment":{"description":"Filter by headcount within a department.","items":{"type":"string"},"type":"array"},"companyHeadcountCustom":{"additionalProperties":true,"description":"Filter by a custom employee count range.","type":"object"},"companyHeadcountGrowth":{"additionalProperties":true,"description":"Filter by headcount growth.","type":"object"},"companyHeadcountRange":{"description":"Filter by Prospeo's predefined employee count bands.","items":{"type":"string"},"type":"array"},"companyIndustry":{"additionalProperties":true,"description":"Filter by company industry.","type":"object"},"companyJobPostingHiringFor":{"description":"Filter by the roles the company is currently hiring for.","items":{"type":"string"},"type":"array"},"companyJobPostingQuantity":{"additionalProperties":true,"description":"Filter by how many roles the company has open.","type":"object"},"companyKeywords":{"additionalProperties":true,"description":"Filter by keywords found in company data.","type":"object"},"companyLocationSearch":{"additionalProperties":true,"description":"Filter by company headquarters location.","type":"object"},"companyNaics":{"additionalProperties":true,"description":"Filter by NAICS codes.","type":"object"},"companyRevenue":{"additionalProperties":true,"description":"Filter by revenue range.","type":"object"},"companySics":{"additionalProperties":true,"description":"Filter by SIC codes.","type":"object"},"companyTechnology":{"additionalProperties":true,"description":"Filter by technologies the company uses.","type":"object"},"companyType":{"description":"Filter by ownership type.","enum":["Private","Public","Non Profit","Other"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"Page number, one-based. Prospeo returns 25 results per page and charges one flat price per page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Search - Prospeo input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"One page of matching records plus Prospeo's paging counters.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching companies with Prospeo's full firmographic record.","items":{"properties":{"attributes":{"description":"What Prospeo detects about how the company sells.","properties":{"hasDemo":{"description":"The website offers a demo.","type":"boolean"},"hasDownloadable":{"description":"The website offers a download.","type":"boolean"},"hasFreeTrial":{"description":"The website offers a free trial.","type":"boolean"},"hasMobileApps":{"description":"The company publishes mobile apps.","type":"boolean"},"hasOnlineReviews":{"description":"The company has online reviews.","type":"boolean"},"hasPricing":{"description":"The website publishes pricing.","type":"boolean"},"isB2b":{"description":"The company sells to businesses.","type":"boolean"}},"type":["object","null"]},"companyId":{"description":"Prospeo's own company identifier. Send it back as this SKU's companyId input.","type":["string","null"]},"crunchbaseUrl":{"description":"Company Crunchbase profile URL.","format":"uri","type":["string","null"]},"description":{"description":"Company description as the company writes it.","type":["string","null"]},"descriptionAi":{"description":"Prospeo's own AI-written company summary.","type":["string","null"]},"descriptionSeo":{"description":"Meta description from the company's website.","type":["string","null"]},"domain":{"description":"Primary company domain.","type":["string","null"]},"emailTech":{"description":"How the company's email is hosted.","properties":{"domain":{"description":"Domain the company's email addresses use.","type":"string"},"mxProvider":{"description":"Mail provider behind the domain's MX records.","type":"string"}},"type":["object","null"]},"employeeCount":{"description":"Employees Prospeo currently counts.","type":["integer","null"]},"employeeCountOnProspeo":{"description":"Employees of this company that Prospeo holds a profile for.","type":["integer","null"]},"employeeRange":{"description":"Employee headcount band, e.g. 10000+.","type":["string","null"]},"facebookUrl":{"description":"Company Facebook page URL.","format":"uri","type":["string","null"]},"founded":{"description":"Year the company was founded.","type":["integer","null"]},"funding":{"description":"Funding history.","properties":{"events":{"description":"One entry per funding round.","items":{"properties":{"amount":{"description":"Amount raised in USD.","type":"number"},"amountPrinted":{"description":"Amount raised as a display string.","type":"string"},"link":{"description":"Source URL for the round.","format":"uri","type":"string"},"raisedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the round closed. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"stage":{"description":"Round stage, e.g. Series E-J.","type":"string"}},"type":"object"},"type":["array","null"]},"latestStage":{"description":"Most recent funding stage.","type":"string"},"latestUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent round. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"rounds":{"description":"Number of funding rounds raised.","type":"integer"},"totalRaised":{"description":"Total capital raised, in USD.","type":"number"},"totalRaisedPrinted":{"description":"Total capital raised as a display string.","type":"string"}},"type":["object","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"industry":{"description":"Company industry.","type":["string","null"]},"instagramUrl":{"description":"Company Instagram profile URL.","format":"uri","type":["string","null"]},"jobPostings":{"description":"Open roles Prospeo currently sees for the company.","properties":{"activeCount":{"description":"Open roles currently posted.","type":"integer"},"activeTitles":{"description":"Titles of the open roles.","items":{"type":"string"},"type":"array"}},"type":["object","null"]},"keywords":{"description":"Keywords Prospeo assigns the company.","items":{"type":"string"},"type":["array","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"location":{"description":"Company headquarters.","properties":{"city":{"description":"City.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"rawAddress":{"description":"Headquarters address as one display string.","type":"string"},"state":{"description":"State or region.","type":"string"}},"type":["object","null"]},"naicsCodes":{"description":"NAICS classification codes for the company.","items":{"type":"string"},"type":["array","null"]},"name":{"description":"Company name.","type":["string","null"]},"otherWebsites":{"description":"Other domains the company owns.","items":{"type":"string"},"type":["array","null"]},"phoneHq":{"description":"Headquarters switchboard number.","properties":{"country":{"description":"Country the number belongs to.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 code for that country.","type":"string"},"international":{"description":"Number in international format.","type":"string"},"national":{"description":"Number in national format.","type":"string"},"phone":{"description":"Phone number as Prospeo stores it.","type":"string"}},"type":["object","null"]},"revenueRange":{"description":"Annual revenue band in USD.","properties":{"max":{"description":"Upper bound in USD.","type":"number"},"min":{"description":"Lower bound in USD.","type":"number"}},"type":["object","null"]},"revenueRangePrinted":{"description":"Annual revenue band as a display string.","type":["string","null"]},"sicCodes":{"description":"SIC classification codes for the company.","items":{"type":"string"},"type":["array","null"]},"technologies":{"description":"Technologies Prospeo detects in the company's stack.","items":{"type":"string"},"type":["array","null"]},"twitterUrl":{"description":"Company X (Twitter) profile URL.","format":"uri","type":["string","null"]},"type":{"description":"Ownership type, e.g. Private, Public, Non Profit.","type":["string","null"]},"website":{"description":"Company website URL.","format":"uri","type":["string","null"]},"youtubeUrl":{"description":"Company YouTube channel URL.","format":"uri","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"currentPage":{"description":"Page number this response holds, one-based.","type":"integer"},"perPage":{"description":"Results Prospeo returns per page. Prospeo fixes this at 25 and charges one flat price per page.","type":"integer"},"totalCount":{"description":"Results matching the filters across all pages.","type":"integer"},"totalPages":{"description":"Pages of results behind these filters.","type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when no record matched the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - Prospeo output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - Prospeo","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/prospeo"},"x-payment-info":{"price":{"amount":"0.066000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.067000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.066000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.quickenrich":{"post":{"description":"Find companies by name, domain, industry, headcount, revenue, services, or location, and get back their site, LinkedIn, and contact details. Billed per company returned.\n\n**Price:** billed per result - \\$7.20 per 1,000 results, capped at \\$720.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - QuickEnrich pricing and uptime](https://getanyapi.com/api/company-search/quickenrich) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_quickenrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":{"include":["US"]},"employeeCount":{"include":["20 - 99"]},"limit":2},"schema":{"additionalProperties":false,"anyOf":[{"required":["companyName"]},{"required":["companyDomain"]},{"required":["industry"]},{"required":["employeeCount"]},{"required":["revenue"]},{"required":["services"]},{"required":["city"]},{"required":["country"]},{"required":["homePageText"]},{"required":["linkedinBio"]}],"example":{"country":{"include":["US"]},"employeeCount":{"include":["20 - 99"]},"limit":2},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"city":{"additionalProperties":false,"description":"Filter on city name.","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"companyDomain":{"additionalProperties":false,"description":"Filter on company website domain. Include only; exclude is rejected upstream.","properties":{"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"companyName":{"additionalProperties":false,"description":"Filter on company name.","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"country":{"additionalProperties":false,"description":"Filter on ISO 3166-1 alpha-2 country code, e.g. \"US\".","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"employeeCount":{"additionalProperties":false,"description":"Filter on headcount band. Note these bands differ from the employeeCount string returned on a result.","properties":{"exclude":{"description":"Reject any of these values.","items":{"enum":["\u003c 5","5 - 19","20 - 99","100 - 249","250 - 499","500 - 999","1000 - 4999","5000 - 9999","\u003e10000","Not Available"],"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"enum":["\u003c 5","5 - 19","20 - 99","100 - 249","250 - 499","500 - 999","1000 - 4999","5000 - 9999","\u003e10000","Not Available"],"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"homePageText":{"additionalProperties":false,"description":"Filter on words found in the company home page text.","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeFullText":{"description":"Return the full home page text on each company instead of a snippet.","type":"boolean"},"industry":{"additionalProperties":false,"description":"Filter on industry label. Values must match the QuickEnrich industry vocabulary exactly, e.g. \"IT Services and IT Consulting\".","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"limit":{"default":10,"description":"Maximum companies to return on this page. Every company returned is billed.","maximum":100,"minimum":1,"type":"integer"},"linkedinBio":{"additionalProperties":false,"description":"Filter on words found in the company LinkedIn bio.","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"page":{"default":1,"description":"One-based result page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"revenue":{"additionalProperties":false,"description":"Filter on revenue band.","properties":{"exclude":{"description":"Reject any of these values.","items":{"enum":["\u003c 500k","500k - 1 Million","1 - 2.5 Million","2.5 - 5 Million","5 - 10 Million","10 - 20 Million","20 - 50 Million","50 - 100 Million","100 - 500 Million","500 Million - 1 Billion","\u003e1 Billion","Not Available"],"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"enum":["\u003c 500k","500k - 1 Million","1 - 2.5 Million","2.5 - 5 Million","5 - 10 Million","10 - 20 Million","20 - 50 Million","50 - 100 Million","100 - 500 Million","500 Million - 1 Billion","\u003e1 Billion","Not Available"],"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"services":{"additionalProperties":false,"description":"Filter on the services a company lists.","properties":{"exclude":{"description":"Reject any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"},"include":{"description":"Match any of these values.","items":{"type":"string"},"maxItems":50,"type":"array"}},"type":"object"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Company Search - QuickEnrich input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"One page of results, or null when the request matched nothing.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Companies on this page.","items":{"properties":{"city":{"description":"City on the employer record.","type":["string","null"]},"country":{"description":"ISO 3166-1 alpha-2 country code on the employer record.","type":["string","null"]},"domain":{"description":"Company website domain.","type":["string","null"]},"email":{"description":"Work email address.","type":["string","null"]},"emailDomain":{"description":"Domain the work email resolves to.","type":["string","null"]},"employeeCount":{"description":"Headcount band, e.g. \"20 - 99\". Upstream band vocabulary; \"Not Available\" means the band is unknown.","type":["string","null"]},"finalEmailDomain":{"description":"Domain the company's email addresses finally resolve to after redirects.","type":["string","null"]},"homePageText":{"description":"Home page text. A snippet unless includeFullText was set.","type":["string","null"]},"industry":{"description":"Industry label.","type":["string","null"]},"linkedinBio":{"description":"Company LinkedIn bio snippet.","type":["string","null"]},"linkedinUrl":{"description":"Person's LinkedIn profile URL.","type":["string","null"]},"name":{"description":"Company name.","type":["string","null"]},"phone":{"description":"Direct business phone line held for the person. Mostly desk lines; read phoneType before treating it as a mobile.","type":["string","null"]},"region":{"description":"State or region code on the employer record.","type":["string","null"]},"revenue":{"description":"Revenue band, e.g. \"1 - 2.5 Million\". Upstream band vocabulary; \"Not Available\" means the band is unknown.","type":["string","null"]},"serviceCount":{"description":"How many services the company lists.","type":["integer","null"]},"services":{"description":"Services the company lists. Passed through untyped: every captured response so far has this empty, so the element shape is unverified."}},"required":["name"],"type":"object"},"type":"array"},"hasMore":{"description":"Whether the upstream reports further pages beyond this one.","type":"boolean"},"page":{"description":"One-based page this response covers.","type":"integer"},"pageSize":{"description":"Records per page upstream applied.","type":"integer"},"total":{"description":"Total records matching the request.","type":"integer"},"totalPages":{"description":"Total pages available.","type":"integer"}},"required":["companies","page","pageSize","total","totalPages","hasMore"],"type":"object"}]},"found":{"description":"False when the filters matched no companies.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - QuickEnrich output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - QuickEnrich","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/quickenrich"},"x-payment-info":{"price":{"currency":"USD","max":"0.720000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.721000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.720000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/company_search.theirstack":{"post":{"description":"Build an account list from TheirStack by the technologies, keywords and buying-intent topics a company mentions in its job posts, plus headcount, revenue, funding, industry and location. Billed per company returned.\n\n**Price:** billed per result - \\$199.20 per 1,000 results, capped at \\$9,960.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Company Search - TheirStack pricing and uptime](https://getanyapi.com/api/company-search/theirstack) - live USD price, lane routing, and measured 30-day uptime. [Every Company_search endpoint](https://getanyapi.com/api/company-search).","operationId":"company_search_theirstack","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomainOr":["posthog.com"],"limit":1},"schema":{"additionalProperties":false,"example":{"companyDomainOr":["posthog.com"],"limit":1},"minProperties":1,"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyCountryCodeNot":{"description":"Return companies whose HQ country code is not any of the ones passed here, case sensitive. Pass ISO2 country codes.","items":{"type":"string"},"type":"array"},"companyCountryCodeOr":{"description":"Return companies whose HQ country code is any of the ones passed here, case sensitive. Pass ISO2 country codes.","items":{"type":"string"},"type":"array"},"companyDescriptionPatternAccentInsensitive":{"description":"Set to True to make company description searches accent insensitive. For example, \"á\" will match \"a\" as well.","type":"boolean"},"companyDescriptionPatternNot":{"description":"Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns.","items":{"type":"string"},"type":"array"},"companyDescriptionPatternOr":{"description":"Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns.","items":{"type":"string"},"type":"array"},"companyDomainNot":{"description":"Only return companies that don't match these domains exactly. It accepts full urls (https://www.google.com/) and emails (john.polo@gmail.com).","items":{"type":"string"},"type":"array"},"companyDomainOr":{"description":"Only return companies that match these domains exactly. It accepts full urls (https://www.google.com/) and emails (john.polo@gmail.com). This filter acts as an OR filter, so if you pass more than one company domain, it will return companies that match any of the domains.","items":{"type":"string"},"type":"array"},"companyIdOr":{"description":"Only return companies that match these IDs exactly. This filter acts as an OR filter, so if you pass more than one company ID, it will return companies that match any of the IDs.","items":{"type":"string"},"type":"array"},"companyInvestorsOr":{"description":"Investors of the company","items":{"type":"string"},"type":"array"},"companyInvestorsPartialMatchOr":{"description":"Investors of the company. Will return companies for which any of their investors contains any of the substrings passed here. For example, if you pass 'andree', all funds that match it (like 'Andreessen Horowitz', 'Andreessen Horowitz LLC', etc).","items":{"type":"string"},"type":"array"},"companyKeywordSlugAnd":{"description":"Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyKeywordSlugNot":{"description":"Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyKeywordSlugOr":{"description":"Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyLinkedinUrlExists":{"description":"(Use `property_exists_or / property_exists_and` instead) Only return companies with a LinkedIn URL","type":"boolean"},"companyLinkedinUrlOr":{"description":"Return companies whose LinkedIn URL matches any of the slugs passed here. Can also pass full LinkedIn company URLs.","items":{"type":"string"},"type":"array"},"companyListIdNot":{"description":"Return companies that don't belong to any of the company lists passed here","items":{"type":"integer"},"type":"array"},"companyListIdOr":{"description":"Return companies that belong to any of the company lists passed here","items":{"type":"integer"},"type":"array"},"companyLocationPatternOr":{"description":"Return companies whose city matches any of the patterns passed here. Case insensitive. For example, if you pass 'san francisco', it will return companies whose city is 'San Francisco', 'San Francisco Bay Area', etc.","items":{"type":"string"},"type":"array"},"companyNameCaseInsensitiveOr":{"description":"Only return companies that match these names exactly, case-insensitively.","items":{"type":"string"},"type":"array"},"companyNameNot":{"description":"Only return companies that don't match these names exactly, case-sensitively.","items":{"type":"string"},"type":"array"},"companyNameOr":{"description":"Only return companies that match these names exactly, case-sensitively. This filter acts as an OR filter, so if you pass more than one company name, it will return companies that match any of the names.","items":{"type":"string"},"type":"array"},"companyNamePartialMatchNot":{"description":"Company names. Will return companies whose name doesn't contain any of the the substrings passed here, case-insensitively. For example, if you pass 'google', it will exclude 'Google', 'Google LLC', 'Google Inc', etc.","items":{"type":"string"},"type":"array"},"companyNamePartialMatchOr":{"description":"Company names. Will return companies whose name contain any of the the substrings passed here, case-insensitively. For example, if you pass \"google\", it will return \"Google\", \"Google LLC\", \"Google Inc\", etc.","items":{"type":"string"},"type":"array"},"companyTagsOr":{"description":"Return companies that match any of these keywords","items":{"type":"string"},"type":"array"},"companyTechnologySlugAnd":{"description":"Will return jobs from companies that that have mentioned all of these technologies in their jobs (not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_and instead.","items":{"type":"string"},"type":"array"},"companyTechnologySlugNot":{"description":"Will return jobs from companies that that haven't mentioned any of these technologies in their jobs. Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_not instead.","items":{"type":"string"},"type":"array"},"companyTechnologySlugOr":{"description":"Will return jobs from companies that that have mentioned any of these technologies in their jobs (not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_or instead.","items":{"type":"string"},"type":"array"},"companyType":{"description":"Filter by company type.","type":"string"},"expandTechnologySlugs":{"description":"Specify technology slugs to include detailed technology usage information for each company. The response will include a 'technologies_found' field containing metrics like confidence score, ranking, and job count for each specified technology. Note: If a technology is not listed for a company, it means that company does not use that technology. This feature is useful for enriching company data with their technology stack details.","items":{"type":"string"},"type":"array"},"fundingStageOr":{"description":"Funding stages of companies returned. Possible values: ['angel', 'convertible_note', 'debt_financing', 'equity_crowdfunding', 'other', 'private_equity', 'seed', 'series_a', 'series_b', 'series_c', 'series_d', 'series_e', 'series_f', 'series_g', 'series_h', 'venture_round_not_specified', 'series_i', 'series_j', 'undisclosed', 'series_unknown', 'pre_seed', 'post_ipo_secondary', 'post_ipo_equity', 'post_ipo_debt', 'non_equity_assistance', 'late_vc', 'initial_coin_offering', 'growth_equity_vc', 'grant', 'early_vc', 'corporate_round', 'secondary_market', 'product_crowdfunding']","items":{"type":"string"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeTotalResults":{"description":"When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests.","type":"boolean"},"industryIdNot":{"description":"Industry ids to exclude. You can use any of LinkedIn's Industry Codes V2 or GET /v0/catalog/industries","items":{"type":"integer"},"type":"array"},"industryIdOr":{"description":"Industry codes. You can use any of LinkedIn's Industry Codes V2 or GET /v0/catalog/industries","items":{"type":"integer"},"type":"array"},"industryNot":{"description":"Names of industries, case-insensitive. Results will exclude companies that belong to any of the industries specified in this parameter. Available values: GET /v0/catalog/industries WARNING: Deprecated parameter. Use the industry_id_not field instead.","items":{"type":"string"},"type":"array"},"industryOr":{"description":"Names of industries, case-insensitive. Results will only include companies that belong to any of the industries specified in this parameter. Available values: GET /v0/catalog/industries WARNING: Deprecated parameter. Use the industry_id_or field instead.","items":{"type":"string"},"type":"array"},"jobFilters":{"additionalProperties":true,"type":"object"},"keywordSlugAnd":{"description":"Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"keywordSlugNot":{"description":"Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"keywordSlugOr":{"description":"Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"lastFundingRoundDateGte":{"description":"Only return companies whose last funding round date is after or on this date. Format: 'YYYY-MM-DD'","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"lastFundingRoundDateLte":{"description":"Only return companies whose last funding round date is before or on this date. Format: 'YYYY-MM-DD'","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"limit":{"default":25,"description":"Rows to return on this page, up to TheirStack's maximum of 500. Every row returned is billed.","maximum":50,"minimum":1,"type":"integer"},"maxEmployeeCount":{"description":"Maximum number of employees in a company","type":"integer"},"maxEmployeeCountOrNull":{"description":"Maximum number of employees in a company. If we don't have company size information, we will return it as well.","type":"integer"},"maxFundingUsd":{"description":"Maximum company funding, in USD","type":"integer"},"maxRevenueUsd":{"description":"Maximum company revenue, in USD","type":"integer"},"minEmployeeCount":{"description":"Minimum number of employees in a company","type":"integer"},"minEmployeeCountOrNull":{"description":"Minimum number of employees in a company. If we don't have company size information, we will return it as well.","type":"integer"},"minFundingUsd":{"description":"Minimum company funding, in USD","type":"integer"},"minRevenueUsd":{"description":"Minimum company revenue, in USD","type":"integer"},"offset":{"description":"Number of results to skip. Required for offset-based pagination.","type":"integer"},"onlyYcCompanies":{"description":"Only return YC companies","type":"boolean"},"orderBy":{"description":"List of column objects. You can pass several columns to order by, in order of priority. Only `field` is required, `desc` is True by default","items":{"type":"string"},"type":"array"},"page":{"description":"Page number. Required when using page-based pagination.","type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"propertyExistsAnd":{"description":"Return companies that have all of these fields not null. For example, if you pass ['domain', 'linkedin_url'], it will return companies that have both domain AND linkedin_url set.","items":{"type":"string"},"type":"array"},"propertyExistsOr":{"description":"Return companies that have any of these fields not null. For example, if you pass ['domain', 'linkedin_url'], it will return companies that have a domain OR a linkedin_url set.","items":{"type":"string"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"techFilters":{"additionalProperties":true,"description":"Filter by technologies and buying intent topics detected for the company","type":"object"},"technologySlugAnd":{"description":"Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"technologySlugNot":{"description":"Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"technologySlugOr":{"description":"Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"}},"title":"Company Search - TheirStack input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matching rows plus TheirStack's result counters.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"description":"Matching companies with TheirStack's firmographic record and the technology and keyword slugs found in their job posts.","items":{"properties":{"alexaRanking":{"description":"Alexa traffic rank for the company website.","type":["integer","null"]},"annualRevenueReadable":{"description":"Estimated annual revenue as a display string, e.g. 4.2M.","type":["string","null"]},"annualRevenueUsd":{"description":"Estimated annual revenue in USD.","type":["number","null"]},"apolloId":{"description":"Apollo's identifier for the same company.","type":["string","null"]},"city":{"description":"Headquarters city.","type":["string","null"]},"companyId":{"description":"TheirStack's own company identifier.","type":["string","null"]},"companyKeywords":{"description":"Keywords TheirStack assigns the company.","items":{"type":"string"},"type":["array","null"]},"companyTags":{"description":"Tags TheirStack assigns the company.","items":{"type":"string"},"type":["array","null"]},"country":{"description":"Headquarters country.","type":["string","null"]},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":["string","null"]},"domain":{"description":"Primary company domain.","type":["string","null"]},"employeeCount":{"description":"Employees TheirStack currently counts.","type":["integer","null"]},"employeeCountRange":{"description":"Employee headcount band, e.g. 201-500.","type":["string","null"]},"foundedYear":{"description":"Year the company was founded.","type":["integer","null"]},"fundingStage":{"description":"Most recent funding stage, e.g. series_b.","type":["string","null"]},"hasBlurredData":{"description":"True when TheirStack redacted part of the record on this plan.","type":["boolean","null"]},"image":{"description":"Company logo URL.","format":"uri","type":["string","null"]},"industry":{"description":"Company industry.","type":["string","null"]},"industryId":{"description":"TheirStack's identifier for that industry.","type":["string","null"]},"investors":{"description":"Investors TheirStack records for the company.","items":{"type":"string"},"type":["array","null"]},"isRecruitingAgency":{"description":"True when TheirStack classifies the company as a recruiting agency rather than a direct employer.","type":["boolean","null"]},"keywordSlugs":{"description":"Keyword slugs found in the company's job posts. These are the values the keyword filters take.","items":{"type":"string"},"type":["array","null"]},"lastFundingRoundReadable":{"description":"Most recent round size as a display string, e.g. $15M.","type":["string","null"]},"lastFundingRoundUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent funding round. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"linkedinId":{"description":"Company LinkedIn numeric id.","type":["string","null"]},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":["string","null"]},"longDescription":{"description":"Company description as the company writes it.","type":["string","null"]},"name":{"description":"Company name.","type":["string","null"]},"numBuyingIntentTopics":{"description":"Distinct buying-intent topics detected in the company's job posts.","type":["integer","null"]},"numJobs":{"description":"Job posts TheirStack holds for the company, all time.","type":["integer","null"]},"numJobsFound":{"description":"Job posts of this company that matched your job filters, when you sent any.","type":["integer","null"]},"numJobsLast30Days":{"description":"Job posts published in the last 30 days.","type":["integer","null"]},"numKeywords":{"description":"Distinct keywords detected in the company's job posts.","type":["integer","null"]},"numTechnologies":{"description":"Distinct technologies detected in the company's job posts.","type":["integer","null"]},"possibleDomains":{"description":"Every domain TheirStack associates with the company.","items":{"type":"string"},"type":["array","null"]},"postalCode":{"description":"Headquarters postal code.","type":["string","null"]},"publiclyTradedExchange":{"description":"Exchange the company lists on.","type":["string","null"]},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":["string","null"]},"seoDescription":{"description":"Meta description from the company's website.","type":["string","null"]},"technologiesFound":{"description":"The technologies from your technology filters that this company was matched on. Empty unless you filtered by technology.","items":{"properties":{"category":{"description":"Category the technology sits in.","type":"string"},"categorySlug":{"description":"Slug for that category.","type":"string"},"confidence":{"description":"How sure TheirStack is that the company uses it: high, medium or low.","type":"string"},"firstFoundUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the technology was first seen. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"image":{"description":"Technology logo URL.","format":"uri","type":"string"},"jobs":{"description":"Job posts mentioning the technology, all time.","type":"integer"},"jobsLast180Days":{"description":"Job posts mentioning it in the last 180 days.","type":"integer"},"jobsLast30Days":{"description":"Job posts mentioning it in the last 30 days.","type":"integer"},"jobsLast7Days":{"description":"Job posts mentioning it in the last 7 days.","type":"integer"},"lastFoundUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the technology was last seen. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"name":{"description":"Technology name.","type":["string","null"]},"parentCategory":{"description":"Parent category.","type":"string"},"parentCategorySlug":{"description":"Slug for that parent category.","type":"string"},"rankWithinCategory":{"description":"Rank among the company's technologies in the same category, 1 being the most used.","type":"integer"},"relativeOccurrenceWithinCategory":{"description":"Share of the company's mentions within this category that are of this technology, 0 to 1.","type":"number"},"score":{"description":"TheirStack's own relevance score for the match.","type":"number"},"slug":{"description":"Technology slug. This is the value the technology filters take.","type":"string"},"thumbnail":{"description":"Smaller technology logo URL.","format":"uri","type":"string"},"type":{"description":"Whether the row is a technology or a buying-intent keyword.","type":"string"}},"required":["name"],"type":"object"},"type":["array","null"]},"technologyNames":{"description":"Human-readable names for those technologies.","items":{"type":"string"},"type":["array","null"]},"technologySlugs":{"description":"Technology slugs found in the company's job posts. These are the values the technology filters take.","items":{"type":"string"},"type":["array","null"]},"totalFundingUsd":{"description":"Total capital raised, in USD.","type":["number","null"]},"url":{"description":"Company website URL.","format":"uri","type":["string","null"]},"urlSource":{"description":"Where TheirStack sourced the company website URL.","type":["string","null"]},"ycBatch":{"description":"Y Combinator batch, e.g. W20, for companies that went through it.","type":["string","null"]}},"required":["name"],"type":"object"},"type":"array"},"totalCompanies":{"description":"Distinct companies matching the filters. TheirStack computes it only when you send includeTotalResults.","type":"integer"},"totalResults":{"description":"Rows matching the filters across all pages. TheirStack computes it only when you send includeTotalResults, and omits it otherwise.","type":"integer"},"truncatedCompanies":{"description":"Companies TheirStack withheld because the plan's result ceiling was reached.","type":"integer"},"truncatedResults":{"description":"Rows TheirStack withheld because the plan's result ceiling was reached.","type":"integer"}},"required":["companies"],"type":"object"}]},"found":{"description":"False when nothing matched the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Company Search - TheirStack output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Company Search - TheirStack","tags":["company-search"],"x-mint":{"href":"/api-reference/company-search/theirstack"},"x-payment-info":{"price":{"currency":"USD","max":"9.960000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"9.961000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"9.960000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/congress.trades":{"post":{"description":"Get US Congress members' financial disclosures and stock trades (member, ticker, transaction type, amount range, and dates), filterable by member, ticker, or date range. Results come newest filing first (by reportedUtc, not tradedUtc), so a recent filing can list trades made years earlier.\n\n**Price:** billed per result - \\$1.10 per 1,000 requests base + \\$1.81 per 1,000 results, capped at \\$46.20 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Congress Stock Trades pricing and uptime](https://getanyapi.com/api/congress/trades) - live USD price, lane routing, and measured 30-day uptime. [Every Congress endpoint](https://getanyapi.com/api/congress).","operationId":"congress_trades","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":5},"schema":{"additionalProperties":false,"example":{"limit":5},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"endDate":{"description":"Latest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-06-01).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"firstName":{"description":"Filter by the congressional member's first name, case-insensitive partial match (e.g. Nancy).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastName":{"description":"Filter by the congressional member's last name, case-insensitive partial match (e.g. Pelosi).","type":"string"},"limit":{"description":"Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.","maximum":25,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Earliest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ticker":{"description":"Filter to transactions involving this stock ticker symbol (e.g. NVDA).","type":"string"}},"required":[],"title":"Congress stock trades input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Disclosure records: member name and chamber, stock ticker, transaction type, amount range, and transaction/report dates. Populated whenever the provider has data for the entity.","items":{"properties":{"amountRange":{"description":"Disclosed dollar amount range for the transaction.","type":"string"},"assetName":{"description":"Full name of the traded asset. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"assetType":{"description":"House disclosure asset class code, e.g. ST for stock or OP for option.","type":"string"},"chamber":{"description":"Congressional chamber, e.g. House or Senate.","type":"string"},"firstName":{"description":"Member's first name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Stable disclosure record identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"lastName":{"description":"Member's last name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"owner":{"description":"Trade owner code, e.g. SP (spouse), JT (joint), DC (dependent child).","type":"string"},"reportedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date the transaction was reported/disclosed.","type":"number"},"stateDistrict":{"description":"Member's state and district, e.g. PA11.","type":"string"},"symbol":{"description":"Stock ticker symbol of the traded asset. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"tradedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date the transaction occurred.","type":"number"},"transactionType":{"description":"Transaction type code, e.g. P (purchase), S (sale).","type":"string"},"year":{"description":"Calendar year of the disclosure filing.","type":"integer"}},"required":["id","symbol"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one disclosure record was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Congress stock trades output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Congress Stock Trades","tags":["congress"],"x-mint":{"href":"/api-reference/congress/trades"},"x-payment-info":{"price":{"currency":"USD","max":"0.046200","min":"0.001100","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.047200","min":"0.002100","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.046200","min":"0.001100","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/contact_enrichment.aviato":{"post":{"description":"Find one person's work and personal email addresses from a LinkedIn profile URL or an Aviato person id. Billed only when an email is found.\n\n**Price:** \\$96.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Contact Enrichment - Aviato pricing and uptime](https://getanyapi.com/api/contact-enrichment/aviato) - live USD price, lane routing, and measured 30-day uptime. [Every Contact_enrichment endpoint](https://getanyapi.com/api/contact-enrichment).","operationId":"contact_enrichment_aviato","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"linkedinUrl":"https://www.linkedin.com/in/dharmesh"},"schema":{"additionalProperties":false,"anyOf":[{"required":["linkedinUrl"]},{"required":["personId"]}],"example":{"linkedinUrl":"https://www.linkedin.com/in/dharmesh"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn profile URL, e.g. https://www.linkedin.com/in/satyanadella.","pattern":"(?i)linkedin\\.com/in/[^/?#]+","type":"string"},"personId":{"description":"Aviato person id, as any Aviato SKU's personId output returns it.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Contact Enrichment - Aviato input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The person's email addresses, or null when none was found.","oneOf":[{"type":"null"},{"properties":{"emails":{"description":"Email addresses Aviato holds for the person.","items":{"properties":{"email":{"description":"Email address.","type":["string","null"]},"type":{"description":"work or personal.","type":["string","null"]}},"required":["email"],"type":"object"},"type":["array","null"]}},"required":["emails"],"type":"object"}]},"found":{"description":"False when Aviato holds no email for the person.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Contact Enrichment - Aviato output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Contact Enrichment - Aviato","tags":["contact-enrichment"],"x-mint":{"href":"/api-reference/contact-enrichment/aviato"},"x-payment-info":{"price":{"amount":"0.096000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.097000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.096000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/contact_enrichment.crustdata_v3":{"post":{"description":"Find one person's business emails, personal emails, and phone numbers from a LinkedIn profile URL or a business email, with a deliverability status on every email. Billed only when the person is found.\n\n**Price:** \\$240.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Contact Enrichment - Crustdata v3 pricing and uptime](https://getanyapi.com/api/contact-enrichment/crustdata-v3) - live USD price, lane routing, and measured 30-day uptime. [Every Contact_enrichment endpoint](https://getanyapi.com/api/contact-enrichment).","operationId":"contact_enrichment_crustdata_v3","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"linkedinUrl":"https://www.linkedin.com/in/satyanadella"},"schema":{"additionalProperties":false,"example":{"linkedinUrl":"https://www.linkedin.com/in/satyanadella"},"oneOf":[{"required":["linkedinUrl"]},{"required":["email"]}],"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"description":"The person's business email address.","format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"linkedinUrl":{"description":"LinkedIn profile URL, e.g. https://www.linkedin.com/in/satyanadella. Send exactly one of linkedinUrl or email.","format":"uri","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Contact Enrichment - Crustdata v3 input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The person's contact details, or null when nothing matched.","oneOf":[{"type":"null"},{"properties":{"businessEmails":{"description":"Work email addresses.","items":{"properties":{"email":{"description":"Email address.","type":["string","null"]},"status":{"description":"Deliverability status, e.g. deliverable or unknown.","type":"string"}},"required":["email"],"type":"object"},"type":["array","null"]},"matchConfidence":{"description":"Confidence from 0 to 1 that the returned person is the one asked for.","type":["number","null"]},"personId":{"description":"Crustdata person id.","type":["string","null"]},"personalEmails":{"description":"Personal email addresses.","items":{"properties":{"email":{"description":"Email address.","type":["string","null"]},"status":{"description":"Deliverability status, e.g. deliverable or unknown.","type":"string"}},"required":["email"],"type":"object"},"type":["array","null"]},"phoneNumbers":{"description":"Phone numbers, as Crustdata stores them.","items":{"type":"string"},"type":["array","null"]}},"required":["personId"],"type":"object"}]},"found":{"description":"False when no person matched the LinkedIn URL or email.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Contact Enrichment - Crustdata v3 output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Contact Enrichment - Crustdata v3","tags":["contact-enrichment"],"x-mint":{"href":"/api-reference/contact-enrichment/crustdata-v3"},"x-payment-info":{"price":{"amount":"0.240000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.241000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.240000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/douyin.profile":{"post":{"description":"Look up a public Douyin profile by sec_user_id and return normalized profile statistics.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Douyin Profile pricing and uptime](https://getanyapi.com/api/douyin/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Douyin endpoint](https://getanyapi.com/api/douyin).","operationId":"douyin_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"secUserId":"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"},"schema":{"additionalProperties":false,"example":{"secUserId":"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"secUserId":{"description":"Douyin sec_user_id for the public account.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["secUserId"],"title":"Douyin profile input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized profile, or null when not found.","oneOf":[{"type":"null"},{"properties":{"bio":{"description":"Profile biography.","type":"string"},"followers":{"description":"Follower count.","type":"integer"},"following":{"description":"Following count.","type":"integer"},"image":{"description":"Profile image URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Total likes received.","type":"integer"},"nickname":{"description":"Display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"posts":{"description":"Published post count.","type":"integer"},"secUserId":{"description":"Douyin sec_user_id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"shortId":{"description":"Legacy numeric short ID.","type":"string"},"uniqueId":{"description":"Public Douyin handle when configured. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Douyin user identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["userId","secUserId"],"type":"object"}]},"found":{"description":"True when the profile was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Douyin profile output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Douyin Profile","tags":["douyin"],"x-mint":{"href":"/api-reference/douyin/profile"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/douyin.search_videos":{"post":{"description":"Search public Douyin videos by keyword with sorting, time, duration, and content filters.\n\n**Price:** \\$12.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Douyin Video Search pricing and uptime](https://getanyapi.com/api/douyin/search-videos) - live USD price, lane routing, and measured 30-day uptime. [Every Douyin endpoint](https://getanyapi.com/api/douyin).","operationId":"douyin_search_videos","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"duration":"0","publishedWithin":0,"query":"机器人","sort":"relevance"},"schema":{"additionalProperties":false,"example":{"duration":"0","publishedWithin":0,"query":"机器人","sort":"relevance"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"backtrace":{"description":"Backtrace token returned by the previous page.","type":"string"},"cursor":{"description":"Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.","minimum":0,"type":["string","integer"]},"duration":{"default":"0","description":"Duration filter in minutes: any, under 1, 1 to 5, or over 5.","enum":["0","0-1","1-5","5-10000"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"publishedWithin":{"default":0,"description":"Publication window in days. Use the canonical JSON integer 0 for any time, 1 for one day, 7 for seven days, or 180 for 180 days; legacy numeric strings remain accepted.","enum":[0,1,7,180,"0","1","7","180"],"type":["integer","string"]},"query":{"description":"Keyword to search for.","minLength":1,"type":"string"},"searchId":{"description":"Search ID returned by the previous page.","type":"string"},"sort":{"default":"relevance","description":"Sort order: relevance (Douyin's comprehensive ranking), most-liked, date-posted.","enum":["relevance","most-liked","date-posted"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Douyin video search input","type":"object","x-anyapi-compat-values":{"sort":{"0":"relevance","1":"most-liked","2":"date-posted"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Videos and pagination, or null when none were found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"backtrace":{"description":"Backtrace token required for the next page.","type":"string"},"hasMore":{"description":"Whether another page is available.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"searchId":{"description":"Search ID required for the next page.","type":"string"},"videos":{"description":"Normalized matching videos. Populated whenever the provider has data for the entity.","items":{"properties":{"authorImage":{"description":"Author's avatar image URL.","type":"string"},"authorNickname":{"description":"Author display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorUniqueId":{"description":"Author's Douyin handle (unique id).","type":"string"},"authorUserId":{"description":"Author user identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorVerified":{"description":"Whether the author's account is verified.","type":"boolean"},"caption":{"description":"Video caption. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Comment count.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"durationMs":{"description":"Video duration in milliseconds.","type":"integer"},"height":{"description":"Pixel height of the video.","type":"integer"},"id":{"description":"Video identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Cover image URL.","format":"uri","type":"string"},"likes":{"description":"Like count.","type":"integer"},"region":{"description":"Two-letter region code the video was published from.","type":"string"},"saves":{"description":"Save count.","type":"integer"},"shares":{"description":"Share count.","type":"integer"},"url":{"description":"Canonical video URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoUrl":{"description":"Playable video URL. The query string carries required access parameters, so keep it intact.","type":"string"},"views":{"description":"Play count.","type":"integer"},"width":{"description":"Pixel width of the video.","type":"integer"}},"required":["id"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["videos","nextCursor","searchId","backtrace","hasMore"],"type":"object"}]},"found":{"description":"True when matching videos were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Douyin video search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Douyin Video Search","tags":["douyin"],"x-mint":{"href":"/api-reference/douyin/search-videos"},"x-payment-info":{"price":{"amount":"0.012000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.013000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.012000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/douyin.user_posts":{"post":{"description":"List public posts from a Douyin user with normalized engagement data and pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Douyin User Posts pricing and uptime](https://getanyapi.com/api/douyin/user-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Douyin endpoint](https://getanyapi.com/api/douyin).","operationId":"douyin_user_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":20,"secUserId":"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE","sort":"newest"},"schema":{"additionalProperties":false,"example":{"limit":20,"secUserId":"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE","sort":"newest"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.","type":["string","integer"]},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Requested page size. Values up to 20 are recommended.","type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"secUserId":{"description":"Douyin sec_user_id for the public account.","minLength":1,"type":"string"},"sort":{"default":"newest","description":"Post order: newest, most-popular.","enum":["newest","most-popular"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["secUserId"],"title":"Douyin user posts input","type":"object","x-anyapi-compat-values":{"sort":{"0":"newest","1":"most-popular"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Posts and pagination, or null when none were found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"Whether another page is available.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Normalized Douyin posts. Populated whenever the provider has data for the entity.","items":{"properties":{"authorImage":{"description":"Author's avatar image URL.","type":"string"},"authorNickname":{"description":"Author display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorSecUserId":{"description":"Author sec_user_id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorUniqueId":{"description":"Author's Douyin handle (unique id).","type":"string"},"authorUserId":{"description":"Author user identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorVerified":{"description":"Whether the author's account is verified.","type":"boolean"},"caption":{"description":"Post caption. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Comment count.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"durationMs":{"description":"Media duration in milliseconds.","type":"integer"},"height":{"description":"Pixel height of the media.","type":"integer"},"id":{"description":"Post identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Cover image URL.","format":"uri","type":"string"},"likes":{"description":"Like count.","type":"integer"},"region":{"description":"Two-letter region code the post was published from.","type":"string"},"saves":{"description":"Save count.","type":"integer"},"shares":{"description":"Share count.","type":"integer"},"url":{"description":"Canonical post URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"views":{"description":"Play count.","type":"integer"},"width":{"description":"Pixel width of the media.","type":"integer"}},"required":["id"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor","hasMore"],"type":"object"}]},"found":{"description":"True when posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Douyin user posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Douyin User Posts","tags":["douyin"],"x-mint":{"href":"/api-reference/douyin/user-posts"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/douyin.video":{"post":{"description":"Fetch a public Douyin video by share URL with normalized author and engagement data.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Douyin Video pricing and uptime](https://getanyapi.com/api/douyin/video) - live USD price, lane routing, and measured 30-day uptime. [Every Douyin endpoint](https://getanyapi.com/api/douyin).","operationId":"douyin_video","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.douyin.com/video/6894784055775071503"},"schema":{"additionalProperties":false,"example":{"url":"https://www.douyin.com/video/6894784055775071503"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Public Douyin video share URL.","format":"uri","type":"string"}},"required":["url"],"title":"Douyin video input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized video, or null when not found.","oneOf":[{"type":"null"},{"properties":{"authorImage":{"description":"Author's avatar image URL.","type":"string"},"authorNickname":{"description":"Author display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorSecUserId":{"description":"Author sec_user_id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorUniqueId":{"description":"Author's Douyin handle (unique id).","type":"string"},"authorUserId":{"description":"Author user identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorVerified":{"description":"Whether the author's account is verified.","type":"boolean"},"caption":{"description":"Video caption. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Comment count.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"durationMs":{"description":"Video duration in milliseconds.","type":"integer"},"height":{"description":"Pixel height of the video.","type":"integer"},"id":{"description":"Video identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Video cover image URL.","format":"uri","type":"string"},"likes":{"description":"Like count.","type":"integer"},"region":{"description":"Two-letter region code the video was published from.","type":"string"},"saves":{"description":"Save count.","type":"integer"},"shares":{"description":"Share count.","type":"integer"},"url":{"description":"Canonical Douyin video URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoUrl":{"description":"Playable video URL. The query string carries required access parameters, so keep it intact.","type":"string"},"views":{"description":"Play count.","type":"integer"},"width":{"description":"Pixel width of the video.","type":"integer"}},"required":["id"],"type":"object"}]},"found":{"description":"True when the video was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Douyin video output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Douyin Video","tags":["douyin"],"x-mint":{"href":"/api-reference/douyin/video"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/douyin.video_comments":{"post":{"description":"List public comments on a Douyin video with author and engagement data.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Douyin Video Comments pricing and uptime](https://getanyapi.com/api/douyin/video-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Douyin endpoint](https://getanyapi.com/api/douyin).","operationId":"douyin_video_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"videoId":"7448118827402972455"},"schema":{"additionalProperties":false,"example":{"videoId":"7448118827402972455"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.","minimum":0,"type":["string","integer"]},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"videoId":{"description":"Douyin aweme_id for the video.","minLength":1,"type":"string"}},"required":["videoId"],"title":"Douyin video comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Comments and pagination, or null when none were found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Normalized video comments. Populated whenever the provider has data for the entity.","items":{"properties":{"authorImage":{"description":"Author profile image URL.","format":"uri","type":"string"},"authorNickname":{"description":"Author display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorSecUserId":{"description":"Author sec_user_id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorUniqueId":{"description":"Author public handle.","type":"string"},"authorUserId":{"description":"Author user identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Comment identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"ipLabel":{"description":"Approximate location label shown by Douyin.","type":"string"},"likes":{"description":"Comment like count.","type":"integer"},"replyCount":{"description":"Direct reply count.","type":"integer"},"text":{"description":"Comment text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"videoId":{"description":"Commented video identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","videoId"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"hasMore":{"description":"Whether another page is available.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"total":{"description":"Total comment count reported by Douyin.","type":"integer"}},"required":["comments","nextCursor","hasMore","total"],"type":"object"}]},"found":{"description":"True when comments were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Douyin video comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Douyin Video Comments","tags":["douyin"],"x-mint":{"href":"/api-reference/douyin/video-comments"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/duckduckgo.search":{"post":{"description":"Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [DuckDuckGo Search pricing and uptime](https://getanyapi.com/api/duckduckgo/search) - live USD price, lane routing, and measured 30-day uptime. [Every Duckduckgo endpoint](https://getanyapi.com/api/duckduckgo).","operationId":"duckduckgo_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"US","limit":10,"query":"best running shoes"},"schema":{"additionalProperties":false,"example":{"country":"US","limit":10,"query":"best running shoes"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"US","description":"ISO-3166 alpha-2 country DuckDuckGo searches from, e.g. US, GB, DE: DuckDuckGo's region for that country in its main language (Belgium in Dutch, Canada and the US in English, Switzerland in German, Spain in Spanish). Only the countries DuckDuckGo offers are accepted; every country is served by most sources and US, GB and DE by all of them.","enum":["AR","AU","AT","BE","BR","BG","CA","CL","CN","CO","HR","CZ","DK","EE","FI","FR","DE","GR","HK","HU","IS","IN","ID","IE","IL","IT","JP","KR","LV","LT","MY","MX","NL","NZ","NO","PK","PE","PH","PL","PT","RO","RU","SA","SG","SK","SI","ZA","ES","SE","CH","TW","TH","TR","US","UA","GB","VN"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum number of organic results to return (1-10, default 10). DuckDuckGo serves about 10 organic results per page, and some queries carry fewer.","maximum":10,"minimum":1,"type":"integer"},"page":{"default":1,"description":"Which page of 10 results to return, starting at 1: page 2 returns results 11-20. Each page is billed as one request. Pages after the first are served only for country US, GB or DE, by the one source that continues each page exactly where the last ended. DuckDuckGo can repeat a result from the previous page, so deduplicate on url, and a limit below 10 drops the rest of that page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The DuckDuckGo search query.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"DuckDuckGo Search input","type":"object","x-aliases":{"q":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The organic results, or null when DuckDuckGo returned none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Organic results in DuckDuckGo's ranked order. Ads are not included. Populated whenever the provider has data for the entity.","items":{"properties":{"displayUrl":{"description":"The URL as DuckDuckGo displays it under the title, e.g. a host or a host and path. Its format differs by source. null when the source did not send one.","type":["string","null"]},"domain":{"description":"Host of the result URL without a leading www., e.g. runnersworld.com.","type":["string","null"]},"position":{"description":"1-based rank of the result. On page 2 and later, some sources count from the top of page 1 and others from the top of the page returned. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"snippet":{"description":"Text excerpt DuckDuckGo shows under the result. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Result title as DuckDuckGo shows it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Destination URL of the result. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["position","title","url","displayUrl","domain"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"query":{"description":"The query DuckDuckGo searched.","type":"string"}},"required":["query","items"],"type":"object"}]},"found":{"description":"Whether DuckDuckGo returned organic results for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"DuckDuckGo Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"DuckDuckGo Search","tags":["duckduckgo"],"x-mint":{"href":"/api-reference/duckduckgo/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ebay.product":{"post":{"description":"Fetch one eBay listing by URL and get the full offer record: price, condition, shipping, item location, seller feedback, quantity, watchers, and live auction state (bid count and end time).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [eBay Product pricing and uptime](https://getanyapi.com/api/ebay/product) - live USD price, lane routing, and measured 30-day uptime. [Every Ebay endpoint](https://getanyapi.com/api/ebay).","operationId":"ebay_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.ebay.com/itm/133576802017"},"schema":{"additionalProperties":false,"example":{"url":"https://www.ebay.com/itm/133576802017"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full eBay listing URL (e.g. https://www.ebay.com/itm/133576802017). The marketplace is taken from the host, so an ebay.co.uk or ebay.de URL returns that site's listing and currency. Item ids come back on every row of ebay.search and ebay.sold_listings.","type":"string"}},"required":["url"],"title":"eBay product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Listing wrapper, or null when the URL resolved to no listing.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Listing detail record (one element, for the requested listing URL). Populated whenever the provider has data for the entity.","items":{"properties":{"availability":{"description":"Stock state as eBay reports it (e.g. InStock, OutOfStock).","type":"string"},"bestOfferEnabled":{"description":"True when the seller accepts Best Offer on this listing.","type":"boolean"},"bidCount":{"description":"Bids placed so far, for auction listings.","type":"integer"},"brand":{"description":"Brand as listed, when the seller filled it in.","type":"string"},"categories":{"description":"eBay category path the listing sits in.","items":{"type":"string"},"type":"array"},"condition":{"description":"Item condition as listed (e.g. New, Used). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"currency":{"description":"ISO currency code of the price (e.g. USD, GBP).","type":"string"},"endsUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"freeShipping":{"description":"True when the listing ships free.","type":"boolean"},"gtin":{"description":"Global Trade Item Number (UPC/EAN) as listed.","type":"string"},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All listing images, primary first.","items":{"properties":{"height":{"description":"Image height in pixels.","type":"integer"},"url":{"description":"Image URL.","type":"string"},"width":{"description":"Image width in pixels.","type":"integer"}},"type":"object"},"type":"array"},"itemId":{"description":"eBay item identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"itemLocation":{"description":"Where the item ships from, as displayed (e.g. Brooklyn, New York, United States).","type":"string"},"listingType":{"description":"Sale format (e.g. Buy It Now, Auction).","type":"string"},"model":{"description":"Model as listed, when the seller filled it in.","type":"string"},"mpn":{"description":"Manufacturer part number as listed. eBay sellers frequently set this to the literal \"Does Not Apply\"; ebay.product_full returns the full item-specifics table instead.","type":"string"},"price":{"description":"Current asking price, or the current bid on a live auction, in the site currency. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"productId":{"description":"eBay catalog product identifier the listing is matched to.","type":"string"},"quantityAvailable":{"description":"Units the seller still has available, when the listing shows a quantity.","type":"integer"},"quantitySold":{"description":"Units sold on this listing, when eBay shows a sold count.","type":"integer"},"returnsAccepted":{"description":"True when the seller accepts returns.","type":"boolean"},"sellerFeedbackCount":{"description":"Seller's lifetime feedback count.","type":"integer"},"sellerFeedbackPercent":{"description":"Seller's positive-feedback percentage.","type":"number"},"sellerName":{"description":"Seller's eBay username, or the store's display name when the seller runs an eBay Store. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"sellerUrl":{"description":"Seller's eBay store or listings page.","type":"string"},"shippingCost":{"description":"Shipping cost to the default destination as a numeric amount; absent when eBay quotes no flat cost.","type":"number"},"subtitle":{"description":"Seller subtitle shown under the listing title.","type":"string"},"title":{"description":"Listing title as it appears on eBay. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the listing was last modified.","type":"number"},"url":{"description":"Canonical listing URL (tracking query params stripped). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"watchers":{"description":"Number of shoppers watching the listing, when eBay shows it.","type":"integer"}},"required":["itemId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the listing was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"eBay product output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"eBay Product","tags":["ebay"],"x-mint":{"href":"/api-reference/ebay/product"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ebay.product_full":{"post":{"description":"Fetch one eBay listing by URL with the complete item-specifics table the seller filled in (MPN, model, capacity, compatibility and every other per-category attribute), the seller's full description, every listing image, and the seller's feedback record.\n\n**Price:** \\$1.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [eBay Product Full pricing and uptime](https://getanyapi.com/api/ebay/product-full) - live USD price, lane routing, and measured 30-day uptime. [Every Ebay endpoint](https://getanyapi.com/api/ebay).","operationId":"ebay_product_full","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.ebay.com/itm/133576802017"},"schema":{"additionalProperties":false,"example":{"url":"https://www.ebay.com/itm/133576802017"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full eBay listing URL (e.g. https://www.ebay.com/itm/133576802017). Works on ended and sold listings as well as live ones, so it composes with ebay.sold_listings: pull the comps cheaply, then enrich the few you care about.","type":"string"}},"required":["url"],"title":"eBay product full input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Listing wrapper, or null when the URL resolved to no listing.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Listing detail record with the full item-specifics table (one element, for the requested listing URL). Populated whenever the provider has data for the entity.","items":{"properties":{"availability":{"description":"Stock state as eBay reports it (e.g. in_stock, out_of_stock).","type":"string"},"brand":{"description":"Brand as listed, when the seller filled it in.","type":"string"},"category":{"description":"Full category path, e.g. \"Electronics\u003eCell Phones \u0026 Accessories\u003eCell Phones \u0026 Smartphones\".","type":"string"},"condition":{"description":"Item condition as listed (e.g. New, Used). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"countryCode":{"description":"ISO country code of the eBay marketplace the listing is on.","type":"string"},"currency":{"description":"ISO currency code of the price (e.g. USD, GBP).","type":"string"},"description":{"description":"The seller's own listing description, as plain text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"gtin":{"description":"Global Trade Item Number (UPC/EAN) as listed.","type":"string"},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All listing image URLs, primary first. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"itemId":{"description":"eBay item identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"itemLocation":{"description":"Where the item ships from, as displayed (e.g. Brooklyn, New York, United States).","type":"string"},"listingType":{"description":"Sale format (e.g. Buy It Now, Auction, Buy It Now + Best Offer).","type":"string"},"price":{"description":"Current effective price in the site currency: the discounted price when the seller is running a sale, otherwise the asking price. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"quantityAvailable":{"description":"Units the seller still has available, when the listing shows a quantity.","type":"integer"},"quantitySold":{"description":"Units sold on this listing, when eBay shows a sold count.","type":"integer"},"returnWindow":{"description":"Days the buyer has to return the item, when the seller accepts returns.","type":"integer"},"sellerFeedbackCount":{"description":"Seller's lifetime feedback count.","type":"integer"},"sellerFeedbackPercent":{"description":"Seller's positive-feedback percentage.","type":"number"},"sellerName":{"description":"Seller's eBay username, or the store's display name when the seller runs an eBay Store. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"sellerUrl":{"description":"Seller's eBay store or listings page.","type":"string"},"specifications":{"description":"The listing's item-specifics table, as the seller filled it in. This is where MPN, Model, Storage Capacity, Compatible Brand and every other per-category attribute lives; the set of names varies by category. eBay's boilerplate condition blurb is removed. Populated whenever the provider has data for the entity.","items":{"properties":{"name":{"description":"Attribute name as eBay labels it (e.g. MPN, Storage Capacity).","type":"string"},"value":{"description":"Attribute value as the seller entered it.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"title":{"description":"Listing title as it appears on eBay. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical listing URL (tracking query params stripped). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["itemId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the listing was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"eBay product full output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"eBay Product Full","tags":["ebay"],"x-mint":{"href":"/api-reference/ebay/product-full"},"x-payment-info":{"price":{"amount":"0.001800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ebay.search":{"post":{"description":"Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [eBay Search pricing and uptime](https://getanyapi.com/api/ebay/search) - live USD price, lane routing, and measured 30-day uptime. [Every Ebay endpoint](https://getanyapi.com/api/ebay).","operationId":"ebay_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"query":"nintendo switch","sort":"price_low"},"schema":{"additionalProperties":false,"example":{"limit":3,"query":"nintendo switch","sort":"price_low"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"condition":{"description":"Filter by one or more item conditions; omit for all conditions (e.g. [\"new\", \"open_box\"]).","items":{"enum":["new","open_box","refurbished","used","for_parts"],"type":"string"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1 to 25, default 25).","maximum":25,"minimum":1,"type":"integer"},"listingType":{"description":"Restrict to a listing format; omit or use all for both (e.g. buy_it_now for fixed-price only).","enum":["all","auction","buy_it_now"],"type":"string"},"maxPrice":{"description":"Optional maximum item price in USD.","minimum":0,"type":"integer"},"minPrice":{"description":"Optional minimum item price in USD.","minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"nintendo switch\" or \"vintage levis 501\".","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `sellerName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["listingType","sellerFeedbackCount","sellerFeedbackPercent","sellerName"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"description":"Result sort order; omit for eBay's Best Match (e.g. price_low sorts by lowest price plus shipping first).","enum":["best_match","ending_soonest","newly_listed","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"eBay search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Listing records: title, price, condition, shipping cost, seller info, image, and item URL. Populated whenever the provider has data for the entity.","items":{"properties":{"bidCount":{"description":"Bids placed so far, for auction listings.","type":"integer"},"condition":{"type":"string"},"currency":{"description":"ISO currency code of the price (e.g. USD).","type":"string"},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"itemId":{"description":"eBay item identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"listingType":{"description":"Auction, FixedPrice, etc. Null when the serving source does not publish the listing format.","type":["string","null"]},"price":{"description":"Listing price.","type":"number"},"sellerFeedbackCount":{"description":"Seller's lifetime feedback count, or null when the serving source does not publish it.","type":["number","null"]},"sellerFeedbackPercent":{"description":"Seller positive-feedback percentage, or null when the serving source does not publish it.","type":["number","null"]},"sellerName":{"description":"Seller username, or null when the serving source does not publish the seller.","type":["string","null"]},"shippingCost":{"description":"Shipping cost or free-delivery label.","type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["itemId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"eBay search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"eBay Search","tags":["ebay"],"x-mint":{"href":"/api-reference/ebay/search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ebay.sold_listings":{"post":{"description":"Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.\n\n**Price:** \\$3.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [eBay Sold Listings pricing and uptime](https://getanyapi.com/api/ebay/sold-listings) - live USD price, lane routing, and measured 30-day uptime. [Every Ebay endpoint](https://getanyapi.com/api/ebay).","operationId":"ebay_sold_listings","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"iphone 13 pro","sort":"ended_recently"},"schema":{"additionalProperties":false,"example":{"query":"iphone 13 pro","sort":"ended_recently"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"categoryId":{"description":"Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones \u0026 Smartphones, 9394 for Cell Phone Accessories).","pattern":"^[0-9]+$","type":"string"},"condition":{"default":"any","description":"Item condition filter (e.g. used).","enum":["any","new","used"],"type":"string"},"endDate":{"description":"Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"},"freeShipping":{"description":"Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":60,"description":"Maximum number of results to return (1-60, default 60).","maximum":60,"minimum":1,"type":"integer"},"listingType":{"description":"Restrict to a listing format; omit or use all for both (e.g. auction for auction sales only).","enum":["all","auction","buy_it_now"],"type":"string"},"maxPrice":{"description":"Optional maximum sold price in the site currency (e.g. 500).","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum sold price in the site currency (e.g. 200).","minimum":0,"type":"number"},"page":{"default":1,"description":"1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keyword for sold items (e.g. iphone 13 pro).","type":"string"},"returnsAccepted":{"description":"Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.","type":"boolean"},"seller":{"description":"Not supported by the current sources: a request that sets it is refused without charge.","type":"string"},"site":{"default":"ebay.com","description":"eBay country site to search. Sold-listing coverage is currently US only.","enum":["ebay.com"],"type":"string"},"sort":{"description":"Result sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first).","enum":["ended_recently","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"}},"required":["query"],"title":"eBay sold listings input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"True when another results page exists. With endDate set a page can be short or empty while this is still true; request page + 1 to continue.","type":"boolean"},"items":{"description":"Sold listing records: title, sold price, sale date, condition, seller, and item URL. Populated whenever the provider has data for the entity.","items":{"properties":{"bestOfferAccepted":{"description":"True when eBay marked the sale as Best Offer accepted. Absent when the source could not tell.","type":"boolean"},"bidCount":{"description":"Number of bids the listing received, for auction sales.","type":"integer"},"condition":{"description":"Item condition as listed (e.g. Pre-Owned).","type":"string"},"countryCode":{"description":"ISO country code of the eBay marketplace the sale happened on.","type":"string"},"epid":{"description":"eBay catalog product identifier (ePID), when the listing is matched to a catalog product.","type":"string"},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"All listing image URLs, primary first.","items":{"type":"string"},"type":"array"},"itemId":{"description":"eBay item identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"listingType":{"description":"Sale format: Auction or Fixed price.","type":"string"},"sellerFeedbackCount":{"description":"Seller's lifetime feedback count. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"sellerFeedbackPercent":{"description":"Seller's positive-feedback percentage. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"sellerUsername":{"description":"Seller's eBay username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"shippingCost":{"description":"Shipping the buyer paid, in the site currency (e.g. \"$5.55\"; \"$0\" is free shipping).","type":"string"},"soldCurrency":{"description":"ISO currency code of the sold price (e.g. USD).","type":"string"},"soldPrice":{"description":"Final sold price in the site currency. When bestOfferAccepted is true this is the listing's asking price: eBay does not publish the accepted offer amount.","type":"number"},"soldUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"title":{"description":"Listing title as it appeared on eBay. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical listing URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["itemId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"eBay sold listings output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"eBay Sold Listings","tags":["ebay"],"x-mint":{"href":"/api-reference/ebay/sold-listings"},"x-payment-info":{"price":{"amount":"0.003000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.004000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ebay.sold_listings_thin":{"post":{"description":"Retrieve recently sold eBay listings for any keyword with the sold price, sale date, condition, format, bids, and whether a Best Offer was accepted, without seller details; the lighter sibling of eBay Sold Listings for price comps.\n\n**Price:** \\$3.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [eBay Sold Listings (Basic) pricing and uptime](https://getanyapi.com/api/ebay/sold-listings-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Ebay endpoint](https://getanyapi.com/api/ebay).","operationId":"ebay_sold_listings_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"query":"iphone 13 pro","sort":"ended_recently"},"schema":{"additionalProperties":false,"example":{"limit":10,"query":"iphone 13 pro","sort":"ended_recently"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"condition":{"default":"any","description":"Item condition filter (e.g. used).","enum":["any","new","used"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":25,"description":"Maximum number of results to return (1-60, default 25).","maximum":60,"minimum":1,"type":"integer"},"listingType":{"description":"Restrict to a listing format; omit or use all for both (e.g. auction for auction sales only).","enum":["all","auction","buy_it_now"],"type":"string"},"maxPrice":{"description":"Optional maximum sold price in the site currency (e.g. 500).","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum sold price in the site currency (e.g. 200).","minimum":0,"type":"number"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keyword for sold items (e.g. iphone 13 pro).","type":"string"},"site":{"default":"ebay.com","description":"eBay country site to search. Sold-listing coverage is currently US only.","enum":["ebay.com"],"type":"string"},"sort":{"description":"Result sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first).","enum":["ended_recently","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"eBay sold listings (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Sold listing records: title, sold price, sale date, condition, format, bids, and item URL, without seller details. Populated whenever the provider has data for the entity.","items":{"properties":{"bestOfferAccepted":{"description":"True when eBay marked the sale as Best Offer accepted. Absent when the source could not tell.","type":"boolean"},"bidCount":{"description":"Number of bids the listing received, for auction sales.","type":"integer"},"condition":{"description":"Item condition as listed (e.g. Pre-Owned).","type":"string"},"image":{"description":"Primary listing image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"itemId":{"description":"eBay item identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"listingType":{"description":"Sale format: Auction or Fixed price.","type":"string"},"shippingCost":{"description":"Shipping the buyer paid, in the site currency (e.g. \"$5.55\"; \"$0\" is free shipping).","type":"string"},"soldCurrency":{"description":"ISO currency code of the sold price (e.g. USD).","type":"string"},"soldPrice":{"description":"Final sold price in the site currency. When bestOfferAccepted is true this is the listing's asking price: eBay does not publish the accepted offer amount.","type":"number"},"soldUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"title":{"description":"Listing title as it appeared on eBay. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical listing URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["itemId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"eBay sold listings (basic) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"eBay Sold Listings (Basic)","tags":["ebay"],"x-mint":{"href":"/api-reference/ebay/sold-listings-thin"},"x-payment-info":{"price":{"amount":"0.003000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.004000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email.find":{"post":{"description":"Find a person's work email address from their name and company domain.\n\n**Price:** \\$30.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Email Finder pricing and uptime](https://getanyapi.com/api/email/find) - live USD price, lane routing, and measured 30-day uptime. [Every Email endpoint](https://getanyapi.com/api/email).\n\n**How it works:** AnyAPI runs up to three independent email finders in sequence, cheapest first. The first source that returns an address wins and the rest are never called, so most lookups are billed at the bottom of the published price range and only the harder ones reach the top. A source that holds no record of the person returns nothing rather than guessing a likely address, and the next source is tried. When none of them finds an address the response is found:false with a null data, and the call is not charged.","operationId":"email_find","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"person":{"domain":"google.com","firstName":"Damien","surname":"Neil"}},"schema":{"additionalProperties":false,"example":{"person":{"domain":"google.com","firstName":"Damien","surname":"Neil"}},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"person":{"description":"The person to find an email for, e.g. {\"firstName\": \"Jane\", \"surname\": \"Doe\", \"domain\": \"acme.com\"} (domain also accepts a company name).","properties":{"domain":{"description":"Company domain (e.g. acme.com) or company name (e.g. Acme Inc), resolved automatically.","type":"string"},"firstName":{"description":"The person's first name (e.g. Jane).","type":"string"},"surname":{"description":"The person's last name (e.g. Doe).","type":"string"}},"required":["firstName","surname","domain"],"type":"object"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Email Finder input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Email lookup records: the discovered email address, verification status, and the matched person and company details. Populated whenever the provider has data for the entity.","items":{"properties":{"email":{"description":"The discovered work email address. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"status":{"description":"Lookup status. Always \"found\": a lookup that finds nothing returns found:false with a null data instead of an item, and is not charged. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["email","status"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finder output","type":"object","x-anyapi-how-it-works":"AnyAPI runs up to three independent email finders in sequence, cheapest first. The first source that returns an address wins and the rest are never called, so most lookups are billed at the bottom of the published price range and only the harder ones reach the top. A source that holds no record of the person returns nothing rather than guessing a likely address, and the next source is tried. When none of them finds an address the response is found:false with a null data, and the call is not charged.","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finder","tags":["email"],"x-mint":{"href":"/api-reference/email/find"},"x-payment-info":{"price":{"amount":"0.030800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.031800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.030800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email.verify":{"post":{"description":"Verify an email address for deliverability: a status verdict (good, risky, or bad) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.\n\n**Price:** \\$6.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Email Verifier pricing and uptime](https://getanyapi.com/api/email/verify) - live USD price, lane routing, and measured 30-day uptime. [Every Email endpoint](https://getanyapi.com/api/email).\n\n**How it works:** One source verifies every call: it opens an SMTP conversation with the receiving mail server and reports what that server said, which is what settles a catch-all domain rather than guessing at one. If it cannot be reached, a second source verifies the same address instead of failing the request. Both answer in the same vocabulary - good, bad or risky - and both report whether the domain accepts every address, so the price is one number either way. The two differ in two optional fields: `reason` is published only by the rescue source, so it is absent on almost every call, and `score` is coarse on the primary (it restates the verdict rather than grading it). Every syntactically valid address returns a billed verdict; a malformed one is rejected by the input schema with no charge.","operationId":"email_verify","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"patrick@stripe.com"},"schema":{"additionalProperties":false,"example":{"email":"patrick@stripe.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"description":"The email address to verify (e.g. jane.doe@acme.com). Exactly one @, a dotted domain, no whitespace or angle brackets. Addresses on reserved, never-deliverable TLDs (.invalid, .test, .example, .localhost, .local, .internal, .blink) and HTML/JSON escape artifacts (a u003e prefix) are rejected locally with no charge.","maxLength":254,"minLength":6,"not":{"pattern":"^[uU]00[0-9a-fA-F]{2}|\\.\\.|\\.([Bb][Ll][Ii][Nn][Kk]|[Ii][Nn][Vv][Aa][Ll][Ii][Dd]|[Ll][Oo][Cc][Aa][Ll]([Hh][Oo][Ss][Tt])?|[Tt][Ee][Ss][Tt]|[Ee][Xx][Aa][Mm][Pp][Ll][Ee]|[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll])$"},"pattern":"^[^\\s\u003c\u003e()\\[\\],;:\"@\\\\]+@[^\\s\u003c\u003e()\\[\\],;:\"@\\\\]+\\.[^\\s\u003c\u003e()\\[\\],;:\"@.\\\\]{2,63}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `reason`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["mxProvider","reason"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Verifier input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Verification records: the email address with its deliverability verdict and the domain, mailbox, and reputation signals behind it. A record is returned for every syntactically valid address, including ones the verdict marks undeliverable. Populated whenever the provider has data for the entity.","items":{"properties":{"catchAll":{"description":"Domain accepts all addresses.","type":["boolean","null"]},"disposable":{"type":["boolean","null"]},"domain":{"type":["string","null"]},"email":{"description":"Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"free":{"description":"Free email provider.","type":["boolean","null"]},"mxProvider":{"description":"Mail provider behind the address domain, e.g. Google. Null when the serving source does not report one.","type":["string","null"]},"mxRecords":{"description":"MX record hosts published by the address domain.","items":{"type":"string"},"type":["array","null"]},"reason":{"description":"Why the verdict was reached. Published by only one of the two sources, so it is absent on most calls; never treat it as required.","type":["string","null"]},"role":{"description":"Role-based address (e.g. info@).","type":["boolean","null"]},"score":{"description":"Confidence in the verdict, 0-100. Coarse rather than graded on most calls: it tracks the status rather than ranking addresses within one.","type":["integer","null"]},"status":{"description":"Deliverability verdict: good (the mailbox accepted), bad (it was refused), or risky (no source could settle it - usually a catch-all domain that accepts every address, sometimes a receiving server that declined to answer at all). Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["email","status"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Verifier output","type":"object","x-anyapi-how-it-works":"One source verifies every call: it opens an SMTP conversation with the receiving mail server and reports what that server said, which is what settles a catch-all domain rather than guessing at one. If it cannot be reached, a second source verifies the same address instead of failing the request. Both answer in the same vocabulary - good, bad or risky - and both report whether the domain accepts every address, so the price is one number either way. The two differ in two optional fields: `reason` is published only by the rescue source, so it is absent on almost every call, and `score` is coarse on the primary (it restates the verdict rather than grading it). Every syntactically valid address returns a billed verdict; a malformed one is rejected by the input schema with no charge.","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Verifier","tags":["email"],"x-mint":{"href":"/api-reference/email/verify"},"x-payment-info":{"price":{"amount":"0.006600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.007600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.006600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.dropleads":{"post":{"description":"Find a professional email from a person's name and company domain or company name.\n\n**Price:** \\$31.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Finding - DropLeads pricing and uptime](https://getanyapi.com/api/email-finding/dropleads) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_dropleads","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomain":"apollo.io","firstName":"Tim","lastName":"Zheng"},"schema":{"additionalProperties":false,"example":{"companyDomain":"apollo.io","firstName":"Tim","lastName":"Zheng"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyDomain":{"description":"Company domain without a path.","minLength":1,"type":"string"},"companyName":{"description":"Company name when the domain is unavailable.","minLength":1,"type":"string"},"firstName":{"description":"Person's first name.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastName":{"description":"Person's last name.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["firstName","lastName"],"title":"Email Finding - DropLeads input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized email result, or null when no email matched.","oneOf":[{"type":"null"},{"properties":{"companyDomain":{"description":"Matched company domain.","type":["string","null"]},"companyName":{"description":"Matched company name.","type":["string","null"]},"companySize":{"description":"Company size when available.","type":["integer","string","null"]},"email":{"description":"Matched email address.","format":"email","type":["string","null"]},"firstName":{"description":"Matched first name.","type":["string","null"]},"industry":{"description":"Company industry when available.","type":["string","null"]},"lastName":{"description":"Matched last name.","type":["string","null"]},"mxProvider":{"description":"Detected mail provider.","type":["string","null"]},"mxRecord":{"description":"Selected mail exchange record.","type":["string","null"]},"status":{"description":"Source validation status for the matched email.","type":["string","null"]}},"required":["email","status"],"type":"object"}]},"found":{"description":"Whether a matching email was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - DropLeads output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finding - DropLeads","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/dropleads"},"x-payment-info":{"price":{"amount":"0.031200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.032200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.031200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.hunter_count":{"post":{"description":"Count how many contacts a company domain has, split by personal and generic mailboxes and broken down by department and seniority. Scope a domain for $1 per 1,000 requests before paying per contact.\n\n**Price:** \\$1.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Finding - Hunter Email Count pricing and uptime](https://getanyapi.com/api/email-finding/hunter-count) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_hunter_count","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"stripe.com"},"schema":{"additionalProperties":false,"example":{"domain":"stripe.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Company domain without a scheme or path, e.g. stripe.com.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"type":{"description":"Count only personal mailboxes belonging to a named person, or only generic ones such as info@ and support@.","enum":["personal","generic"],"type":"string"}},"required":["domain"],"title":"Email Finding - Hunter Email Count input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"departmentCounts":{"description":"Contacts per department.","properties":{"administrative":{"description":"Contacts in the administrative department.","minimum":0,"type":"integer"},"communication":{"description":"Contacts in the communication department.","minimum":0,"type":"integer"},"consulting":{"description":"Contacts in the consulting department.","minimum":0,"type":"integer"},"design":{"description":"Contacts in the design department.","minimum":0,"type":"integer"},"education":{"description":"Contacts in the education department.","minimum":0,"type":"integer"},"executive":{"description":"Contacts in the executive department.","minimum":0,"type":"integer"},"finance":{"description":"Contacts in the finance department.","minimum":0,"type":"integer"},"health":{"description":"Contacts in the health department.","minimum":0,"type":"integer"},"hr":{"description":"Contacts in the HR department.","minimum":0,"type":"integer"},"it":{"description":"Contacts in the IT department.","minimum":0,"type":"integer"},"legal":{"description":"Contacts in the legal department.","minimum":0,"type":"integer"},"management":{"description":"Contacts in the management department.","minimum":0,"type":"integer"},"marketing":{"description":"Contacts in the marketing department.","minimum":0,"type":"integer"},"operation":{"description":"Contacts Hunter files under its separate operation department.","minimum":0,"type":"integer"},"operations":{"description":"Contacts in the operations department.","minimum":0,"type":"integer"},"procurement":{"description":"Contacts in the procurement department.","minimum":0,"type":"integer"},"product":{"description":"Contacts in the product department.","minimum":0,"type":"integer"},"research":{"description":"Contacts in the research department.","minimum":0,"type":"integer"},"sales":{"description":"Contacts in the sales department.","minimum":0,"type":"integer"},"support":{"description":"Contacts in the support department.","minimum":0,"type":"integer"}},"type":["object","null"]},"domain":{"description":"The company domain the counts describe.","type":["string","null"]},"genericEmails":{"description":"Contacts that are a shared inbox such as info@ or support@.","minimum":0,"type":["integer","null"]},"personalEmails":{"description":"Contacts that are a named person's mailbox.","minimum":0,"type":["integer","null"]},"seniorityCounts":{"description":"Contacts per seniority level.","properties":{"executive":{"description":"Contacts at executive level.","minimum":0,"type":"integer"},"junior":{"description":"Contacts at junior level.","minimum":0,"type":"integer"},"senior":{"description":"Contacts at senior level.","minimum":0,"type":"integer"}},"type":["object","null"]},"total":{"description":"Contacts known for the domain.","minimum":0,"type":["integer","null"]},"type":{"description":"Mailbox type the counts are limited to when the request filtered by type: personal or generic. Absent when the counts cover both.","type":["string","null"]}},"required":["domain","total"],"type":"object"}]},"found":{"description":"False when the domain has no counted contacts.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - Hunter Email Count output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finding - Hunter Email Count","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/hunter-count"},"x-payment-info":{"price":{"amount":"0.001000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.hunter_domain":{"post":{"description":"Find named contacts and their work email addresses at a company domain, filtered by job title, seniority or department. Priced per returned contact, so limit is the cost control.\n\n**Price:** \\$25.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Email Finding - Hunter Domain Search pricing and uptime](https://getanyapi.com/api/email-finding/hunter-domain) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_hunter_domain","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"stripe.com","limit":2,"type":"personal"},"schema":{"additionalProperties":false,"example":{"domain":"stripe.com","limit":2,"type":"personal"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"department":{"description":"Restrict to one department.","enum":["executive","it","finance","management","sales","legal","support","hr","marketing","communication","education","design","health","operations"],"type":"string"},"domain":{"description":"Company domain without a scheme or path, e.g. stripe.com.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"jobTitle":{"description":"One job-title keyword to match, e.g. editor. A single keyword only: a comma-separated list is not supported and only its last entry would apply.","minLength":1,"type":"string"},"limit":{"default":3,"description":"Maximum contacts to return in this response. Every returned contact is billed, so this is the cost control.","maximum":100,"minimum":1,"type":"integer"},"offset":{"description":"Number of contacts to skip before this page begins.","minimum":0,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requiredField":{"description":"Only return contacts that carry this field.","enum":["full_name","position","phone_number"],"type":"string"},"seniority":{"description":"Restrict to one seniority level.","enum":["junior","senior","executive"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"type":{"description":"Restrict to personal mailboxes belonging to a named person, or to generic ones such as info@ and support@.","enum":["personal","generic"],"type":"string"}},"required":["domain"],"title":"Email Finding - Hunter Domain Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"acceptAll":{"description":"True when the mail server accepts any address at this domain, so an address cannot be verified by delivery.","type":"boolean"},"disposable":{"description":"True when the domain belongs to a disposable-email service.","type":"boolean"},"domain":{"description":"The company domain the contacts belong to.","type":"string"},"emailPattern":{"description":"Address pattern the company uses, e.g. {first}{last}.","type":"string"},"emails":{"description":"Contacts returned by this page, one per billed result.","items":{"properties":{"confidence":{"description":"Upstream confidence in the address, 0 to 100.","maximum":100,"minimum":0,"type":["integer","null"]},"decisionMaker":{"description":"True when the contact is judged a decision maker.","type":["boolean","null"]},"department":{"description":"Department the contact works in.","type":["string","null"]},"email":{"description":"The work email address.","type":["string","null"]},"firstName":{"description":"Contact's first name.","type":["string","null"]},"lastName":{"description":"Contact's last name.","type":["string","null"]},"linkedinUrl":{"description":"Contact's LinkedIn profile URL.","format":"uri","type":["string","null"]},"phone":{"description":"Contact's phone number.","type":["string","null"]},"position":{"description":"Contact's job title.","type":["string","null"]},"positionRaw":{"description":"Contact's job title exactly as written on the source page, before it was cleaned up.","type":["string","null"]},"seniority":{"description":"Seniority level: junior, senior or executive.","type":["string","null"]},"sourceType":{"description":"How the address was obtained: found when it was seen on a public page, generated when it was inferred from the company's address pattern.","type":["string","null"]},"sources":{"description":"Public pages the address was found on.","items":{"properties":{"domain":{"description":"Domain of the page the address was found on.","type":["string","null"]},"extractedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"lastSeenUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"stillOnPage":{"description":"True when the address was still present at the last check.","type":"boolean"},"url":{"description":"URL of the page the address was found on.","format":"uri","type":"string"}},"required":["domain"],"type":"object"},"type":["array","null"]},"twitter":{"description":"Contact's Twitter/X handle or profile URL, exactly as the source recorded it.","type":["string","null"]},"type":{"description":"personal for a named person's mailbox, generic for a shared inbox.","type":["string","null"]},"verificationStatus":{"description":"Deliverability verdict recorded for the address.","type":["string","null"]},"verifiedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]}},"required":["email"],"type":"object"},"type":"array"},"linkedDomains":{"description":"Other domains Hunter has linked to this company. Deliberately untyped: the field is empty in every response we have captured, so the value passes through without a shape guarantee."},"organization":{"description":"Company name registered against the domain.","type":"string"},"totalCount":{"description":"Contacts matching the filters across the whole domain, of which this response returns at most limit.","minimum":0,"type":"integer"},"webmail":{"description":"True when the domain is a webmail provider rather than a company.","type":"boolean"}},"required":["domain","totalCount","emails"],"type":"object"}]},"found":{"description":"False when the domain yielded no contacts for the requested filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - Hunter Domain Search output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finding - Hunter Domain Search","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/hunter-domain"},"x-payment-info":{"price":{"amount":"0.025000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.026000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.025000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.icypeas":{"post":{"description":"Find a professional email from a person and company through the durable Request lifecycle.\n\n**Price:** \\$16.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Finding - Icypeas pricing and uptime](https://getanyapi.com/api/email-finding/icypeas) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_icypeas","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"Required. Owns one durable Request and provider dispatch. Active duplicates return the owning Request; completed successes replay without another charge; different semantics return 409.","in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":255,"minLength":1,"type":"string"}},{"description":"Use respond-async for immediate acceptance or wait=N to wait up to 90 seconds. The default wait is 10 seconds.","in":"header","name":"Prefer","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domainOrCompany":"apollo.io","firstname":"Tim","lastname":"Zheng"},"schema":{"additionalProperties":false,"anyOf":[{"required":["firstname"]},{"required":["lastname"]}],"example":{"domainOrCompany":"apollo.io","firstname":"Tim","lastname":"Zheng"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domainOrCompany":{"minLength":1,"type":"string"},"firstname":{"minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastname":{"minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["domainOrCompany"],"title":"Email Finding - Icypeas input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matched person and email, or null when nothing was found.","oneOf":[{"type":"null"},{"properties":{"certainty":{"description":"Confidence label for the best matching address, e.g. ultra_sure.","type":["string","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"email":{"description":"Best matching email address.","format":"email","type":["string","null"]},"emails":{"description":"Every candidate address found for the person, best first. The top-level email is the first entry.","items":{"properties":{"certainty":{"description":"Confidence label for this address, e.g. ultra_sure.","type":"string"},"email":{"description":"Candidate email address.","format":"email","type":"string"},"mxProvider":{"description":"Mail provider behind this address's domain.","type":"string"},"mxRecords":{"description":"Mail exchange records for this address's domain.","items":{"type":"string"},"type":["array","null"]}},"type":"object"},"type":["array","null"]},"firstname":{"description":"Matched first name.","type":["string","null"]},"fullname":{"description":"Matched full name.","type":["string","null"]},"gender":{"description":"Gender recorded for the matched person. Absent when the source does not know it.","type":["string","null"]},"lastname":{"description":"Matched last name.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn profile URL for the matched person, when the source has one.","type":["string","null"]},"modifiedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"mxProvider":{"description":"Mail provider behind the domain, e.g. google.","type":["string","null"]},"mxRecords":{"description":"Mail exchange records for the domain.","items":{"type":"string"},"type":["array","null"]},"phones":{"description":"Phone numbers Icypeas returned alongside the address. Deliberately untyped: the field is empty in every response we have captured, so the value passes through without a shape guarantee."},"saasServices":{"description":"SaaS services Icypeas associates with the person. Deliberately untyped: the field is empty in every response we have captured, so the value passes through without a shape guarantee."},"scanId":{"description":"Icypeas' identifier for the search that produced this result.","type":["string","null"]},"scanName":{"description":"Icypeas' internal label for the kind of search that ran, e.g. __icypeas__individual.","type":["string","null"]},"scanOrder":{"description":"Position of this result inside the Icypeas search batch. It is 0 for the single-person search this SKU runs.","type":["integer","null"]},"scanStatus":{"description":"Icypeas' terminal status for the search, FOUND or NOT_FOUND. It duplicates the envelope's found flag.","type":["string","null"]},"scanUser":{"description":"Icypeas account that ran the search.","type":["string","null"]}},"required":["email"],"type":"object"}]},"found":{"description":"False when no email was found for the person.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - Icypeas output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestSnapshot"}}},"description":"Accepted as a durable Request; poll Location after Retry-After.","headers":{"Location":{"schema":{"type":"string"}},"Preference-Applied":{"schema":{"enum":["respond-async"],"type":"string"}},"Retry-After":{"schema":{"type":"integer"}},"X-Anyapi-Request-Id":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The durable Request reached its execution deadline; use X-Anyapi-Request-Id for status and support."}},"summary":"Email Finding - Icypeas","tags":["email-finding"],"x-anyapi-availability":"durable","x-mint":{"href":"/api-reference/email-finding/icypeas"}}},"/v1/run/email_finding.quickenrich":{"post":{"description":"Find a work email from a LinkedIn profile, or from a company domain plus a name. Coverage is strongest for small and local businesses and thin for large technology employers.\n\n**Price:** \\$7.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Finding - QuickEnrich pricing and uptime](https://getanyapi.com/api/email-finding/quickenrich) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_quickenrich","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomain":"southmemphisfence.com","firstName":"Warren","lastName":"Price"},"schema":{"additionalProperties":false,"anyOf":[{"required":["linkedinUrl"]},{"required":["companyDomain","firstName","lastName"]}],"example":{"companyDomain":"southmemphisfence.com","firstName":"Warren","lastName":"Price"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyDomain":{"description":"Company website domain, normalized upstream (example.com or https://example.com both work).","minLength":1,"type":"string"},"firstName":{"description":"Person's first name.","maxLength":255,"minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastName":{"description":"Person's last name.","maxLength":255,"minLength":1,"type":"string"},"linkedinUrl":{"description":"LinkedIn profile URL. Provide this, or companyDomain with firstName and lastName.","format":"uri","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"Email Finding - QuickEnrich input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized record, or null when the request matched nothing.","oneOf":[{"type":"null"},{"properties":{"address":{"description":"Street address on the employer record.","type":["string","null"]},"city":{"description":"City on the employer record.","type":["string","null"]},"companyDomain":{"description":"Employer website domain.","type":["string","null"]},"companyEmployeeCount":{"description":"Employer headcount band, e.g. \"20 - 99\". Upstream band vocabulary; \"Not Available\" means the band is unknown.","type":["string","null"]},"companyIndustry":{"description":"Employer industry label.","type":["string","null"]},"companyLinkedinUrl":{"description":"Employer LinkedIn company URL.","type":["string","null"]},"companyName":{"description":"Employer name.","type":["string","null"]},"companyPhone":{"description":"Employer main phone line.","type":["string","null"]},"companyRevenue":{"description":"Employer revenue band, e.g. \"1 - 2.5 Million\". Upstream band vocabulary; \"Not Available\" means the band is unknown.","type":["string","null"]},"country":{"description":"ISO 3166-1 alpha-2 country code on the employer record.","type":["string","null"]},"email":{"description":"Work email address.","type":["string","null"]},"emailDomain":{"description":"Domain the work email resolves to.","type":["string","null"]},"emailVerifiedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"firstName":{"description":"Person's first name.","type":["string","null"]},"lastName":{"description":"Person's last name.","type":["string","null"]},"linkedinUrl":{"description":"Person's LinkedIn profile URL.","type":["string","null"]},"phone":{"description":"Direct business phone line held for the person. Mostly desk lines; read phoneType before treating it as a mobile.","type":["string","null"]},"phoneType":{"description":"Line type reported upstream, e.g. \"mobile\" or \"landline\".","type":["string","null"]},"postalCode":{"description":"Postal code on the employer record.","type":["string","null"]},"region":{"description":"State or region code on the employer record.","type":["string","null"]},"title":{"description":"Person's job title.","type":["string","null"]}},"required":["email"],"type":"object"}]},"found":{"description":"False when no email matched, including when the person was located but no address is held for them.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - QuickEnrich output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finding - QuickEnrich","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/quickenrich"},"x-payment-info":{"price":{"amount":"0.007200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.008200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.007200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.zerobounce":{"post":{"description":"Find a person's work email at a company domain from their name, with ZeroBounce's confidence in the guess.\n\n**Price:** \\$655.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Finding - ZeroBounce pricing and uptime](https://getanyapi.com/api/email-finding/zerobounce) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_zerobounce","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"hubspot.com","firstName":"Dharmesh","lastName":"Shah"},"schema":{"additionalProperties":false,"example":{"domain":"hubspot.com","firstName":"Dharmesh","lastName":"Shah"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Company domain to search, e.g. hubspot.com.","minLength":1,"type":"string"},"firstName":{"description":"First name of the person to find.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lastName":{"description":"Last name of the person to find.","type":"string"},"middleName":{"description":"Middle name, when the company's address format uses one.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["domain"],"title":"Email Finding - ZeroBounce input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The address found, or null when ZeroBounce found none.","oneOf":[{"type":"null"},{"properties":{"companyName":{"description":"Company ZeroBounce associates with the domain.","type":["string","null"]},"confidence":{"description":"ZeroBounce's confidence in the address: high, medium, low or undetermined.","type":["string","null"]},"didYouMean":{"description":"Corrected domain when ZeroBounce spots a likely typo.","type":["string","null"]},"domain":{"description":"Domain the address belongs to.","type":["string","null"]},"email":{"description":"The email address ZeroBounce found.","type":["string","null"]},"failureReason":{"description":"Why ZeroBounce could not answer with more confidence.","type":["string","null"]}},"required":["email"],"type":"object"}]},"found":{"description":"False when ZeroBounce returned no answer for the request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Finding - ZeroBounce output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Finding - ZeroBounce","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/zerobounce"},"x-payment-info":{"price":{"amount":"0.655200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.656200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.655200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_finding.zerobounce_domain":{"post":{"description":"Read the email address format a company domain uses, with every alternative format ZeroBounce has seen and how confident it is in each. Use it to build addresses for a whole account at once.\n\n**Price:** \\$655.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Pattern - ZeroBounce pricing and uptime](https://getanyapi.com/api/email-finding/zerobounce-domain) - live USD price, lane routing, and measured 30-day uptime. [Every Email_finding endpoint](https://getanyapi.com/api/email-finding).","operationId":"email_finding_zerobounce_domain","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"hubspot.com"},"schema":{"additionalProperties":false,"example":{"domain":"hubspot.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"domain":{"description":"Company domain to inspect, e.g. hubspot.com.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["domain"],"title":"Email Pattern - ZeroBounce input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The domain's address formats, or null when ZeroBounce holds none.","oneOf":[{"type":"null"},{"properties":{"companyName":{"description":"Company ZeroBounce associates with the domain.","type":["string","null"]},"confidence":{"description":"Confidence in that format: high, medium or low.","type":["string","null"]},"didYouMean":{"description":"Corrected domain when ZeroBounce spots a likely typo.","type":["string","null"]},"domain":{"description":"The domain that was inspected.","type":["string","null"]},"failureReason":{"description":"Why ZeroBounce could not answer with more confidence.","type":["string","null"]},"format":{"description":"The address format ZeroBounce is most confident the domain uses, e.g. first.last or flast.","type":["string","null"]},"otherFormats":{"description":"Every other address format ZeroBounce has seen on this domain, most confident first.","items":{"properties":{"confidence":{"description":"Confidence in that format: high, medium or low.","type":"string"},"format":{"description":"Address format, e.g. last.first.","type":["string","null"]}},"required":["format"],"type":"object"},"type":["array","null"]}},"required":["domain","format"],"type":"object"}]},"found":{"description":"False when ZeroBounce returned no answer for the request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Pattern - ZeroBounce output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Pattern - ZeroBounce","tags":["email-finding"],"x-mint":{"href":"/api-reference/email-finding/zerobounce-domain"},"x-payment-info":{"price":{"amount":"0.655200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.656200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.655200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_verification.allegrow":{"post":{"description":"Validate an email address and return its deliverability verdict and mailbox signals.\n\n**Price:** \\$14.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Verification - Allegrow pricing and uptime](https://getanyapi.com/api/email-verification/allegrow) - live USD price, lane routing, and measured 30-day uptime. [Every Email_verification endpoint](https://getanyapi.com/api/email-verification).","operationId":"email_verification_allegrow","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"tim@apollo.io"},"schema":{"additionalProperties":false,"example":{"email":"tim@apollo.io"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"description":"Email address to validate.","format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Verification - Allegrow input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized validation result.","oneOf":[{"type":"null"},{"properties":{"allegrowStatus":{"description":"The Allegrow dataset's own verdict field, returned verbatim as the source spells it (safe in the captured response). It duplicates status in the same response and is not remapped into the good/risky/bad vocabulary email.verify uses.","type":["string","null"]},"domain":{"description":"Email domain.","type":["string","null"]},"email":{"description":"Validated email address.","format":"email","type":["string","null"]},"isCatchAll":{"description":"Whether the domain accepts mail for arbitrary recipients.","type":["boolean","null"]},"isRoleAccount":{"description":"Whether the mailbox appears to be a role account.","type":["boolean","null"]},"mxProvider":{"description":"Detected mail provider.","type":["string","null"]},"mxRecords":{"description":"MX record hosts published by the email domain.","items":{"type":"string"},"type":["array","null"]},"providerRequestId":{"description":"The source's own identifier for this validation, surfaced so a result can be traced back to the record the source created.","type":["string","null"]},"status":{"description":"Deliverability verdict; negative verdicts are successful billable results.","enum":["safe","do_not_mail_abuse","some_risk","block_bounce_risk","dead_email","spamtrap","more_time_required","missing_email",null],"type":["string","null"]},"subStatus":{"description":"More specific validation result when available.","type":["string","null"]},"validatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]}},"required":["email","status"],"type":"object"}]},"found":{"description":"Whether the source returned a completed validation result, including negative verdicts.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Verification - Allegrow output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Verification - Allegrow","tags":["email-verification"],"x-mint":{"href":"/api-reference/email-verification/allegrow"},"x-payment-info":{"price":{"amount":"0.014400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.015400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.014400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_verification.bounceban":{"post":{"description":"Verify an email address, including catch-all handling. Completion uses the durable Request lifecycle; a negative verdict is a successful result.\n\n**Price:** \\$7.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Verification - BounceBan pricing and uptime](https://getanyapi.com/api/email-verification/bounceban) - live USD price, lane routing, and measured 30-day uptime. [Every Email_verification endpoint](https://getanyapi.com/api/email-verification).","operationId":"email_verification_bounceban","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"Required. Owns one durable Request and provider dispatch. Active duplicates return the owning Request; completed successes replay without another charge; different semantics return 409.","in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":255,"minLength":1,"type":"string"}},{"description":"Use respond-async for immediate acceptance or wait=N to wait up to 90 seconds. The default wait is 10 seconds.","in":"header","name":"Prefer","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"tim@apollo.io","mode":"regular"},"schema":{"additionalProperties":false,"example":{"email":"tim@apollo.io","mode":"regular"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"disableCatchallVerify":{"type":"boolean"},"email":{"format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mode":{"enum":["regular","deepverify"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Verification - BounceBan input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"email":{"type":["string","null"]},"isCatchAll":{"type":["boolean","null"]},"isDisposable":{"type":["boolean","null"]},"isFree":{"type":["boolean","null"]},"isRole":{"type":["boolean","null"]},"mode":{"type":["string","null"]},"mxRecords":{"items":{"type":"string"},"type":["array","null"]},"reason":{"type":["string","null"]},"result":{"description":"Deliverability verdict; negative verdicts are successful results.","type":["string","null"]},"score":{"type":["number","null"]},"smtpProvider":{"type":["string","null"]},"verifiedAt":{"type":["string","null"]}},"required":["email","result"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Verification - BounceBan output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}}}},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestSnapshot"}}},"description":"Accepted as a durable Request; poll Location after Retry-After.","headers":{"Location":{"schema":{"type":"string"}},"Preference-Applied":{"schema":{"enum":["respond-async"],"type":"string"}},"Retry-After":{"schema":{"type":"integer"}},"X-Anyapi-Request-Id":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}}},"description":"Insufficient wallet balance or spend cap. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The durable Request reached its execution deadline; use X-Anyapi-Request-Id for status and support."}},"summary":"Email Verification - BounceBan","tags":["email-verification"],"x-anyapi-availability":"durable","x-mint":{"href":"/api-reference/email-verification/bounceban"}}},"/v1/run/email_verification.icypeas":{"post":{"description":"Verify an email address. A valid negative verdict is a successful, billable result.\n\n**Price:** \\$2.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Verification - Icypeas pricing and uptime](https://getanyapi.com/api/email-verification/icypeas) - live USD price, lane routing, and measured 30-day uptime. [Every Email_verification endpoint](https://getanyapi.com/api/email-verification).","operationId":"email_verification_icypeas","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"support@stripe.com"},"schema":{"additionalProperties":false,"example":{"email":"support@stripe.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Verification - Icypeas input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Normalized verification result.","oneOf":[{"type":"null"},{"properties":{"certainty":{"description":"Confidence rating for the address, returned verbatim as the source spells it (ultra_sure in the captured response). It is not remapped to another verdict vocabulary.","type":["string","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"email":{"description":"The verified email address as the source returned it.","format":"email","type":["string","null"]},"firstname":{"description":"First name carried by the source's scan record. Present only when that record holds identity data, which the verification path usually does not.","type":["string","null"]},"fullname":{"description":"Full name carried by the source's scan record. Present only when that record holds identity data, which the verification path usually does not.","type":["string","null"]},"gender":{"description":"Gender carried by the source's scan record, returned verbatim. Present only when that record holds identity data, which the verification path usually does not; the source's UNKNOWN sentinel is reported as absent.","type":["string","null"]},"lastname":{"description":"Last name carried by the source's scan record. Present only when that record holds identity data, which the verification path usually does not.","type":["string","null"]},"linkedinUrl":{"description":"LinkedIn profile URL carried by the source's scan record. Present only when that record holds identity data, which the verification path usually does not.","type":["string","null"]},"modifiedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"mxProvider":{"description":"Mail provider detected from the address domain's MX records.","type":["string","null"]},"mxRecords":{"description":"MX record hosts published by the address domain.","items":{"type":"string"},"type":["array","null"]},"phones":{"description":"Phone numbers carried by the source's scan record, passed through in whatever shape the source returns them. Empty in the captured response and absent when the source holds none, so this field is not type-constrained."},"saasServices":{"description":"SaaS services carried by the source's scan record, passed through in whatever shape the source returns them. Empty in the captured response and absent when the source holds none, so this field is not type-constrained."},"scanId":{"description":"The source's own identifier for the scan record behind this verification, surfaced so a result can be traced back to it at the source.","type":["string","null"]},"scanName":{"description":"The source's own label for the kind of scan record it created, returned verbatim (__icypeas__individual in the captured response). It is not a person's name.","type":["string","null"]},"scanOrder":{"description":"Position the source assigned to this record within the scan it belongs to; 0 for a single-address verification.","type":["integer","null"]},"scanUser":{"description":"The source's own identifier for the account that ran the scan.","type":["string","null"]},"status":{"description":"Scan outcome for the address, returned verbatim as the source spells it (FOUND in the captured response; the scan also reports NOT_FOUND). This is not the good/risky/bad vocabulary used by email.verify.","type":["string","null"]}},"required":["status"],"type":"object"}]},"found":{"description":"Whether the source returned a completed verification. A negative verdict is a successful, billable result.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Verification - Icypeas output","type":"object","x-anyapi-result-list":false,"x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Verification - Icypeas","tags":["email-verification"],"x-mint":{"href":"/api-reference/email-verification/icypeas"},"x-payment-info":{"price":{"amount":"0.002400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_verification.zerobounce":{"post":{"description":"Validate one email address against ZeroBounce, with the deliverability verdict, why it was reached, the mailbox provider, and any owner details ZeroBounce holds. A negative verdict is a successful, billable result.\n\n**Price:** \\$33.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Verification - ZeroBounce pricing and uptime](https://getanyapi.com/api/email-verification/zerobounce) - live USD price, lane routing, and measured 30-day uptime. [Every Email_verification endpoint](https://getanyapi.com/api/email-verification).","operationId":"email_verification_zerobounce","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"tim@apollo.io"},"schema":{"additionalProperties":false,"example":{"email":"tim@apollo.io"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"description":"Email address to validate.","format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"ipAddress":{"description":"IP address the address signed up from. ZeroBounce uses it to add the geographic fields to the answer.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Verification - ZeroBounce input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The verdict for the address, or null when ZeroBounce returned no answer.","oneOf":[{"type":"null"},{"properties":{"account":{"description":"Local part of the address, before the @.","type":["string","null"]},"catchallDomain":{"description":"True when the domain accepts mail to any local part, so no address on it can be individually confirmed.","type":["boolean","null"]},"city":{"description":"City from the supplied signup IP.","type":["string","null"]},"country":{"description":"Country from the supplied signup IP.","type":["string","null"]},"didYouMean":{"description":"Corrected address when ZeroBounce spots a likely typo.","type":["string","null"]},"domain":{"description":"Domain part of the address.","type":["string","null"]},"domainAgeDays":{"description":"How long the domain has been registered, in days.","type":["integer","null"]},"email":{"description":"The address that was validated.","type":["string","null"]},"firstName":{"description":"First name ZeroBounce associates with the address.","type":["string","null"]},"freeEmail":{"description":"True for a free consumer mailbox such as gmail.com.","type":["boolean","null"]},"gender":{"description":"Gender ZeroBounce associates with the address.","type":["string","null"]},"lastName":{"description":"Last name ZeroBounce associates with the address.","type":["string","null"]},"mxFound":{"description":"True when the domain publishes MX records.","type":["boolean","null"]},"mxRecord":{"description":"The domain's primary MX host.","type":["string","null"]},"processedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) ZeroBounce ran the check. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"region":{"description":"Region from the supplied signup IP.","type":["string","null"]},"smtpProvider":{"description":"Mailbox provider behind the domain, e.g. g-suite.","type":["string","null"]},"status":{"description":"Deliverability verdict: valid, invalid, catch-all, unknown, spamtrap, abuse or do_not_mail.","type":["string","null"]},"subStatus":{"description":"Why that verdict was reached, e.g. mailbox_not_found, role_based, disposable.","type":["string","null"]},"zipcode":{"description":"Postal code from the supplied signup IP.","type":["string","null"]}},"required":["email","status"],"type":"object"}]},"found":{"description":"False when ZeroBounce returned no answer for the request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Verification - ZeroBounce output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Verification - ZeroBounce","tags":["email-verification"],"x-mint":{"href":"/api-reference/email-verification/zerobounce"},"x-payment-info":{"price":{"amount":"0.033600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.034600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.033600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/email_verification.zerobounce_activity":{"post":{"description":"Check whether an email address has shown recent activity across ZeroBounce's engagement network before you re-engage it. A no-activity answer is a successful, billable result.\n\n**Price:** \\$33.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Email Activity - ZeroBounce pricing and uptime](https://getanyapi.com/api/email-verification/zerobounce-activity) - live USD price, lane routing, and measured 30-day uptime. [Every Email_verification endpoint](https://getanyapi.com/api/email-verification).","operationId":"email_verification_zerobounce_activity","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"email":"dshah@hubspot.com"},"schema":{"additionalProperties":false,"example":{"email":"dshah@hubspot.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"email":{"description":"Email address to check for activity.","format":"email","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["email"],"title":"Email Activity - ZeroBounce input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The activity answer for the address, or null when ZeroBounce returned none.","oneOf":[{"type":"null"},{"properties":{"activeInDays":{"description":"How recently the address was active, in days. ZeroBounce buckets this rather than giving an exact figure.","type":["integer","null"]},"email":{"description":"The address that was checked.","type":["string","null"]},"firstSeenUtc":{"description":"UTC epoch timestamp in seconds (Unix time) ZeroBounce first saw activity from the address. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"hasActivity":{"description":"True when ZeroBounce has seen engagement from this address.","type":["boolean","null"]}},"required":["email","hasActivity"],"type":"object"}]},"found":{"description":"False when ZeroBounce returned no answer for the request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Email Activity - ZeroBounce output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Email Activity - ZeroBounce","tags":["email-verification"],"x-mint":{"href":"/api-reference/email-verification/zerobounce-activity"},"x-payment-info":{"price":{"amount":"0.033600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.034600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.033600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/etsy.product":{"post":{"description":"Look up one Etsy listing by id and get its price, images, description, rating, reviews count, shop, category, variations, stock, ship-from country, favorites and materials in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Etsy Product pricing and uptime](https://getanyapi.com/api/etsy/product) - live USD price, lane routing, and measured 30-day uptime. [Every Etsy endpoint](https://getanyapi.com/api/etsy).","operationId":"etsy_product","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"listingId":"1810545592"},"schema":{"additionalProperties":false,"example":{"listingId":"1810545592"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"listingId":{"description":"Etsy listing id, the number in the listing URL (https://www.etsy.com/listing/\u003cid\u003e/...), e.g. 1810545592. The Etsy Search and Etsy Shop Listings SKUs return it as listingId.","pattern":"^[0-9]+$","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `materials`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["favoriteCount","materials","quantityAvailable","shipFrom","video"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["listingId"],"title":"Etsy product input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Listing wrapper, or null when Etsy has no available listing with that id.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Listing detail records (one per requested listing id). Populated whenever the provider has data for the entity.","items":{"properties":{"category":{"description":"Etsy category trail from top level down, joined with \" \u003e \", e.g. \"Jewelry \u003e Necklaces \u003e Monogram \u0026 Name Necklaces\", or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"description":{"description":"The seller's listing description, or null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"favoriteCount":{"description":"Number of shoppers who favorited the listing, or null when the serving source does not report it.","type":["integer","null"]},"images":{"description":"Listing image URLs, primary first. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"listingId":{"description":"Etsy listing id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"materials":{"description":"Materials the seller lists, e.g. [\"14k/Yellow Gold/Pearl\"], or null when the serving source does not report them.","items":{"type":"string"},"type":["array","null"]},"price":{"description":"Current price in the listing currency (the lowest variation price when the listing shows a range), or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"quantityAvailable":{"description":"Units in stock, or null when the serving source does not report it.","type":["integer","null"]},"rating":{"description":"Average rating, 0-5, or null when the listing is unrated. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"reviewsCount":{"description":"Number of reviews, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"shipFrom":{"description":"Country the listing ships from as a 2-letter ISO code, e.g. \"US\", or null when not reported.","type":["string","null"]},"shopId":{"description":"Etsy id of the shop selling the listing, or null when not reported.","type":["string","null"]},"shopName":{"description":"Name of the shop selling the listing; pass it to the Etsy Shop SKU. Null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"title":{"description":"Listing title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Etsy listing page URL with tracking query parameters removed.","type":"string"},"variations":{"description":"The choices a buyer picks from, e.g. Finish and Length, each with its values. Empty when the listing has none. Populated whenever the provider has data for the entity.","items":{"properties":{"name":{"description":"Variation name as the seller lists it, e.g. \"Length\", or null when the serving source does not report it.","type":["string","null"]},"values":{"description":"Values a buyer can pick, as Etsy labels them, e.g. [\"14 inches ($29.25)\", \"16 inches ($29.25)\"].","items":{"type":"string"},"type":"array"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"video":{"description":"Listing video URL (MP4), or null when the listing has none or the serving source does not report it.","type":["string","null"]}},"required":["listingId","title","url","shopId"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the listing was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Etsy product output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Etsy Product","tags":["etsy"],"x-mint":{"href":"/api-reference/etsy/product"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/etsy.search":{"post":{"description":"Search Etsy listings by keyword, the same results an Etsy search or /market page shows, with optional sort, price range and page, and get title, price, original price, image, shop, rating and ad flag for each listing in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Etsy Search pricing and uptime](https://getanyapi.com/api/etsy/search) - live USD price, lane routing, and measured 30-day uptime. [Every Etsy endpoint](https://getanyapi.com/api/etsy).","operationId":"etsy_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"cover letter template"},"schema":{"additionalProperties":false,"example":{"query":"cover letter template"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxPrice":{"description":"Optional maximum listing price, in USD.","minimum":0,"type":"number"},"minPrice":{"description":"Optional minimum listing price, in USD.","minimum":0,"type":"number"},"page":{"default":1,"description":"1-based results page. Each page is billed as one request.","maximum":250,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"cover letter template\". For an Etsy /market page, pass its words: https://www.etsy.com/market/habit_tracker_2027 is the query \"habit tracker 2027\".","maxLength":250,"minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `rating`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["rating","reviewsCount","totalResults"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"default":"relevance","description":"Result order: relevance (Etsy's own order, the default), newest, price_low, or price_high.","enum":["relevance","newest","price_low","price_high"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Etsy search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Etsy listing cards for the requested page, ads included where Etsy shows them. Populated whenever the provider has data for the entity.","items":{"properties":{"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"image":{"description":"Primary listing image URL, or null when the listing has none. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"isSponsored":{"description":"True when the listing is an ad Etsy placed in the results, or null when not reported.","type":["boolean","null"]},"listingId":{"description":"Etsy listing id, the number in the listing URL (https://www.etsy.com/listing/\u003cid\u003e/...); pass it to the Etsy Product SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"originalPrice":{"description":"Price before the current sale, or null when the listing is not on sale.","type":["number","null"]},"price":{"description":"Current price in the listing currency, or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average rating of the listing, 0-5, or null when unrated or the serving source does not report it.","type":["number","null"]},"reviewsCount":{"description":"Number of reviews of the listing, or null when not reported.","type":["integer","null"]},"shopId":{"description":"Etsy's numeric shop id, or null when not reported.","type":["string","null"]},"shopName":{"description":"Name of the shop selling the listing; pass it to the Etsy Shop or Etsy Shop Listings SKU. Null when not reported. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"title":{"description":"Listing title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Etsy listing page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["listingId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total listings Etsy reports for the search, or null when the serving source does not report it.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one listing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Etsy search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Etsy Search","tags":["etsy"],"x-mint":{"href":"/api-reference/etsy/search"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/etsy.shop":{"post":{"description":"Look up one Etsy shop by name and get its id, location, sales, active listings, rating, reviews count, followers, description, logo and banner in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Etsy Shop pricing and uptime](https://getanyapi.com/api/etsy/shop) - live USD price, lane routing, and measured 30-day uptime. [Every Etsy endpoint](https://getanyapi.com/api/etsy).","operationId":"etsy_shop","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"shopName":"StudioStelleHD"},"schema":{"additionalProperties":false,"example":{"shopName":"StudioStelleHD"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `followers`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["banner","description","followers","image","ownerId","reviewsCount"],"type":"string"},"type":"array","uniqueItems":true},"shopName":{"description":"Etsy shop name, as in the shop URL (https://www.etsy.com/shop/\u003cname\u003e), e.g. StudioStelleHD. The Etsy Search and Etsy Product SKUs return it as shopName.","pattern":"^[A-Za-z0-9]+$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["shopName"],"title":"Etsy shop input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Shop wrapper, or null when Etsy has no shop with that name.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Shop profile records (one per requested shop name). Populated whenever the provider has data for the entity.","items":{"properties":{"banner":{"description":"Shop banner image URL, or null when the shop has none or the serving source does not report it.","type":["string","null"]},"description":{"description":"The shop's headline, or null when the serving source does not report it.","type":["string","null"]},"followers":{"description":"Number of shoppers following the shop, or null when the serving source does not report it.","type":["integer","null"]},"image":{"description":"Shop logo URL, or null when the serving source does not report it.","type":["string","null"]},"listingCount":{"description":"Number of active listings, or null when not reported. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"location":{"description":"Where the shop says it is based, e.g. \"Shrewsbury, United Kingdom\", or null when not shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"name":{"description":"Shop name as Etsy shows it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"ownerId":{"description":"Etsy user id of the shop owner, or null when the serving source does not report it.","type":["string","null"]},"rating":{"description":"Average shop rating, 0-5, or null when unrated. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"reviewsCount":{"description":"Number of shop reviews, or null when the serving source does not report it.","type":["integer","null"]},"salesCount":{"description":"Lifetime sales the shop shows, or null when hidden. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"shopId":{"description":"Etsy's numeric shop id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Etsy shop page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["shopId","name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the shop was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Etsy shop output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Etsy Shop","tags":["etsy"],"x-mint":{"href":"/api-reference/etsy/shop"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/etsy.shop_listings":{"post":{"description":"List one Etsy shop's active listings by shop name, a page at a time, and get title, price, original price and image for each listing in one normalized response.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Etsy Shop Listings pricing and uptime](https://getanyapi.com/api/etsy/shop-listings) - live USD price, lane routing, and measured 30-day uptime. [Every Etsy endpoint](https://getanyapi.com/api/etsy).","operationId":"etsy_shop_listings","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"shopName":"StudioStelleHD"},"schema":{"additionalProperties":false,"example":{"shopName":"StudioStelleHD"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based results page of the shop's listings. Each page is billed as one request.","maximum":250,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"shopName":{"description":"Etsy shop name, as in the shop URL (https://www.etsy.com/shop/\u003cname\u003e), e.g. StudioStelleHD. The Etsy Search and Etsy Product SKUs return it as shopName.","pattern":"^[A-Za-z0-9]+$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["shopName"],"title":"Etsy shop listings input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Listings wrapper, or null when the shop has none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The shop's active listings for the requested page, in the shop's own order. Populated whenever the provider has data for the entity.","items":{"properties":{"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"image":{"description":"Primary listing image URL, or null when the listing has none. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"listingId":{"description":"Etsy listing id, the number in the listing URL (https://www.etsy.com/listing/\u003cid\u003e/...); pass it to the Etsy Product SKU. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"originalPrice":{"description":"Price before the current sale, or null when the listing is not on sale.","type":["number","null"]},"price":{"description":"Current price in the listing currency, or null when not shown. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"title":{"description":"Listing title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Etsy listing page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["listingId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total listings the shop has for sale, or null when not reported.","type":["integer","null"]}},"required":["items","totalResults"],"type":"object"}]},"found":{"description":"True when the shop has at least one active listing on the requested page.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Etsy shop listings output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Etsy Shop Listings","tags":["etsy"],"x-mint":{"href":"/api-reference/etsy/shop-listings"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.ad_details":{"post":{"description":"Look up a single Meta Ad Library ad by ID or URL and get the advertiser, creative text, call-to-action, platforms, and run dates as clean JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Ad Details pricing and uptime](https://getanyapi.com/api/facebook/ad-details) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_ad_details","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"962050096457659"},"schema":{"additionalProperties":false,"example":{"id":"962050096457659"},"oneOf":[{"not":{"required":["url"]},"required":["id"]},{"not":{"required":["id"]},"required":["url"]}],"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Meta Ad Library ad ID (e.g. \"702369045530963\"). Provide either id or url.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Meta Ad Library ad URL (e.g. \"https://www.facebook.com/ads/library?id=1185617869915074\"). Provide either id or url.","type":"string"}},"title":"Facebook ad details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"active":{"description":"Whether the ad is currently running.","type":["boolean","null"]},"adArchiveId":{"description":"Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"caption":{"description":"Caption line of the ad creative, usually the advertiser's display domain.","type":"string"},"categories":{"description":"Ad Library categories the ad is filed under.","items":{"type":"string"},"type":"array"},"creatives":{"description":"One entry per card of a carousel, dynamic-product, or dynamic-creative ad, in the order Meta returns them, each with its own text and destination. Single-creative ads return an empty array. The same card images and videos also appear in media. Meta CDN media URLs are signed and expire.","items":{"properties":{"body":{"description":"Card body text.","type":"string"},"caption":{"description":"Card display caption, usually the destination domain.","type":"string"},"ctaText":{"description":"Card call-to-action label (e.g. \"Shop Now\").","type":"string"},"ctaType":{"description":"Card call-to-action type (e.g. \"SHOP_NOW\").","type":"string"},"image":{"description":"Card image URL. For a video card this is the poster frame.","type":"string"},"linkDescription":{"description":"Card secondary description line.","type":"string"},"linkUrl":{"description":"Card destination URL.","type":"string"},"title":{"description":"Card headline.","type":"string"},"videoUrl":{"description":"Card video file URL (HD when supplied, otherwise SD). Present only on video cards.","type":"string"}},"type":"object"},"type":"array"},"ctaText":{"description":"Call-to-action label. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"Spend currency, may be empty.","type":["string","null"]},"displayFormat":{"description":"Ad creative format. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"endDate":{"description":"Run end, epoch seconds.","type":["integer","null"]},"isReshared":{"description":"Whether the ad creative is a reshare of another post.","type":"boolean"},"linkDescription":{"description":"Description text shown under the ad's link.","type":"string"},"linkUrl":{"description":"Creative destination URL. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"media":{"description":"Creative attached to the ad: one element per image, video, or carousel card, in the order the ad presents them. Empty when the ad has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string"},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string"},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"pageCategories":{"description":"Categories Facebook lists the advertising page under.","items":{"type":"string"},"type":"array"},"pageDeleted":{"description":"Whether the advertising page has been deleted.","type":"boolean"},"pageId":{"description":"Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageLikes":{"description":"Like count of the advertising page.","type":"integer"},"pageName":{"description":"Advertiser page name. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"pageProfilePicture":{"description":"Profile picture of the advertising page. This is the advertiser's identity image, not ad creative.","format":"uri","type":"string"},"pageUrl":{"description":"Canonical Facebook URL of the advertising page.","type":"string"},"platforms":{"description":"Publisher platforms the ad runs on. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":["array","null"],"x-anyapi-must-populate":true},"sourceUrl":{"description":"Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"startDate":{"description":"Run start, epoch seconds. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"text":{"description":"Ad body text. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"title":{"description":"Creative title. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["adArchiveId","sourceUrl","pageId"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook ad details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Ad Details","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/ad-details"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.ad_details_full":{"post":{"description":"Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action.\n\n**Price:** billed per result - \\$3.74 per 1,000 requests base + \\$0.00 per 1,000 results, capped at \\$3.74 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Facebook Ad Creative Details pricing and uptime](https://getanyapi.com/api/facebook/ad-details-full) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_ad_details_full","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"962050096457659"},"schema":{"additionalProperties":false,"example":{"id":"962050096457659"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Meta Ad Library ad ID - the numeric id in an Ad Library URL (e.g. \"962050096457659\" from https://www.facebook.com/ads/library/?id=962050096457659).","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["id"],"title":"Facebook ad creative details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"active":{"description":"Whether the ad is currently running.","type":"boolean"},"adArchiveId":{"description":"Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"body":{"description":"Ad body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"caption":{"description":"Display caption, usually the destination domain.","type":"string"},"categories":{"description":"Ad Library categories the ad is filed under.","items":{"type":"string"},"type":"array"},"creatives":{"description":"One entry per creative variant of a carousel or dynamic ad, in the order Meta returns them. Single-creative ads return an empty array and carry their media in images/videos. Meta CDN media URLs are signed and expire, so fetch what you need at read time.","items":{"properties":{"body":{"description":"Variant body text.","type":"string"},"caption":{"description":"Variant display caption.","type":"string"},"ctaText":{"description":"Variant call-to-action label.","type":"string"},"ctaType":{"description":"Variant call-to-action type.","type":"string"},"image":{"description":"Original creative image URL.","type":"string"},"imageResized":{"description":"Resized creative image URL.","type":"string"},"linkDescription":{"description":"Variant secondary description.","type":"string"},"linkUrl":{"description":"Variant destination URL.","type":"string"},"title":{"description":"Variant headline.","type":"string"},"videoPreviewImage":{"description":"Poster frame for the creative video.","type":"string"},"videoUrl":{"description":"Creative video URL (HD when supplied, otherwise SD).","type":"string"}},"type":"object"},"type":"array"},"ctaText":{"description":"Call-to-action label (e.g. \"Shop now\").","type":"string"},"ctaType":{"description":"Call-to-action type (e.g. \"SHOP_NOW\").","type":"string"},"displayFormat":{"description":"Ad creative format (e.g. \"DPA\", \"VIDEO\", \"IMAGE\"). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"endedUtc":{"description":"Run end, or last-seen date while the ad is still running. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"images":{"description":"Standalone creative images for a single-image ad. Meta CDN media URLs are signed and expire.","items":{"properties":{"image":{"description":"Original creative image URL.","type":"string"},"imageResized":{"description":"Resized creative image URL.","type":"string"}},"type":"object"},"type":"array"},"isReshared":{"description":"Whether the ad creative is a reshare of another post.","type":"boolean"},"linkDescription":{"description":"Secondary link description line.","type":"string"},"linkUrl":{"description":"Creative destination URL.","type":"string"},"pageCategories":{"description":"Categories Facebook lists the advertising page under.","items":{"type":"string"},"type":"array"},"pageDeleted":{"description":"Whether the advertising page has been deleted.","type":"boolean"},"pageId":{"description":"Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageImage":{"description":"Advertiser page profile picture URL. Meta CDN URLs are signed and expire.","type":"string"},"pageLikes":{"description":"Like count of the advertising page.","type":"integer"},"pageName":{"description":"Advertiser page name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageUrl":{"description":"Advertiser page URL.","type":"string"},"platforms":{"description":"Publisher platforms the ad runs on.","items":{"type":"string"},"type":"array"},"sourceUrl":{"description":"Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"startedUtc":{"description":"Run start. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"title":{"description":"Creative headline. Dynamic-product ads return a template such as \"{{product.name}}\".","type":"string"},"videos":{"description":"Standalone creative videos for a single-video ad. Meta CDN media URLs are signed and expire.","items":{"properties":{"videoPreviewImage":{"description":"Poster frame for the creative video.","type":"string"},"videoUrl":{"description":"Creative video URL (HD when supplied, otherwise SD).","type":"string"}},"type":"object"},"type":"array"}},"required":["adArchiveId","sourceUrl","pageId"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook ad creative details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Ad Creative Details","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/ad-details-full"},"x-payment-info":{"price":{"currency":"USD","max":"0.003740","min":"0.003740","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.004740","min":"0.004740","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.003740","min":"0.003740","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.ad_transcript":{"post":{"description":"Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Ad Transcript pricing and uptime](https://getanyapi.com/api/facebook/ad-transcript) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_ad_transcript","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"931919822778200"},"schema":{"additionalProperties":false,"example":{"id":"931919822778200"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Meta Ad Library ad ID (e.g. \"1020359190509080\"). Provide either id or url.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Meta Ad Library ad URL (e.g. \"https://www.facebook.com/ads/library?id=1020359190509080\"). Provide either id or url.","type":"string"}},"title":"Facebook ad transcript input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"adId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"transcript":{"description":"Transcribed ad audio text.","type":"string"},"transcriptAvailable":{"type":"boolean"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["adId","url","transcript","transcriptAvailable"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `too_long`: the video is longer than the source can transcribe, so asking again returns the same answer. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found","too_long"],"type":"string"}},"required":["found","data"],"title":"Facebook ad transcript output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Ad Transcript","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/ad-transcript"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.ads_search":{"post":{"description":"Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Ad Search pricing and uptime](https://getanyapi.com/api/facebook/ads-search) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_ads_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"country":"US","query":"nike","searchType":"keyword_exact_phrase"},"schema":{"additionalProperties":false,"example":{"country":"US","query":"nike","searchType":"keyword_exact_phrase"},"properties":{"adType":{"description":"Restrict to all ads (default) or only political and issue ads.","enum":["all","political_and_issue_ads"],"type":"string"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"description":"Two-letter country code to scope results. Omit for all countries.","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor.","type":"string"},"endDate":{"description":"Filter to ads with impressions on or before this date, in YYYY-MM-DD format.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mediaType":{"description":"Creative media type filter.","enum":["ALL","IMAGE","VIDEO","MEME","IMAGE_AND_MEME","NONE"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search the Meta Ad Library for (e.g. \"protein powder\").","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalResults`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an ad that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["totalResults"],"type":"string"},"type":"array","uniqueItems":true},"searchType":{"description":"Match mode for the query: loose keyword match (keyword_unordered, the default) or exact phrase (keyword_exact_phrase).","enum":["keyword_unordered","keyword_exact_phrase"],"type":"string"},"sortBy":{"description":"Sort order: impressions (highest first, the default) or recent (most recent).","enum":["impressions","recent"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Filter to ads with impressions on or after this date, in YYYY-MM-DD format.","type":"string"},"status":{"default":"ACTIVE","description":"Ad status filter.","enum":["ALL","ACTIVE","INACTIVE"],"type":"string"}},"required":["query"],"title":"Facebook ad search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"ads":{"items":{"properties":{"active":{"type":"boolean"},"adCount":{"description":"Number of ads in this campaign (collation count). Null when the source does not report it.","type":["integer","null"]},"caption":{"description":"Caption line of the ad creative, usually the advertiser's display domain.","type":"string"},"categories":{"description":"Ad Library categories the ad is filed under.","items":{"type":"string"},"type":"array"},"creatives":{"description":"One entry per card of a carousel, dynamic-product, or dynamic-creative ad, in the order Meta returns them, each with its own text and destination. Single-creative ads return an empty array. The same card images and videos also appear in media. Meta CDN media URLs are signed and expire.","items":{"properties":{"body":{"description":"Card body text.","type":"string"},"caption":{"description":"Card display caption, usually the destination domain.","type":"string"},"ctaText":{"description":"Card call-to-action label (e.g. \"Shop Now\").","type":"string"},"ctaType":{"description":"Card call-to-action type (e.g. \"SHOP_NOW\").","type":"string"},"image":{"description":"Card image URL. For a video card this is the poster frame.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"linkDescription":{"description":"Card secondary description line.","type":"string"},"linkUrl":{"description":"Card destination URL.","type":"string"},"title":{"description":"Card headline.","type":"string"},"videoUrl":{"description":"Card video file URL (HD when supplied, otherwise SD). Present only on video cards.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]}},"type":"object"},"type":"array"},"ctaText":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"ctaType":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"displayFormat":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"endDate":{"description":"Epoch seconds.","type":"integer"},"id":{"description":"Ad Library archive ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isReshared":{"description":"Whether the ad creative is a reshare of another post.","type":"boolean"},"linkDescription":{"description":"Description text shown under the ad's link.","type":"string"},"linkUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"media":{"description":"Creative attached to the ad: one element per image, video, or carousel card, in the order the ad presents them. Empty when the ad has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"pageCategories":{"description":"Categories Facebook lists the advertising page under.","items":{"type":"string"},"type":"array"},"pageDeleted":{"description":"Whether the advertising page has been deleted.","type":"boolean"},"pageId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageLikes":{"description":"Like count of the advertising page.","type":"integer"},"pageName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageProfilePicture":{"description":"Profile picture of the advertising page. This is the advertiser's identity image, not ad creative.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"pageUrl":{"description":"Canonical Facebook URL of the advertising page.","type":"string","x-anyapi-domain":["facebook.com","instagram.com","whatsapp.com"]},"platforms":{"description":"Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"sourceUrl":{"description":"Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-domain":"facebook.com","x-anyapi-must-populate":true},"startDate":{"description":"Epoch seconds. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"text":{"description":"Ad body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","sourceUrl","pageId","pageName","active","startDate","endDate","text","title","ctaText","ctaType","linkUrl","displayFormat","platforms","adCount"],"type":"object"},"type":"array"},"nextCursor":{"description":"Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"totalResults":{"description":"Total number of ads matching the search. Null when the source cannot report an exact count.","type":["integer","null"]}},"required":["totalResults","nextCursor","ads"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook ad search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Ad Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/ads-search"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.comment_replies":{"post":{"description":"List the replies to a Facebook post comment (text, author, reactions, and timestamps) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Facebook Comment Replies pricing and uptime](https://getanyapi.com/api/facebook/comment-replies) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_comment_replies","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"expansionToken":"MjoxNzgzMjI4OTY4OgF_o5zrjDnpemv4bwPtpsShXutqvKIw2bKs2YuJksL1Ak8n8YG-_KPSQGkIks5oW6wdRfhb_cRv9q5OX0NHjFJwEupYNZi9pcMV-FYLWLp47u-eusMkZFOMwbkISsTln7gtSvQrOzlffyavOTIL85PECYzGfunU2IAEkd13CIikxu06Mw10UJ1ShcFAmz8175R1uJfYy_iOixWZukqfrWhUfVOXApXznxx7qXvUxPwct76qe6p7-nVWQrPC_SZc2xh9Z8ggL3WMjgTzSq4oWFSsyZuuVsyVVjSgdjRQiDqtJSeEUlSjTr6vOnKsvKV-GpnBRaeA0BCaNRhqpB4xDZoduBuO5ZYrFvWLJdJLryDhCPI2Ss-Z33cEM2Vz7pLf1wJzE7TuizXPwICSn1DA_Prca-BItTbOUjAjfiySap1LXYkGuuDC2ziUdiEsmE5XhevMP8XtF_2WQlMNcGbXMEQyAWDUawtPAxXgMeRrCO9YGSweFQ4OZumoIlSGa3Vfjy-euUOHT1IAsNbV2A8rAq4HJNU3jCXQTn0vfW9xvbVQhL-53Mhw2YPjhlvUj6QpnGA25N8","feedbackId":"ZmVlZGJhY2s6MTM5MzQ2MTExNTQ4MTkyN18yMDgyNjUzMjQ1ODA5Mzg2"},"schema":{"additionalProperties":false,"example":{"expansionToken":"MjoxNzgzMjI4OTY4OgF_o5zrjDnpemv4bwPtpsShXutqvKIw2bKs2YuJksL1Ak8n8YG-_KPSQGkIks5oW6wdRfhb_cRv9q5OX0NHjFJwEupYNZi9pcMV-FYLWLp47u-eusMkZFOMwbkISsTln7gtSvQrOzlffyavOTIL85PECYzGfunU2IAEkd13CIikxu06Mw10UJ1ShcFAmz8175R1uJfYy_iOixWZukqfrWhUfVOXApXznxx7qXvUxPwct76qe6p7-nVWQrPC_SZc2xh9Z8ggL3WMjgTzSq4oWFSsyZuuVsyVVjSgdjRQiDqtJSeEUlSjTr6vOnKsvKV-GpnBRaeA0BCaNRhqpB4xDZoduBuO5ZYrFvWLJdJLryDhCPI2Ss-Z33cEM2Vz7pLf1wJzE7TuizXPwICSn1DA_Prca-BItTbOUjAjfiySap1LXYkGuuDC2ziUdiEsmE5XhevMP8XtF_2WQlMNcGbXMEQyAWDUawtPAxXgMeRrCO9YGSweFQ4OZumoIlSGa3Vfjy-euUOHT1IAsNbV2A8rAq4HJNU3jCXQTn0vfW9xvbVQhL-53Mhw2YPjhlvUj6QpnGA25N8","feedbackId":"ZmVlZGJhY2s6MTM5MzQ2MTExNTQ4MTkyN18yMDgyNjUzMjQ1ODA5Mzg2"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"expansionToken":{"description":"The expansion_token of the comment, from the post comments endpoint.","type":"string"},"feedbackId":{"description":"The feedback_id of the comment (not the comment id).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["feedbackId","expansionToken"],"title":"Facebook Comment Replies input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the replies array plus pagination, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasNextPage":{"description":"True when more replies are available beyond this page.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of replies, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"replies":{"description":"Replies to the comment. Populated whenever the provider has data for the entity.","items":{"properties":{"authorId":{"description":"Identifier of the reply author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorName":{"description":"Display name of the reply author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorProfilePicture":{"description":"URL of the author's profile picture.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"expansionToken":{"description":"Token used to expand nested replies, when present.","type":"string"},"feedbackId":{"description":"Facebook feedback identifier for the reply. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Reply identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"reactionCount":{"description":"Number of reactions on the reply.","type":"integer"},"replyCount":{"description":"Number of replies nested under this reply.","type":"integer"},"text":{"description":"Reply text content. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","text","createdUtc","replyCount","reactionCount","authorName","authorId","authorProfilePicture","feedbackId"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","hasNextPage","replies"],"type":"object"}]},"found":{"description":"True when replies were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Comment Replies output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Comment Replies","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/comment-replies"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.company_ads":{"post":{"description":"List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Company Ads pricing and uptime](https://getanyapi.com/api/facebook/company-ads) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_company_ads","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"pageId":"15087023444","sortBy":"recent"},"schema":{"additionalProperties":false,"anyOf":[{"required":["pageId"]},{"required":["companyName"]}],"example":{"pageId":"15087023444","sortBy":"recent"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyName":{"description":"Company name to search (e.g. \"nike\"). Exact-match and case-sensitive against the Meta Ad Library index; an advertiser with no indexed page returns found:false.","minLength":1,"type":"string"},"country":{"description":"Two-letter country code to scope results. Defaults to all countries.","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor.","type":"string"},"endDate":{"description":"Filter to ads with impressions on or before this date, in YYYY-MM-DD format.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"language":{"description":"Two-letter language code to filter ads (e.g. \"EN\", \"ES\", \"FR\").","type":"string"},"mediaType":{"description":"Creative media type filter.","enum":["ALL","IMAGE","VIDEO","MEME","IMAGE_AND_MEME","NONE"],"type":"string"},"pageId":{"description":"Company's Ad Library page ID. Provide either pageId or companyName.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sortBy":{"description":"Sort order: impressions (highest first, the default) or recent (most recent).","enum":["impressions","recent"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Filter to ads with impressions on or after this date, in YYYY-MM-DD format.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"status":{"description":"Ad status filter. Defaults to ACTIVE.","enum":["ALL","ACTIVE","INACTIVE"],"type":"string"}},"title":"Facebook company ads input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"ads":{"items":{"properties":{"active":{"type":"boolean"},"adCount":{"description":"Number of ads in this campaign (collation count). Null when the source does not report it.","type":["integer","null"]},"caption":{"description":"Caption line of the ad creative, usually the advertiser's display domain.","type":"string"},"categories":{"description":"Ad Library categories the ad is filed under.","items":{"type":"string"},"type":"array"},"creatives":{"description":"One entry per card of a carousel, dynamic-product, or dynamic-creative ad, in the order Meta returns them, each with its own text and destination. Single-creative ads return an empty array. The same card images and videos also appear in media. Meta CDN media URLs are signed and expire.","items":{"properties":{"body":{"description":"Card body text.","type":"string"},"caption":{"description":"Card display caption, usually the destination domain.","type":"string"},"ctaText":{"description":"Card call-to-action label (e.g. \"Shop Now\").","type":"string"},"ctaType":{"description":"Card call-to-action type (e.g. \"SHOP_NOW\").","type":"string"},"image":{"description":"Card image URL. For a video card this is the poster frame.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"linkDescription":{"description":"Card secondary description line.","type":"string"},"linkUrl":{"description":"Card destination URL.","type":"string"},"title":{"description":"Card headline.","type":"string"},"videoUrl":{"description":"Card video file URL (HD when supplied, otherwise SD). Present only on video cards.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]}},"type":"object"},"type":"array"},"ctaText":{"description":"Call-to-action button label on the ad.","type":"string"},"ctaType":{"description":"Call-to-action button type on the ad, e.g. \"SHOP_NOW\".","type":"string"},"currency":{"type":"string"},"displayFormat":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"endDate":{"description":"Epoch seconds.","type":"integer"},"id":{"description":"Ad Library archive ID. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isReshared":{"description":"Whether the ad creative is a reshare of another post.","type":"boolean"},"linkDescription":{"description":"Description text shown under the ad's link.","type":"string"},"linkUrl":{"description":"Destination URL the ad links to.","type":"string"},"media":{"description":"Creative attached to the ad: one element per image, video, or carousel card, in the order the ad presents them. Empty when the ad has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"pageCategories":{"description":"Categories Facebook lists the advertising page under.","items":{"type":"string"},"type":"array"},"pageDeleted":{"description":"Whether the advertising page has been deleted.","type":"boolean"},"pageId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageLikes":{"description":"Like count of the advertising page.","type":"integer"},"pageName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageProfilePicture":{"description":"Profile picture of the advertising page. This is the advertiser's identity image, not ad creative.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"pageUrl":{"description":"Canonical Facebook URL of the advertising page.","type":"string","x-anyapi-domain":["facebook.com","instagram.com","whatsapp.com"]},"platforms":{"description":"Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"startDate":{"description":"Epoch seconds. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"text":{"description":"Ad body text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Headline of the ad creative.","type":"string"}},"required":["id","pageId","pageName","active","startDate","endDate","currency","text","displayFormat","platforms","adCount"],"type":"object"},"type":"array"},"nextCursor":{"description":"Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"totalResults":{"description":"Total number of ads Facebook reports for the page.","type":"integer"}},"required":["nextCursor","ads"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook company ads output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Company Ads","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/company-ads"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.event_details":{"post":{"description":"Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.\n\n**Price:** \\$0.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Event Details pricing and uptime](https://getanyapi.com/api/facebook/event-details) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_event_details","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"4045709448982422"},"schema":{"additionalProperties":false,"example":{"id":"4045709448982422"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"The event's numeric identifier.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The event's Facebook URL.","type":"string"}},"title":"Facebook Event Details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"address":{"description":"Street address of the event venue.","type":"string"},"attendanceCount":{"description":"Number of people Facebook reports as attending.","type":"integer"},"canViewMembers":{"description":"Whether the event's member list is publicly viewable.","type":"boolean"},"city":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"cityId":{"description":"Numeric Facebook id of the event's city page, as a string.","type":"string"},"coverPhotoUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"],"x-anyapi-must-populate":true},"creatorId":{"description":"Numeric Facebook id of the event's creator, as a string.","type":"string"},"creatorName":{"description":"Display name of the event's creator.","type":"string"},"dayTimeSentence":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"description":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"duration":{"description":"Human-readable event duration, e.g. \"2 days\".","type":"string"},"endTime":{"type":"string"},"eventKind":{"description":"Event kind Facebook reports, e.g. \"PUBLIC_TYPE\".","type":"string"},"goingCount":{"type":"integer"},"hostContextText":{"description":"Host line Facebook shows for the event, e.g. \"Event by Kansas Comic Con\".","type":"string"},"hostNames":{"description":"Names of the event's hosts.","items":{"type":"string"},"type":"array"},"hosts":{"description":"Pages or profiles hosting the event.","items":{"properties":{"id":{"description":"Numeric Facebook id of the host, as a string.","type":"string"},"image":{"description":"Profile picture URL of the host.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"name":{"description":"Display name of the host.","type":"string"},"type":{"description":"Kind of Facebook entity the host is, e.g. \"User\" or \"Page\".","type":"string"},"url":{"description":"Canonical Facebook URL of the host.","type":"string","x-anyapi-domain":"facebook.com"},"verified":{"description":"Whether the host carries a Facebook verification badge.","type":"boolean"}},"type":"object"},"type":"array"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"interestedCount":{"type":"integer"},"isCanceled":{"type":"boolean"},"isOnline":{"type":"boolean"},"isPast":{"description":"Whether the event has already finished.","type":"boolean"},"latitude":{"description":"Latitude of the event venue.","type":"number"},"locationName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"longitude":{"description":"Longitude of the event venue.","type":"number"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"placeId":{"description":"Numeric Facebook id of the event's place, as a string.","type":"string"},"privacy":{"description":"Privacy setting of the event, e.g. \"public\".","type":"string"},"rsvpStyle":{"description":"RSVP style of the event, e.g. \"PUBLIC_RSVP_STYLE\".","type":"string"},"startTime":{"type":"string"},"startTimeFormatted":{"description":"Human-readable start time Facebook shows, e.g. \"Sat, Oct 31 - Nov 1\".","type":"string"},"startTimestamp":{"description":"UTC epoch timestamp in seconds (Unix time) the event starts. Multiply by 1000 for a JS Date in milliseconds.","type":"integer"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"facebook.com","x-anyapi-must-populate":true}},"required":["id","url","name","description","dayTimeSentence","startTime","endTime","locationName","city","interestedCount","goingCount","coverPhotoUrl","isOnline","isCanceled"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Event Details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Event Details","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/event-details"},"x-payment-info":{"price":{"amount":"0.000400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.events":{"post":{"description":"List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Facebook Events pricing and uptime](https://getanyapi.com/api/facebook/events) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_events","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response to fetch the next page.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"time":{"description":"Timeframe filter for the returned events. Defaults to all time.","enum":["today","this_week","next_week"],"type":"string"},"url":{"description":"URL of a city's or place's Facebook Events page (e.g. https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547).","type":"string"}},"required":["url"],"title":"Facebook Events input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"events":{"items":{"properties":{"coverImage":{"description":"Cover photo image URL of the event.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"dayTimeSentence":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"eventKind":{"description":"Event kind Facebook reports, e.g. \"PUBLIC_TYPE\".","type":"string"},"goingCount":{"type":"integer"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"interestedCount":{"type":"integer"},"isHappeningNow":{"description":"Whether the event is happening right now.","type":"boolean"},"isOnline":{"type":"boolean"},"isPast":{"description":"Whether the event has already finished.","type":"boolean"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"placeId":{"description":"Numeric Facebook id of the event's place, as a string.","type":"string"},"placeName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"startTimestamp":{"description":"Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"facebook.com","x-anyapi-must-populate":true}},"required":["id","name","url","dayTimeSentence","startTimestamp","isOnline","placeName","interestedCount","goingCount"],"type":"object"},"type":"array"},"nextCursor":{"description":"Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","events"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Events output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Events","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/events"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.events_search":{"post":{"description":"Search public Facebook events by keyword and get structured event records (name, schedule, venue, pricing, and attendance) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Events Search pricing and uptime](https://getanyapi.com/api/facebook/events-search) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_events_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"music festival"},"schema":{"additionalProperties":false,"example":{"query":"music festival"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The query to search events for.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Facebook Events Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"events":{"items":{"properties":{"coverImage":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"dayTimeSentence":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"eventKind":{"description":"Event kind Facebook reports, e.g. \"PUBLIC_TYPE\".","type":"string"},"goingCount":{"type":"integer"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"interestedCount":{"type":"integer"},"isOnline":{"type":"boolean"},"isPast":{"type":"boolean"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"placeId":{"description":"Numeric Facebook id of the event's place, as a string.","type":"string"},"placeName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"priceRangeText":{"type":"string"},"startTimestamp":{"description":"Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"type":{"description":"Entity type of the record, e.g. \"Event\".","type":"string"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url","dayTimeSentence","startTimestamp","placeName","priceRangeText","coverImage","interestedCount","goingCount","isOnline","isPast"],"type":"object"},"type":"array"},"nextCursor":{"description":"Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","events"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Events Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Events Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/events-search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.followers":{"post":{"description":"List the public followers (or accounts followed) of any Facebook page or profile URL as normalized JSON records.\n\n**Price:** billed per result - \\$3.00 per 1,000 requests base + \\$3.00 per 1,000 results, capped at \\$63.00 per 1,000 requests.\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Followers pricing and uptime](https://getanyapi.com/api/facebook/followers) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_followers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.facebook.com/nike"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://www.facebook.com/nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"followType":{"default":"follower","description":"Which relation to fetch: 'follower' or 'following' (e.g. follower).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Facebook page or profile URL to list follows for (e.g. https://www.facebook.com/nasa).","type":"string"}},"required":["url"],"title":"Facebook followers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Follower or following records for the target page/profile. Populated whenever the provider has data for the entity.","items":{"properties":{"id":{"description":"The account's numeric Facebook ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the account's profile picture, a signed CDN URL whose query must be kept. Empty when the upstream omits it.","type":"string"},"name":{"description":"The account's public display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Kind of Facebook entity the record is, e.g. \"User\" or \"Page\".","type":"string"},"url":{"description":"Canonical URL of the account's Facebook profile, with tracking query params stripped. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the page/profile was found and returned follower or following records.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook followers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Followers","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/followers"},"x-payment-info":{"price":{"currency":"USD","max":"0.063000","min":"0.003000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.064000","min":"0.004000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.063000","min":"0.003000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.group_posts":{"post":{"description":"Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.\n\n**Price:** \\$0.72 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Group Posts pricing and uptime](https://getanyapi.com/api/facebook/group-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_group_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/groups/instantpotcommunity/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/groups/instantpotcommunity/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response to fetch the next page.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sort":{"description":"Ordering for the returned posts (e.g. TOP_POSTS).","enum":["TOP_POSTS","RECENT_ACTIVITY","CHRONOLOGICAL","CHRONOLOGICAL_LISTINGS"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The URL of a public Facebook group to fetch posts from (e.g. https://www.facebook.com/groups/instantpotcommunity/).","type":"string"}},"required":["url"],"title":"Facebook Group Posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"authorId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"commentCount":{"type":"integer"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the post's first image. Absent when the post has no image.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"publishTime":{"description":"Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"reactionCount":{"type":"integer"},"reactions":{"description":"Reaction counts on the post, broken down by reaction type.","properties":{"angry":{"description":"Angry reactions.","type":"integer"},"care":{"description":"Care reactions.","type":"integer"},"haha":{"description":"Haha reactions.","type":"integer"},"like":{"description":"Like reactions.","type":"integer"},"love":{"description":"Love reactions.","type":"integer"},"sad":{"description":"Sad reactions.","type":"integer"},"wow":{"description":"Wow reactions.","type":"integer"}},"type":"object"},"text":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"facebook.com","x-anyapi-must-populate":true}},"required":["id","text","url","publishTime","reactionCount","commentCount","authorName","authorId","reactions"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","posts"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Group Posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Group Posts","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/group-posts"},"x-payment-info":{"price":{"amount":"0.000720","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001720","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000720","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.marketplace":{"post":{"description":"Search Facebook Marketplace listings by keyword near a location, filter by price, condition, delivery, recency, and availability, and get title, price, location, and image as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Marketplace pricing and uptime](https://getanyapi.com/api/facebook/marketplace) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_marketplace","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"lat":"30.2677","lng":"-97.7475","priceMax":500,"priceMin":100,"query":"bike"},"schema":{"additionalProperties":false,"example":{"lat":"30.2677","lng":"-97.7475","priceMax":500,"priceMin":100,"query":"bike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"availability":{"description":"Filter by availability: available (default), sold, or all (e.g. sold).","enum":["available","sold","all"],"type":"string"},"condition":{"description":"Only return listings in this condition (e.g. used_good).","enum":["new","used_like_new","used_good","used_fair"],"type":"string"},"cursor":{"description":"Pagination cursor from a previous response to fetch the next page.","type":"string"},"dateListed":{"description":"Only return listings posted within this window (e.g. last_7_days).","enum":["all","last_24_hours","last_7_days","last_30_days"],"type":"string"},"deliveryMethod":{"description":"Only return listings offering this delivery method (e.g. shipping).","enum":["all","local_pickup","shipping"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"lat":{"description":"Latitude of the search location (e.g. '30.2677').","type":"string"},"lng":{"description":"Longitude of the search location (e.g. '-97.7475').","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"priceMax":{"description":"Maximum listing price in whole currency units, e.g. 500 for $500. Facebook may mix in a few suggested listings outside the range.","minimum":0,"type":"integer"},"priceMin":{"description":"Minimum listing price in whole currency units, e.g. 100 for $100. Facebook may mix in a few suggested listings outside the range.","minimum":0,"type":"integer"},"query":{"description":"Search keyword for Marketplace listings (e.g. 'bike').","type":"string"},"sort":{"description":"Sort order for the returned listings (e.g. price_ascend).","enum":["suggested","distance_ascend","creation_time_descend","price_ascend","price_descend"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query","lat","lng"],"title":"Facebook Marketplace input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasNextPage":{"type":"boolean"},"listings":{"items":{"properties":{"categoryId":{"description":"Numeric Facebook Marketplace category id, as a string.","type":"string"},"city":{"description":"City the listing is located in.","type":"string"},"cityPageId":{"description":"Numeric Facebook id of the city page, as a string.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the listing was created. Multiply by 1000 for a JS Date in milliseconds. Null when the source does not report it.","type":["number","null"]},"deliveryTypes":{"description":"Delivery options the seller offers, e.g. \"IN_PERSON\" or \"SHIPPING\".","items":{"type":"string"},"type":"array"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isHidden":{"description":"Whether the listing is hidden.","type":"boolean"},"isLive":{"description":"Whether the listing is currently live.","type":"boolean"},"isPending":{"description":"Whether the listing is marked pending.","type":"boolean"},"isSold":{"type":"boolean"},"listingDateText":{"description":"Human-readable listing age Facebook shows, e.g. \"Listed 2 weeks ago\".","type":"string"},"locationName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"photoId":{"description":"Numeric Facebook id of the listing's primary photo, as a string.","type":"string"},"photoUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"priceAmount":{"description":"Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"priceFormatted":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"state":{"description":"State or region the listing is located in.","type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","title","priceFormatted","priceAmount","locationName","photoUrl","isSold"],"type":"object"},"type":"array"},"nextCursor":{"description":"Opaque cursor for the next page of listings, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","hasNextPage","listings"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Marketplace output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Marketplace","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/marketplace"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.marketplace_item":{"post":{"description":"Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Facebook Marketplace Item pricing and uptime](https://getanyapi.com/api/facebook/marketplace-item) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_marketplace_item","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/marketplace/item/1656586118821988/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/marketplace/item/1656586118821988/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Facebook Marketplace item ID.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Facebook Marketplace item URL.","type":"string"}},"title":"Facebook Marketplace Item input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"attributes":{"description":"Item specifics Facebook publishes for the listing.","items":{"properties":{"label":{"description":"Display label for the value, e.g. \"Used - Good\".","type":"string"},"name":{"description":"Attribute name, e.g. \"Condition\".","type":"string"},"value":{"description":"Raw attribute value, e.g. \"used_good\".","type":"string"}},"type":"object"},"type":"array"},"categoryId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"creationTime":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"currency":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"deliveryTypes":{"description":"Delivery options the seller offers, e.g. \"IN_PERSON\" or \"SHIPPING\".","items":{"type":"string"},"type":"array"},"description":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isBuyNowEnabled":{"description":"Whether buy-now checkout is enabled on the listing.","type":"boolean"},"isHidden":{"description":"Whether the listing is hidden.","type":"boolean"},"isLive":{"type":"boolean"},"isPending":{"description":"Whether the listing is marked pending.","type":"boolean"},"isShippingOffered":{"description":"Whether the seller offers shipping.","type":"boolean"},"isSold":{"type":"boolean"},"latitude":{"description":"Latitude of the listing's location.","type":"number"},"listingDateText":{"description":"Human-readable listing age Facebook shows, e.g. \"Listed 4 months ago\".","type":"string"},"locationText":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"longitude":{"description":"Longitude of the listing's location.","type":"number"},"messagingEnabled":{"description":"Whether buyers can message the seller about the listing.","type":"boolean"},"photos":{"description":"Photos attached to the listing.","items":{"properties":{"caption":{"description":"Accessibility caption Facebook generated for the photo.","type":"string"},"height":{"description":"Pixel height of the photo.","type":"integer"},"id":{"description":"Numeric Facebook id of the photo, as a string.","type":"string"},"url":{"description":"Image URL of the photo.","type":"string"},"width":{"description":"Pixel width of the photo.","type":"integer"}},"type":"object"},"type":"array"},"priceAmount":{"description":"Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"priceFormatted":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"seller":{"description":"The person or business selling the item. Empty when Facebook does not show the seller on the listing.","properties":{"id":{"description":"Facebook id of the seller, as a string.","type":"string"},"image":{"description":"URL of the seller's profile picture.","type":"string"},"joinedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the seller joined Facebook. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"name":{"description":"The seller's display name.","type":"string"},"rating":{"description":"The seller's average rating as a seller, out of 5. Absent when the seller has no ratings or keeps them private.","type":"number"},"ratingCount":{"description":"Number of ratings the seller has received as a seller. Absent when the seller has no ratings or keeps them private.","type":"integer"}},"type":"object"},"shareUrl":{"description":"Canonical shareable Marketplace URL of the listing.","type":"string"},"strikethroughPriceFormatted":{"description":"Previous price shown struck through, formatted for display.","type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","title","description","creationTime","locationText","priceFormatted","priceAmount","currency","categoryId","isSold","isLive","seller"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Marketplace Item output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Marketplace Item","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/marketplace-item"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.marketplace_location_search":{"post":{"description":"Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Marketplace Location Search pricing and uptime](https://getanyapi.com/api/facebook/marketplace-location-search) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_marketplace_location_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"Austin"},"schema":{"additionalProperties":false,"example":{"query":"Austin"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Location search query (e.g. a city name).","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Facebook Marketplace Location Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"locations":{"items":{"properties":{"city":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"latitude":{"description":"Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"longitude":{"description":"Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"postalCode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"subtitle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name","subtitle","pageId","city","postalCode","latitude","longitude"],"type":"object"},"type":"array"}},"required":["locations"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Marketplace Location Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Marketplace Location Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/marketplace-location-search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.page_contact":{"post":{"description":"Look up a Facebook Page's public contact details (email, phone, website, and address) by page URL or ID.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Page Contact Info pricing and uptime](https://getanyapi.com/api/facebook/page-contact) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_page_contact","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"page":"https://www.facebook.com/joesstonecrab"},"schema":{"additionalProperties":false,"example":{"page":"https://www.facebook.com/joesstonecrab"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"language":{"default":"en-US","description":"Locale code for the returned data (e.g. en-US).","type":"string"},"page":{"description":"Facebook Page URL or page ID to look up (e.g. https://www.facebook.com/nasa). A link to a post, video, photo or reels tab on a page is read as that page. A link to Facebook's own business, about, marketplace, fb-answers, videos, photos or reels section, a pages link without the page's id, or profile.php without its id= names no page and is refused as invalid input, with no charge.","not":{"pattern":"^(?:[A-Za-z]+://)?[^/?#]*(?:[Ff][Aa][Cc][Ee][Bb][Oo][Oo][Kk]|[Ff][Bb])\\.[Cc][Oo][Mm]/+(?:(?:business|about|marketplace|fb-answers)(?:[/?#]|$)|pages(?:/+[^/?#]*)?/*(?:[?#]|$)|profile\\.php/*(?:\\?(?:[^i\u0026#][^\u0026#]*|i(?:[^d\u0026#][^\u0026#]*)?|id(?:[^=\u0026#][^\u0026#]*)?|id=)?(?:\u0026(?:[^i\u0026#][^\u0026#]*|i(?:[^d\u0026#][^\u0026#]*)?|id(?:[^=\u0026#][^\u0026#]*)?|id=)?)*)?(?:#|$)|(?:videos|photos|reels)/*(?:[?#]|$))"},"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `createdUtc` or `adStatus`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a page that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["adStatus","createdUtc","followers"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["page"],"title":"Facebook page contact info input","type":"object","x-aliases":{"url":"page"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"about":{"description":"The page's intro text.","type":"string"},"adStatus":{"description":"Facebook Ad Library status sentence for the page.","type":"string"},"coverPhotoUrl":{"description":"Cover photo image URL of the page.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the page was created. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Numeric Facebook id of the page, as a string.","type":"string"},"items":{"description":"Contact record for the requested Facebook Page (one item). Populated whenever the provider has data for the entity.","items":{"properties":{"adLibraryPageId":{"description":"The page's Facebook Ad Library id, the `pageId` facebook.company_ads takes. It differs from `id`. Absent when Facebook shows none.","type":"string"},"address":{"description":"The page's public physical address. Empty when the page lists none.","type":"string"},"category":{"description":"The page's primary category (e.g. \"Seafood Restaurant\"). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"email":{"description":"The page's public contact email. Empty when the page lists none.","type":"string"},"followers":{"description":"The page's follower count. Some sources read it from Facebook's rounded label, so \"474K followers\" comes back as 474000; name it in requireFields for the exact count.","type":"integer"},"image":{"description":"URL of the page's profile picture, a signed CDN URL whose query must be kept. Empty when the upstream omits it.","type":"string"},"links":{"description":"Other social profiles the page links to, such as its Instagram account, as URLs. Empty when the page links none.","items":{"type":"string"},"type":"array"},"phone":{"description":"The page's public phone number. Empty when the page lists none.","type":"string"},"title":{"description":"The page's public name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the Facebook Page, with tracking query params stripped. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"website":{"description":"The page's public website URL. Empty when the page lists none.","type":"string"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"priceRange":{"description":"Price range the page advertises, e.g. \"$$\".","type":"string"},"rating":{"description":"Recommendation summary Facebook shows for the page, e.g. \"94% recommend (14,553 reviews)\".","type":"string"},"services":{"description":"Services the page lists, e.g. dine-in or online booking.","type":"string"}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the page was found and returned contact records.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook page contact info output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Page Contact Info","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/page-contact"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.page_lookup":{"post":{"description":"Look up Facebook Pages and profiles by name with Facebook's own quick search. A name lookup that returns basic identity fields only: name, URL, profile image, Facebook id, and verified status. Matches can include personal profiles as well as Pages. For full Page details (category, followers, phone, website), use facebook.search_pages.\n\n**Price:** \\$9.75 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Page Lookup pricing and uptime](https://getanyapi.com/api/facebook/page-lookup) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_page_lookup","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":5,"query":"NASA"},"schema":{"additionalProperties":false,"example":{"limit":5,"query":"NASA"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":7,"description":"Maximum number of matches to return (1-7, default 7). Facebook's quick search answers a name with at most 7 matches.","maximum":7,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Name to look up, as you would type it into Facebook's search box (e.g. NASA or plumber chicago).","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Facebook Page Lookup input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Pages and profiles whose name matches the query, in Facebook's order. Matches can include personal profiles as well as Pages.","items":{"properties":{"id":{"description":"Numeric Facebook id of the Page or profile, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Profile picture URL. Facebook signs it in the query string, so it works only as returned and expires. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isVerified":{"description":"Whether Facebook shows the verified badge on this Page or profile.","type":"boolean"},"name":{"description":"Display name of the Page or profile. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Facebook URL of the Page or profile. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url"],"type":"object"},"type":"array"}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Page Lookup output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Page Lookup","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/page-lookup"},"x-payment-info":{"price":{"amount":"0.009750","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.010750","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.009750","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.photos":{"post":{"description":"Fetch recent photos posted by any public Facebook page or profile (image URLs, captions, and dimensions) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Page Photos pricing and uptime](https://getanyapi.com/api/facebook/photos) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_photos","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/Spurs"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/Spurs"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response to fetch the next page.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `imageWidth`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a photo that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["imageHeight","imageWidth","nextPageId"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"URL of the public Facebook page or profile to fetch photos from (e.g. https://www.facebook.com/Spurs).","type":"string"}},"required":["url"],"title":"Facebook Page Photos input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of photos, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"nextPageId":{"description":"Facebook's own id for the next page of photos. Null when the serving source does not report it; pass nextCursor back as cursor to continue either way.","type":["string","null"]},"photos":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"caption":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"imageHeight":{"description":"Height of imageUrl in pixels. Null when the serving source does not report it.","type":["integer","null"]},"imageUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"imageWidth":{"description":"Width of imageUrl in pixels. Null when the serving source does not report it.","type":["integer","null"]},"photoId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"thumbnail":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","photoId","caption","url","thumbnail","imageUrl","imageWidth","imageHeight"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","nextPageId","photos"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Page Photos output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Page Photos","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/photos"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.post":{"post":{"description":"Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Post pricing and uptime](https://getanyapi.com/api/facebook/post) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_post","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `videoId` or `views`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["authorVerified","feedbackId","reactions","videoId","videoUrl","views"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Facebook post URL.","type":"string"}},"required":["url"],"title":"Facebook post input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"authorId":{"description":"Numeric Facebook id of the page or profile that posted.","type":"string"},"authorImage":{"description":"Profile picture URL of the page or profile that posted.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"authorName":{"description":"Display name of the page or profile that posted.","type":"string"},"authorVerified":{"description":"Whether the posting page or profile carries a Facebook verification badge.","type":"boolean"},"comments":{"type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"durationSeconds":{"description":"Length of the post's video in seconds, 0 when the post carries no video.","type":"number"},"feedbackId":{"description":"Facebook feedback id of the post; pass it to facebook.post_comments as feedbackId to fetch its comments. Null when this source cannot read it.","type":["string","null"]},"id":{"description":"Facebook post id. For a reel or video post this is NOT the id in the /reel/ URL; that one is videoId. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Preview image or video thumbnail URL for the post.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"likes":{"type":"integer"},"reactions":{"description":"Reaction counts on the post, broken down by reaction type. Null when this source reports only the total.","properties":{"angry":{"description":"Angry reactions.","type":"integer"},"care":{"description":"Care reactions.","type":"integer"},"haha":{"description":"Haha reactions.","type":"integer"},"like":{"description":"Like reactions.","type":"integer"},"love":{"description":"Love reactions.","type":"integer"},"sad":{"description":"Sad reactions.","type":"integer"},"wow":{"description":"Wow reactions.","type":"integer"}},"type":["object","null"]},"shares":{"type":"integer"},"text":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical Facebook URL of the post.","type":"string","x-anyapi-domain":"facebook.com"},"videoId":{"description":"Facebook video id of the post's reel or video, the id that appears in its /reel/\u003cid\u003e URL. Null when the post carries no video or this lane cannot read it.","type":["string","null"]},"videoUrl":{"description":"Playable video file URL of the post's reel or video. Null when the post carries no video or this source cannot read it.","type":["string","null"],"x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"views":{"description":"Number of views on the post's video. Null when the source cannot report an exact count, for example when it gives only a rounded figure such as 14K.","type":["integer","null"]}},"required":["id","text","likes","comments","shares","views"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook post output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Post","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/post"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.post_comments":{"post":{"description":"List the comments on a Facebook post by URL with cursor pagination (text, author, reactions, reply count).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Post Comments pricing and uptime](https://getanyapi.com/api/facebook/post-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_post_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"schema":{"additionalProperties":false,"anyOf":[{"required":["url"]},{"required":["feedbackId"]}],"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"feedbackId":{"description":"Facebook feedback id for the post (alternative to url).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `feedbackId` or `hasNextPage`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["feedbackId","hasNextPage"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Facebook post URL.","type":"string"}},"title":"Facebook post comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the comments array plus pagination, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Comments on the post. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Display name of the comment author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorId":{"description":"Facebook id of the commenter, as a string.","type":"string"},"authorImage":{"description":"Profile picture URL of the commenter.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"expansionToken":{"description":"Facebook expansion token for paging the comment's replies.","type":"string"},"feedbackId":{"description":"Facebook feedback id of the comment, used to fetch its replies.","type":"string"},"id":{"description":"Comment identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"reactions":{"description":"Number of reactions on the comment.","type":"integer"},"replies":{"description":"Number of replies to the comment.","type":"integer"},"text":{"description":"Comment text content. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","text","author","reactions","replies","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"hasNextPage":{"description":"Whether more comments are available after this page.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["comments","nextCursor"],"type":"object"}]},"found":{"description":"True when comments were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook post comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Post Comments","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/post-comments"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.post_transcript":{"post":{"description":"Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Post Transcript pricing and uptime](https://getanyapi.com/api/facebook/post-transcript) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_post_transcript","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/reel/2166091230582141/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The Facebook post or video URL.","type":"string"}},"required":["url"],"title":"Facebook Post Transcript input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"durationSeconds":{"description":"Length of the video in seconds, with fractional seconds. Absent when the post has no transcribable video.","type":"number"},"postId":{"description":"Numeric Facebook id of the transcribed post, as a string.","type":"string"},"transcript":{"type":"string"}},"required":["transcript"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `too_long`: the video is longer than the source can transcribe, so asking again returns the same answer. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found","too_long"],"type":"string"}},"required":["found","data"],"title":"Facebook Post Transcript output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Post Transcript","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/post-transcript"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.profile":{"post":{"description":"Fetch a Facebook page's public profile (likes, followers, category, about) by URL or handle.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Profile pricing and uptime](https://getanyapi.com/api/facebook/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/nike"},"schema":{"additionalProperties":false,"anyOf":[{"required":["url"]},{"required":["handle"]}],"example":{"url":"https://www.facebook.com/nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Facebook page handle/username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Facebook page URL. profile.php without an id value names no page and is refused as invalid input, with no charge.","not":{"pattern":"^(?:[A-Za-z]+://)?[^/?#]*(?:[Ff][Aa][Cc][Ee][Bb][Oo][Oo][Kk]|[Ff][Bb])\\.[Cc][Oo][Mm]/+profile\\.php/*(?:\\?(?:[^i\u0026#][^\u0026#]*|i(?:[^d\u0026#][^\u0026#]*)?|id(?:[^=\u0026#][^\u0026#]*)?|id=)?(?:\u0026(?:[^i\u0026#][^\u0026#]*|i(?:[^d\u0026#][^\u0026#]*)?|id(?:[^=\u0026#][^\u0026#]*)?|id=)?)*)?(?:#|$)"},"type":"string"}},"title":"Facebook profile input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"about":{"type":"string"},"adLibraryPageId":{"description":"The page's Facebook Ad Library id, the `pageId` facebook.company_ads takes. It differs from `id`. Absent when Facebook shows none.","type":"string"},"adStatus":{"description":"Facebook Ad Library status sentence for the page, e.g. whether it is currently running ads. Absent when Facebook shows none.","type":"string"},"avatarUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"category":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"coverPhotoUrl":{"description":"Cover photo image URL of the page or profile.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the page was created. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"followers":{"type":"integer"},"id":{"description":"Numeric Facebook id of the page or profile.","type":"string"},"likes":{"type":"integer"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageActive":{"description":"Whether the page is an active business page.","type":"boolean"},"phone":{"description":"Public phone number listed on the page.","type":"string"},"talkingAboutCount":{"description":"Number of people talking about the page.","type":"integer"},"url":{"description":"Canonical Facebook URL of the page or profile.","type":"string"},"website":{"description":"Website listed on the page.","type":"string"}},"required":["name","category","likes","followers","about","avatarUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook profile output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Profile","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/profile"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.profile_events":{"post":{"description":"List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Page Events pricing and uptime](https://getanyapi.com/api/facebook/profile-events) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_profile_events","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/brickyardoldtown"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/brickyardoldtown"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The Facebook page link whose events to list, e.g. https://www.facebook.com/brickyardoldtown. Accepted: facebook.com/\u003cname\u003e, /p/\u003cname\u003e-\u003cid\u003e, /pages/\u003cname\u003e/\u003cid\u003e, /pg/\u003cname\u003e, /people/\u003cname\u003e/\u003cid\u003e and profile.php?id=\u003cid\u003e, on facebook.com or fb.com with or without www, m, mbasic, web, business or a language subdomain. Anything after the page, such as a tab, is fine: only the page is read. Any other Facebook link, such as a single event, group, share link, reel, video, hashtag, search or login page, is refused as invalid input, with no charge; facebook.event_details reads one event.","not":{"pattern":"^(?:[A-Za-z]+://)?[^/?#]*/+(?:(?:events|groups|reels?|videos|watch|stories|hashtag|search|sharer|photo|plugins|legal|login|help|privacy|media|share)(?:[/?#]|$)|(?:[^/?#]{0,6}|[^/?#]{8,}|[^p/?#][^/?#]{6}|p[^r/?#][^/?#]{5}|pr[^o/?#][^/?#]{4}|pro[^f/?#][^/?#]{3}|prof[^i/?#][^/?#]{2}|profi[^l/?#][^/?#]|profil[^e/?#])\\.php(?:[/?#]|$))"},"pattern":"^(?:[Hh][Tt][Tt][Pp][Ss]?://)?(?:(?:[Ww][Ww][Ww]|[Mm]|[Mm][Bb][Aa][Ss][Ii][Cc]|[Ww][Ee][Bb]|[Bb][Uu][Ss][Ii][Nn][Ee][Ss][Ss]|[A-Za-z]{2}-[A-Za-z]{2})\\.)?(?:[Ff][Aa][Cc][Ee][Bb][Oo][Oo][Kk]|[Ff][Bb])\\.[Cc][Oo][Mm]/+[^/?#]","type":"string"}},"required":["url"],"title":"Facebook Page Events input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"events":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"city":{"type":"string"},"creatorName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"dayTimeSentence":{"type":"string"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isCanceled":{"type":"boolean"},"isOnline":{"type":"boolean"},"isPast":{"type":"boolean"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"placeName":{"type":"string"},"startTimestamp":{"type":"integer"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url","dayTimeSentence","startTimestamp","placeName","city","creatorName","isOnline","isPast","isCanceled"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"hasNextPage":{"type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"totalCount":{"type":"integer"}},"required":["nextCursor","hasNextPage","totalCount","events"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook Page Events output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Page Events","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/profile-events"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.profile_posts":{"post":{"description":"List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Profile Posts pricing and uptime](https://getanyapi.com/api/facebook/profile-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_profile_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/nike"},"schema":{"additionalProperties":false,"anyOf":[{"required":["url"]},{"required":["pageId"]}],"example":{"url":"https://www.facebook.com/nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"pageId":{"description":"Facebook page id.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `shares`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["shares"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Facebook page or profile link, e.g. https://www.facebook.com/nike. Accepted: facebook.com/\u003cname\u003e, /p/\u003cname\u003e-\u003cid\u003e, /pages/\u003cname\u003e/\u003cid\u003e, /pg/\u003cname\u003e, /people/\u003cname\u003e/\u003cid\u003e, profile.php?id=\u003cid\u003e, and share links to a page (/share/\u003cid\u003e or /share/p/\u003cid\u003e), on facebook.com or fb.com with or without www, m, mbasic, web, business or a language subdomain. Anything after the page, such as a tab, is fine. Any other Facebook link, such as a single event, group, reel, video, video or reel share link (/share/v/ or /share/r/), hashtag, search, login, about or fb-answers page, is refused as invalid input, with no charge; facebook.event_details reads one event and facebook.post reads one post.","not":{"pattern":"^(?:[A-Za-z]+://)?[^/?#]*/+(?:(?:events|groups|reels?|videos|watch|stories|hashtag|search|sharer|photo|plugins|legal|login|help|privacy|fb-answers|about)(?:[/?#]|$)|share/?(?:[?#]|$)|share/[A-Za-oq-z](?:[/?#]|$)|(?:[^/?#]{0,6}|[^/?#]{8,}|[^p/?#][^/?#]{6}|p[^r/?#][^/?#]{5}|pr[^o/?#][^/?#]{4}|pro[^f/?#][^/?#]{3}|prof[^i/?#][^/?#]{2}|profi[^l/?#][^/?#]|profil[^e/?#])\\.php(?:[/?#]|$))"},"pattern":"^(?:[Hh][Tt][Tt][Pp][Ss]?://)?(?:(?:[Ww][Ww][Ww]|[Mm]|[Mm][Bb][Aa][Ss][Ii][Cc]|[Ww][Ee][Bb]|[Bb][Uu][Ss][Ii][Nn][Ee][Ss][Ss]|[A-Za-z]{2}-[A-Za-z]{2})\\.)?(?:[Ff][Aa][Cc][Ee][Bb][Oo][Oo][Kk]|[Ff][Bb])\\.[Cc][Oo][Mm]/+[^/?#]","type":"string"}},"title":"Facebook profile posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorId":{"description":"Numeric Facebook id of the page or profile that posted, as a string.","type":"string"},"comments":{"description":"Comment count on the post.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Preview image or video thumbnail URL for the post.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"likes":{"description":"Total reaction count on the post.","type":"integer"},"media":{"description":"Photo, video, and GIF attachments on the post. Empty when the post has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"reactions":{"description":"Reaction counts on the post, broken down by reaction type.","properties":{"angry":{"description":"Angry reactions.","type":"integer"},"care":{"description":"Care reactions.","type":"integer"},"haha":{"description":"Haha reactions.","type":"integer"},"like":{"description":"Like reactions.","type":"integer"},"love":{"description":"Love reactions.","type":"integer"},"sad":{"description":"Sad reactions.","type":"integer"},"wow":{"description":"Wow reactions.","type":"integer"}},"type":"object"},"shares":{"description":"Number of times the post was shared. Null when this source does not report it.","type":["integer","null"]},"text":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"facebook.com","x-anyapi-must-populate":true}},"required":["id","text","url","author","createdUtc","reactions"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook profile posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Profile Posts","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/profile-posts"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.profile_reels":{"post":{"description":"List a Facebook page's reels by URL with cursor pagination (caption, view count, permalink, thumbnail).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Profile Reels pricing and uptime](https://getanyapi.com/api/facebook/profile-reels) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_profile_reels","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.facebook.com/nike"},"schema":{"additionalProperties":false,"example":{"url":"https://www.facebook.com/nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `feedbackId` or `authorVerified`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["authorVerified","comments","feedbackId","likes","shares","videoUrl"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Facebook page/profile URL.","type":"string"}},"required":["url"],"title":"Facebook profile reels input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the reels array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"reels":{"description":"The profile's reels. Populated whenever the provider has data for the entity.","items":{"properties":{"authorId":{"description":"Numeric Facebook id of the page or profile that posted the reel, as a string.","type":"string"},"authorImage":{"description":"Profile picture URL of the page or profile that posted the reel.","type":"string"},"authorName":{"description":"Display name of the page or profile that posted the reel.","type":"string"},"authorVerified":{"description":"Whether the posting page or profile carries a Facebook verification badge.","type":"boolean"},"caption":{"description":"Reel caption text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Comment count on the reel. Null when this source does not report it.","type":["integer","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"durationSeconds":{"description":"Length of the reel in seconds.","type":"number"},"feedbackId":{"description":"Facebook feedback id of the reel, used to fetch its comments.","type":"string"},"id":{"description":"Facebook post id of the reel, the same id facebook.post returns for it. This is NOT the id in the reel's /reel/ URL; that one is videoId. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Total reaction count on the reel. Null when this source does not report it.","type":["integer","null"]},"shares":{"description":"Number of times the reel was shared. Null when this source does not report it.","type":["integer","null"]},"thumbnail":{"description":"URL of the reel thumbnail image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the reel. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"videoId":{"description":"Facebook video id of the reel, the id that appears in its /reel/\u003cid\u003e URL.","type":"string"},"videoUrl":{"description":"Playable video file URL of the reel. Null when this source cannot read it.","type":["string","null"]},"views":{"description":"Number of views on the reel.","type":"integer"}},"required":["id","url","caption","views","thumbnail","createdUtc","videoId"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels"],"type":"object"}]},"found":{"description":"True when reels were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook profile reels output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Profile Reels","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/profile-reels"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.search_companies":{"post":{"description":"Search the Meta Ad Library for advertisers by keyword and get matching pages: page ID, category, verification, follower counts, and linked Instagram.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Company Search pricing and uptime](https://getanyapi.com/api/facebook/search-companies) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_search_companies","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"nike"},"schema":{"additionalProperties":false,"example":{"query":"nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search advertiser pages for (e.g. \"nike\").","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Facebook company search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"companies":{"items":{"properties":{"category":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"country":{"type":"string"},"entityType":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"igFollowers":{"description":"Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"igUsername":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"igVerified":{"description":"Whether the page's linked Instagram account is verified.","type":"boolean"},"imageUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"type":"integer"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageAlias":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pageDeleted":{"description":"Whether the Facebook Page has been deleted.","type":"boolean"},"pageId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verification":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["pageId","name","category","imageUrl","likes","verification","country","entityType","igUsername","igFollowers","pageAlias"],"type":"object"},"type":"array"}},"required":["companies"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook company search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Company Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/search-companies"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.search_pages":{"post":{"description":"Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details).\n\n**Price:** billed per result - \\$1.10 per 1,000 requests base + \\$9.90 per 1,000 results, capped at \\$101.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Facebook Page Search pricing and uptime](https://getanyapi.com/api/facebook/search-pages) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_search_pages","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"query":"nike"},"schema":{"additionalProperties":false,"example":{"limit":3,"query":"nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-10, default 10). You are billed per result returned, so a lower limit costs less.","maximum":10,"minimum":1,"type":"integer"},"location":{"description":"Optional free-text location to narrow the search: a city, province, or country (e.g. 'Berlin').","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search Facebook Pages for (e.g. 'coffee roasters').","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Facebook page search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Facebook Page records for the query. Populated whenever the provider has data for the entity.","items":{"properties":{"about":{"description":"The page's intro text.","type":"string"},"adLibraryPageId":{"description":"The page's Facebook Ad Library id, the `pageId` facebook.company_ads takes. It differs from `id`. Absent when Facebook shows none.","type":"string"},"adStatus":{"description":"Facebook Ad Library status sentence for the page, e.g. whether it is currently running ads.","type":"string"},"categories":{"description":"Categories Facebook lists the page under.","items":{"type":"string"},"type":"array"},"category":{"description":"The page's primary category (e.g. \"Sportswear Store\"). Empty when the upstream omits it.","type":"string"},"coverPhotoUrl":{"description":"Cover photo image URL of the page.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the page was created. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"followers":{"description":"The page's follower count.","type":"integer"},"id":{"description":"The page's numeric Facebook ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the page's profile picture, a signed CDN URL whose query must be kept. Empty when the upstream omits it.","type":"string"},"likes":{"description":"The page's like count.","type":"integer"},"owner":{"description":"Confirmed owner of the page, when Facebook publishes one.","type":"string"},"pageAlias":{"description":"The page's vanity URL alias, e.g. \"nikesportswear\".","type":"string"},"phone":{"description":"The page's public phone number. Empty when the upstream omits it.","type":"string"},"title":{"description":"The page's public name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the Facebook Page, with tracking query params stripped. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"website":{"description":"The page's public website URL. Empty when the upstream omits it.","type":"string"}},"required":["id","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether any matching pages were returned for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook page search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Page Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/search-pages"},"x-payment-info":{"price":{"currency":"USD","max":"0.101000","min":"0.001100","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.102000","min":"0.002100","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.101000","min":"0.001100","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/facebook.search_posts":{"post":{"description":"Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement).\n\n**Price:** \\$30.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Facebook Post Search pricing and uptime](https://getanyapi.com/api/facebook/search-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Facebook endpoint](https://getanyapi.com/api/facebook).","operationId":"facebook_search_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"query":"nike"},"schema":{"additionalProperties":false,"example":{"limit":3,"query":"nike"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"endDate":{"description":"Only return posts published on or before this date, format YYYY-MM-DD (e.g. 2024-12-31).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"Optional place name; include both city and country for best matches (e.g. 'Paris, France'). Uses Facebook's place filter, which favors posts tagged at that place rather than every post by people who live there, and can still return some posts from elsewhere.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword or phrase to search Facebook posts for (e.g. 'product launch').","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `imagesCount` or `albumPreview`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["albumPreview","imagesCount","type"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Only return posts published on or after this date, format YYYY-MM-DD (e.g. 2024-01-01).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"}},"required":["query"],"title":"Facebook post search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"albumPreview":{"description":"Preview of the photos attached to the post.","items":{"properties":{"id":{"description":"Numeric Facebook id of the photo, as a string.","type":"string"},"image":{"description":"Image URL of the photo.","type":"string"},"type":{"description":"Kind of attachment, e.g. \"photo\".","type":"string"},"url":{"description":"Canonical Facebook URL of the photo.","type":"string"}},"type":"object"},"type":"array"},"authorId":{"description":"Numeric Facebook id of the page or profile that posted, as a string.","type":"string"},"authorImage":{"description":"Profile picture URL of the page or profile that posted.","type":"string"},"imagesCount":{"description":"Number of images attached to the post. Null when the source does not report it.","type":["integer","null"]},"items":{"description":"Matching public Facebook post records for the query. Populated whenever the provider has data for the entity.","items":{"properties":{"authorName":{"description":"Display name of the post's author. Empty when the upstream omits it.","type":"string"},"authorUrl":{"description":"Canonical profile URL of the post's author, with tracking query params stripped. Empty when the upstream omits it.","type":"string"},"commentCount":{"description":"Total number of comments on the post.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"The post's numeric Facebook ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the post's primary image, a signed CDN URL whose query must be kept. Empty for text-only or video posts.","type":"string"},"reactionCount":{"description":"Total number of reactions on the post.","type":"integer"},"shareCount":{"description":"Total number of shares/reshares of the post.","type":"integer"},"text":{"description":"The post's text/message. Empty for media-only posts with no caption.","type":"string"},"url":{"description":"Canonical URL of the post. A post with no page path keeps the query that identifies it (permalink.php?story_fbid=...\u0026id=...). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"reactions":{"description":"Reaction counts on the post, broken down by reaction type.","properties":{"angry":{"description":"Angry reactions.","type":"integer"},"care":{"description":"Care reactions.","type":"integer"},"haha":{"description":"Haha reactions.","type":"integer"},"like":{"description":"Like reactions.","type":"integer"},"love":{"description":"Love reactions.","type":"integer"},"sad":{"description":"Sad reactions.","type":"integer"},"wow":{"description":"Wow reactions.","type":"integer"}},"type":"object"},"type":{"description":"Kind of record Facebook returned, e.g. \"post\".","type":"string"}},"required":["items"],"type":"object"}]},"found":{"description":"Whether any matching posts were returned for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Facebook post search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Facebook Post Search","tags":["facebook"],"x-mint":{"href":"/api-reference/facebook/search-posts"},"x-payment-info":{"price":{"amount":"0.030000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.031000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.030000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/fiverr.search":{"post":{"description":"Extract Fiverr gig listings from any search or category URL: titles, sellers, ratings, and pricing as structured JSON.\n\n**Price:** billed per result - \\$1.65 per 1,000 results, capped at \\$33.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Fiverr Gig Search pricing and uptime](https://getanyapi.com/api/fiverr/search) - live USD price, lane routing, and measured 30-day uptime. [Every Fiverr endpoint](https://getanyapi.com/api/fiverr).","operationId":"fiverr_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.fiverr.com/search/gigs?query=logo%20design"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://www.fiverr.com/search/gigs?query=logo%20design"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Fiverr search or category page URL to extract gigs from.","type":"string"}},"required":["url"],"title":"Fiverr gig search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Gig records from the search or category URL. Operators may return additional fields beyond those documented here. Populated whenever the provider has data for the entity.","items":{"properties":{"categoryId":{"description":"Fiverr's numeric top-level category id for the gig, as a string.","type":"string"},"duration":{"description":"Delivery time in days.","type":"integer"},"gigId":{"description":"Stable Fiverr gig identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"gigUrl":{"description":"Canonical Fiverr URL for the gig. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Primary gig thumbnail URL.","type":"string"},"price":{"description":"Starting price in USD.","type":"number"},"sellerCountry":{"description":"Seller country code.","type":"string"},"sellerDisplayName":{"description":"Seller display name.","type":"string"},"sellerLevel":{"description":"Fiverr seller level.","type":"string"},"sellerName":{"description":"Seller username.","type":"string"},"sellerRatingCount":{"description":"Number of seller ratings.","type":"integer"},"sellerRatingScore":{"description":"Average seller rating.","type":"number"},"sellerUrl":{"description":"Seller profile URL.","type":"string"},"title":{"description":"Gig headline. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["gigId","title","gigUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Fiverr gig search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Fiverr Gig Search","tags":["fiverr"],"x-mint":{"href":"/api-reference/fiverr/search"},"x-payment-info":{"price":{"currency":"USD","max":"0.033000","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.034000","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.033000","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/g2.reviews":{"post":{"description":"Pull G2 software reviews for any product: star rating, what reviewers like and dislike, problems solved, market segment, and G2's rating rubric as clean JSON.\n\n**Price:** billed per result - \\$0.15 per 1,000 requests base + \\$0.05 per 1,000 results, capped at \\$4.55 per 1,000 requests.\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [G2 Reviews pricing and uptime](https://getanyapi.com/api/g2/reviews) - live USD price, lane routing, and measured 30-day uptime. [Every G2 endpoint](https://getanyapi.com/api/g2).","operationId":"g2_reviews","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"},"schema":{"additionalProperties":false,"example":{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":50,"description":"Maximum number of reviews to return. The minimum is 50 because G2 review sources will not serve a smaller page. You are billed per returned result, so a lower limit costs less.","maximum":100,"minimum":50,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"product":{"description":"G2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug.","maxLength":200,"minLength":2,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `productSlug`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["productSlug"],"type":"string"},"type":"array","uniqueItems":true},"sortBy":{"default":"recent","description":"Sort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering.","enum":["recent","helpful","highest","lowest","default"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["product"],"title":"G2 Reviews input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"G2 reviews for the requested product. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Reviewer's display name. G2 abbreviates most reviewers, for example Michael D. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorCountry":{"description":"Country the reviewer is based in.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"dislikes":{"description":"The reviewer's answer to G2's question about what they dislike. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"helpfulVotes":{"description":"Number of readers who marked the review helpful.","type":"integer"},"id":{"description":"G2 identifier for the review. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"The reviewer's answer to G2's question about what they like best. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"marketSegment":{"description":"G2 market segment of the reviewer's company: Small-Business, Mid-Market, or Enterprise. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"nps":{"description":"Likelihood the reviewer would recommend the product, on a 0 to 10 scale. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"problemsSolved":{"description":"The reviewer's answer to G2's question about what problems the product solves and how that benefits them. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"productId":{"description":"G2's numeric product id, as a string.","type":"string"},"productName":{"description":"Name of the product the review is about. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"productSlug":{"description":"G2 slug of the product the review is about.","type":"string"},"rating":{"description":"Star rating the reviewer gave, on a 0.5 to 5 scale in half-star steps. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"ratings":{"description":"G2's rating rubric, each on a 0 to 10 scale. A reviewer may skip any of them, and the last two are asked far less often.","properties":{"easeOfAdmin":{"description":"Rating for how easy the product is to administer.","type":"integer"},"easeOfDoingBusinessWith":{"description":"Rating for how easy the vendor is to do business with.","type":"integer"},"easeOfSetup":{"description":"Rating for how easy the product is to set up.","type":"integer"},"easeOfUse":{"description":"Rating for how easy the product is to use.","type":"integer"},"meetsRequirements":{"description":"Rating for how well the product meets the reviewer's requirements.","type":"integer"},"qualityOfSupport":{"description":"Rating for the quality of the vendor's support.","type":"integer"}},"type":"object"},"responseType":{"description":"Form the review was submitted in, for example text or video.","type":"string"},"reviewSource":{"description":"How G2 collected the review, for example organic or vendor.","type":"string"},"sourceType":{"description":"How G2 collected the review (e.g. vendor, organic).","type":"string"},"status":{"description":"Moderation status of the review on G2 (e.g. approved).","type":"string"},"switchedFrom":{"description":"Whether the reviewer switched from another product. Null when G2 does not record an answer.","type":["boolean","null"]},"title":{"description":"Headline the reviewer gave the review. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical G2 URL for the review. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","rating"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"G2 Reviews output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"G2 Reviews","tags":["g2"],"x-mint":{"href":"/api-reference/g2/reviews"},"x-payment-info":{"price":{"currency":"USD","max":"0.004550","min":"0.000150","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.005550","min":"0.001150","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.004550","min":"0.000150","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/gemini.search":{"post":{"description":"Ask Gemini a web-grounded question and receive an answer with source citations.\n\n**Price:** \\$2.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Gemini Search pricing and uptime](https://getanyapi.com/api/gemini/search) - live USD price, lane routing, and measured 30-day uptime. [Every Gemini endpoint](https://getanyapi.com/api/gemini).","operationId":"gemini_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"schema":{"additionalProperties":false,"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"Question or research prompt for Gemini to answer using web search.","maxLength":2000,"minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["prompt"],"title":"Gemini Search input","type":"object","x-aliases":{"query":"prompt"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The normalized answer and citations, or null when no answer was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"answer":{"description":"The web-grounded answer as text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"answerMarkdown":{"description":"The answer in Markdown when the engine returns a Markdown rendering, otherwise the same text as answer. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"citations":{"description":"Sources cited by the answer. Populated whenever the provider has data for the entity.","items":{"properties":{"title":{"description":"Source page title when supplied by the search engine.","type":"string"},"url":{"description":"Source page URL.","format":"uri","type":"string"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"prompt":{"description":"The prompt answered by Gemini.","type":"string"}},"required":["prompt","answer","answerMarkdown","citations"],"type":"object"}]},"found":{"description":"Whether Gemini returned a web-grounded answer.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Gemini Search output","type":"object","x-anyapi-empty-fails-over":true,"x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Gemini Search","tags":["gemini"],"x-mint":{"href":"/api-reference/gemini/search"},"x-payment-info":{"price":{"amount":"0.002000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.issue_comments":{"post":{"description":"List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub Issue Comments pricing and uptime](https://getanyapi.com/api/github/issue-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_issue_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://github.com/openai/whisper/pull/1838"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://github.com/openai/whisper/pull/1838"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Rows per page, 1-100 (GitHub's own page-size limit). Each call returns one full page of this size; use nextCursor for the next page.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `authorAssociation` or `body`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["authorAssociation","authorId","authorType","body","updatedUtc"],"type":"string"},"type":"array","uniqueItems":true},"since":{"description":"Only comments updated on or after this date (YYYY-MM-DD).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"URL of a GitHub issue or pull request, e.g. https://github.com/openai/whisper/pull/1838.","pattern":"^(https?://)?(www\\.)?github\\.com/[^/?#]+/[^/?#]+/(?:issues|pull)/(\\d+)","type":"string"}},"required":["url"],"title":"GitHub Issue Comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The page of comments, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Comments in the order they were posted. Review comments on pull request code lines are not included. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"GitHub login of the commenter. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"authorAssociation":{"description":"The commenter's relationship to the repository, as GitHub reports it: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER or NONE.","type":["string","null"]},"authorAvatarUrl":{"description":"Avatar image URL of the commenter.","type":["string","null"]},"authorId":{"description":"GitHub's numeric user id of the commenter, as a string.","type":["string","null"]},"authorType":{"description":"Account type of the commenter: User, Bot or Organization.","type":["string","null"]},"body":{"description":"Comment text in Markdown. One source returns it with HTML tags removed; name body in requireFields for the exact Markdown.","type":["string","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"id":{"description":"GitHub's numeric comment id, as a string.","type":"string"},"reactions":{"description":"Total number of reactions of every kind.","type":["integer","null"]},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"url":{"description":"Canonical GitHub URL of the comment. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","body","author","authorId","authorAvatarUrl","authorType","authorAssociation","reactions","createdUtc","updatedUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of comments, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","comments"],"type":"object"}]},"found":{"description":"Whether the issue or pull request was found and has comments.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Issue Comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Issue Comments","tags":["github"],"x-mint":{"href":"/api-reference/github/issue-comments"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.repository":{"post":{"description":"Fetch a GitHub repository's metadata by URL (stars, forks, language, topics, license, and timestamps).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub Repository pricing and uptime](https://getanyapi.com/api/github/repository) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_repository","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://github.com/facebook/react"},"schema":{"additionalProperties":false,"example":{"url":"https://github.com/facebook/react"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"GitHub repository URL (e.g. https://github.com/facebook/react).","type":"string"}},"required":["url"],"title":"GitHub repository input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The repository record, or null when not found.","oneOf":[{"type":"null"},{"properties":{"archived":{"description":"Whether the repository is archived.","type":"boolean"},"avatarUrl":{"description":"Avatar image URL of the repository owner.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"defaultBranch":{"description":"Name of the default branch. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"description":{"description":"Short repository description, or null if none.","type":["string","null"]},"fork":{"description":"Whether the repository is a fork.","type":"boolean"},"forks":{"description":"Number of forks.","type":"integer"},"fullName":{"description":"Full repository name in owner/name form. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"homepage":{"description":"Project homepage URL, or null if none.","type":["string","null"]},"id":{"description":"GitHub's numeric repository id, as a string.","type":"string"},"language":{"description":"Primary programming language, or null if undetected.","type":["string","null"]},"license":{"description":"License name, or null if unlicensed.","type":["string","null"]},"name":{"description":"Repository short name (without owner). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openIssues":{"description":"Count of open issues and pull requests.","type":"integer"},"owner":{"description":"Login of the repository owner (user or organization). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"private":{"description":"Whether the repository is private.","type":"boolean"},"profileUrl":{"description":"GitHub profile URL of the repository owner.","type":"string"},"pushedAt":{"description":"Last push timestamp (ISO 8601). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"size":{"description":"Repository size in kilobytes as reported by GitHub.","type":"integer"},"stars":{"description":"Number of stargazers.","type":"integer"},"topics":{"description":"Repository topic tags.","items":{"type":"string"},"type":"array"},"updatedAt":{"description":"Last metadata update timestamp (ISO 8601). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the repository. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"watchers":{"description":"Number of watchers.","type":"integer"}},"required":["name","fullName","url"],"type":"object"}]},"found":{"description":"Whether a repository was found for the requested URL.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub repository output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Repository","tags":["github"],"x-mint":{"href":"/api-reference/github/repository"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.repository_contributors":{"post":{"description":"List the people who have committed to a GitHub repository by repository URL, ordered by number of commits, with each contributor's login, profile URL and commit count. Look each one up with github.user for their profile, website and socials.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub Repository Contributors pricing and uptime](https://getanyapi.com/api/github/repository-contributors) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_repository_contributors","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://github.com/openai/whisper"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://github.com/openai/whisper"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.","maximum":100,"minimum":1,"type":"integer"},"page":{"default":1,"description":"1-based page of contributors. Request page + 1 while hasMore is true.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"GitHub repository URL, e.g. https://github.com/openai/whisper.","pattern":"^(https?://)?(www\\.)?github\\.com/[^/?#]+/[^/?#]+","type":"string"}},"required":["url"],"title":"GitHub Repository Contributors input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The page of contributors, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"contributors":{"description":"Contributors with a GitHub account, most commits first. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Avatar image URL.","type":["string","null"]},"contributions":{"description":"Number of commits to the repository's default branch. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"id":{"description":"GitHub's numeric user id, as a string.","type":["string","null"]},"login":{"description":"GitHub login of the contributor. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"siteAdmin":{"description":"Whether the account is a GitHub staff administrator.","type":["boolean","null"]},"type":{"description":"Account type: User, Bot or Organization.","type":["string","null"]},"url":{"description":"GitHub profile URL. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["login","id","type","avatarUrl","url","siteAdmin","contributions"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"hasMore":{"description":"True when another page of contributors exists; request page + 1 to continue.","type":["boolean","null"]}},"required":["hasMore","contributors"],"type":"object"}]},"found":{"description":"Whether the repository was found and has contributors.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Repository Contributors output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Repository Contributors","tags":["github"],"x-mint":{"href":"/api-reference/github/repository-contributors"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.repository_forks":{"post":{"description":"List the forks of a GitHub repository by repository URL, with each fork's owner, description, stars, language and last push. Sort by newest, oldest or most starred.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub Repository Forks pricing and uptime](https://getanyapi.com/api/github/repository-forks) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_repository_forks","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://github.com/openai/whisper"},"schema":{"additionalProperties":false,"example":{"url":"https://github.com/openai/whisper"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.","maximum":100,"minimum":1,"type":"integer"},"page":{"default":1,"description":"1-based page of forks. Request page + 1 while hasMore is true.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sort":{"description":"Order of the forks. Defaults to newest.","enum":["newest","oldest","stargazers","watchers"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"GitHub repository URL, e.g. https://github.com/openai/whisper.","pattern":"^(https?://)?(www\\.)?github\\.com/[^/?#]+/[^/?#]+","type":"string"}},"required":["url"],"title":"GitHub Repository Forks input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The page of forks, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"forks":{"description":"Forks of the repository. Populated whenever the provider has data for the entity.","items":{"properties":{"archived":{"description":"Whether the fork is archived.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the fork was created.","type":["number","null"]},"defaultBranch":{"description":"Name of the default branch.","type":["string","null"]},"description":{"description":"Repository description.","type":["string","null"]},"forks":{"description":"Number of forks of this fork.","type":["integer","null"]},"fullName":{"description":"Fork's full name in owner/name form. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"homepage":{"description":"Project homepage URL, or null if none.","type":["string","null"]},"id":{"description":"GitHub's numeric repository id of the fork, as a string.","type":"string"},"language":{"description":"Primary language GitHub detected.","type":["string","null"]},"name":{"description":"Fork's repository name (without owner). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openIssues":{"description":"Count of open issues and pull requests.","type":["integer","null"]},"owner":{"description":"Login of the fork's owner. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"ownerAvatarUrl":{"description":"Avatar image URL of the owner.","type":["string","null"]},"ownerType":{"description":"Account type of the owner: User or Organization.","type":["string","null"]},"ownerUrl":{"description":"GitHub profile URL of the owner.","type":["string","null"]},"pushedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Last push to any branch; a fork never pushed to keeps its parent's last push.","type":["number","null"]},"size":{"description":"Repository size in kilobytes as reported by GitHub.","type":["integer","null"]},"stars":{"description":"Number of stars.","type":["integer","null"]},"topics":{"description":"Topics set on the fork.","items":{"type":"string"},"type":"array"},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"url":{"description":"Canonical GitHub URL of the fork. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"watchers":{"description":"Number of watchers as GitHub counts them (equal to stars).","type":["integer","null"]}},"required":["id","name","fullName","url","owner","ownerType","ownerAvatarUrl","ownerUrl","description","homepage","language","topics","stars","forks","watchers","openIssues","size","defaultBranch","archived","createdUtc","updatedUtc","pushedUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"hasMore":{"description":"True when another page of forks exists; request page + 1 to continue.","type":["boolean","null"]}},"required":["hasMore","forks"],"type":"object"}]},"found":{"description":"Whether the repository was found and has forks.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Repository Forks output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Repository Forks","tags":["github"],"x-mint":{"href":"/api-reference/github/repository-forks"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.repository_issues":{"post":{"description":"List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub Repository Issues pricing and uptime](https://getanyapi.com/api/github/repository-issues) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_repository_issues","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://github.com/openai/whisper"},"schema":{"additionalProperties":false,"example":{"url":"https://github.com/openai/whisper"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.","maximum":100,"minimum":1,"type":"integer"},"order":{"description":"Sort direction. Defaults to desc.","enum":["desc","asc"],"type":"string"},"page":{"default":1,"description":"1-based page of issues. Request page + 1 while hasMore is true.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"since":{"description":"Only issues updated on or after this date (YYYY-MM-DD).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"sort":{"description":"Sort by creation date, last update, or number of comments. Defaults to created.","enum":["created","updated","comments"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"state":{"description":"Which issues to list. Defaults to open.","enum":["open","closed","all"],"type":"string"},"url":{"description":"GitHub repository URL, e.g. https://github.com/openai/whisper.","pattern":"^(https?://)?(www\\.)?github\\.com/[^/?#]+/[^/?#]+","type":"string"}},"required":["url"],"title":"GitHub Repository Issues input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The page of issues, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"True when another page of issues exists; request page + 1 to continue.","type":["boolean","null"]},"issues":{"description":"Issues and pull requests, newest first unless sorted otherwise. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"GitHub login of the person who opened it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"authorAssociation":{"description":"The author's relationship to the repository, as GitHub reports it: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER or NONE.","type":["string","null"]},"authorAvatarUrl":{"description":"Avatar image URL of the author.","type":["string","null"]},"authorId":{"description":"GitHub's numeric user id of the author, as a string.","type":["string","null"]},"authorType":{"description":"Account type of the author: User, Bot or Organization.","type":["string","null"]},"body":{"description":"Markdown body as written, or null when empty.","type":["string","null"]},"closedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Null while open.","type":["number","null"]},"comments":{"description":"Number of comments.","type":["integer","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"draft":{"description":"Whether a pull request is a draft; null for an issue.","type":["boolean","null"]},"id":{"description":"GitHub's numeric issue id, as a string.","type":"string"},"isPullRequest":{"description":"True for a pull request, false for an issue.","type":"boolean"},"labels":{"description":"Names of the labels applied.","items":{"type":"string"},"type":"array"},"mergedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Set only on a merged pull request.","type":["number","null"]},"number":{"description":"Issue or pull request number within its repository (the #N shown on GitHub).","type":["integer","null"]},"reactions":{"description":"Total number of reactions of every kind.","type":["integer","null"]},"repo":{"description":"Repository the issue belongs to, in owner/name form.","type":["string","null"]},"state":{"description":"open or closed. A merged pull request is closed and has mergedUtc set.","type":["string","null"]},"title":{"description":"Title of the issue or pull request. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"url":{"description":"Canonical GitHub URL of the issue or pull request. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","number","title","state","isPullRequest","url","repo","author","authorId","authorAvatarUrl","authorType","authorAssociation","labels","comments","reactions","body","draft","createdUtc","updatedUtc","closedUtc","mergedUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["hasMore","issues"],"type":"object"}]},"found":{"description":"Whether the repository was found and has issues matching the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Repository Issues output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Repository Issues","tags":["github"],"x-mint":{"href":"/api-reference/github/repository-issues"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.repository_readme":{"post":{"description":"Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub Repository README pricing and uptime](https://getanyapi.com/api/github/repository-readme) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_repository_readme","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://github.com/openai/whisper"},"schema":{"additionalProperties":false,"example":{"url":"https://github.com/openai/whisper"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `content` or `size`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a README that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["content","downloadUrl","name","path","sha","size","url"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"GitHub repository URL, e.g. https://github.com/openai/whisper. The README of the default branch is returned.","pattern":"^(https?://)?(www\\.)?github\\.com/[^/?#]+/[^/?#]+","type":"string"}},"required":["url"],"title":"GitHub Repository README input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The README, or null when the repository or its README does not exist.","oneOf":[{"type":"null"},{"properties":{"content":{"description":"The README text exactly as committed, usually Markdown that may include HTML. One source returns it with HTML tags removed; name content in requireFields for the exact file.","type":"string"},"downloadUrl":{"description":"Raw download URL of the README file.","type":["string","null"]},"name":{"description":"File name of the README, e.g. README.md.","type":["string","null"]},"path":{"description":"Path of the README inside the repository.","type":["string","null"]},"sha":{"description":"Git blob SHA of the README file.","type":["string","null"]},"size":{"description":"Size of the README file in bytes.","type":["integer","null"]},"url":{"description":"GitHub URL of the README file.","type":["string","null"]}},"required":["name","path","size","sha","url","downloadUrl","content"],"type":"object"}]},"found":{"description":"Whether the repository was found and has a README.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Repository README output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Repository README","tags":["github"],"x-mint":{"href":"/api-reference/github/repository-readme"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.search_issues":{"post":{"description":"Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.\n\n**Price:** \\$2.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub Issue and PR Search pricing and uptime](https://getanyapi.com/api/github/search-issues) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_search_issues","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"repo:openai/whisper is:pr"},"schema":{"additionalProperties":false,"example":{"query":"repo:openai/whisper is:pr"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.","maximum":100,"minimum":1,"type":"integer"},"order":{"description":"Sort direction when sort is set. Defaults to desc.","enum":["desc","asc"],"type":"string"},"page":{"default":1,"description":"1-based page of results. Request page + 1 while hasMore is true.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"GitHub issue search query with any of GitHub's qualifiers, e.g. \"repo:openai/whisper is:pr\", \"is:issue label:bug author:octocat\", \"repo:ggml-org/llama.cpp is:pr is:merged created:\u003e2026-01-01\".","minLength":1,"type":"string"},"sort":{"description":"Sort by number of comments, creation date, last update, or reactions. Omit for best match.","enum":["comments","created","updated","reactions"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"GitHub Issue and PR Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The search results, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"True when another page of results exists; request page + 1 to continue.","type":["boolean","null"]},"issues":{"description":"Matching issues and pull requests. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"GitHub login of the person who opened it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"authorAssociation":{"description":"The author's relationship to the repository, as GitHub reports it: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER or NONE.","type":["string","null"]},"authorAvatarUrl":{"description":"Avatar image URL of the author.","type":["string","null"]},"authorId":{"description":"GitHub's numeric user id of the author, as a string.","type":["string","null"]},"authorType":{"description":"Account type of the author: User, Bot or Organization.","type":["string","null"]},"body":{"description":"Markdown body as written, or null when empty.","type":["string","null"]},"closedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Null while open.","type":["number","null"]},"comments":{"description":"Number of comments.","type":["integer","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"draft":{"description":"Whether a pull request is a draft; null for an issue.","type":["boolean","null"]},"id":{"description":"GitHub's numeric issue id, as a string.","type":"string"},"isPullRequest":{"description":"True for a pull request, false for an issue.","type":"boolean"},"labels":{"description":"Names of the labels applied.","items":{"type":"string"},"type":"array"},"mergedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Set only on a merged pull request.","type":["number","null"]},"number":{"description":"Issue or pull request number within its repository (the #N shown on GitHub).","type":["integer","null"]},"reactions":{"description":"Total number of reactions of every kind.","type":["integer","null"]},"repo":{"description":"Repository the issue belongs to, in owner/name form.","type":["string","null"]},"state":{"description":"open or closed. A merged pull request is closed and has mergedUtc set.","type":["string","null"]},"title":{"description":"Title of the issue or pull request. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"url":{"description":"Canonical GitHub URL of the issue or pull request. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","number","title","state","isPullRequest","url","repo","author","authorId","authorAvatarUrl","authorType","authorAssociation","labels","comments","reactions","body","draft","createdUtc","updatedUtc","closedUtc","mergedUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"total":{"description":"Total number of matches GitHub reports. GitHub serves only the first 1,000 of them, so page times limit can be at most 1,000.","type":["integer","null"]}},"required":["total","hasMore","issues"],"type":"object"}]},"found":{"description":"Whether the search returned any issue or pull request.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Issue and PR Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Issue and PR Search","tags":["github"],"x-mint":{"href":"/api-reference/github/search-issues"},"x-payment-info":{"price":{"amount":"0.002400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.trending_developers":{"post":{"description":"List trending GitHub developers (rank, username, name, avatar, and their most popular repository), optionally filtered by programming language and time range.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub Trending Developers pricing and uptime](https://getanyapi.com/api/github/trending-developers) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_trending_developers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"language":"go","since":"weekly"},"schema":{"additionalProperties":false,"example":{"language":"go","since":"weekly"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"language":{"description":"Programming language to filter trending developers (e.g. javascript, python, go).","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"since":{"description":"Trending range: daily, weekly, or monthly (defaults to daily).","enum":["daily","weekly","monthly"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":[],"title":"GitHub Trending Developers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"developers":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"type":"string"},"popularRepo":{"type":"string"},"popularRepoDescription":{"type":"string"},"popularRepoUrl":{"type":"string"},"rank":{"type":"integer"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"username":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["rank","username","name","url","avatarUrl","popularRepo","popularRepoUrl","popularRepoDescription"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"language":{"type":"string"},"since":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["since","language","developers"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub Trending Developers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Trending Developers","tags":["github"],"x-mint":{"href":"/api-reference/github/trending-developers"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.trending_repositories":{"post":{"description":"List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub Trending Repositories pricing and uptime](https://getanyapi.com/api/github/trending-repositories) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_trending_repositories","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"language":"python","since":"daily"},"schema":{"additionalProperties":false,"example":{"language":"python","since":"daily"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"language":{"description":"Filter by programming language (e.g. \"go\", \"typescript\"). Omit for all languages.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"since":{"default":"daily","description":"Trending window.","enum":["daily","weekly","monthly"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"title":"GitHub trending repositories input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"repos":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"description":{"type":"string"},"forks":{"type":"integer"},"fullName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"language":{"type":"string"},"name":{"description":"Repository short name (without owner).","type":"string"},"owner":{"description":"Login of the repository owner (user or organization).","type":"string"},"rank":{"type":"integer"},"stars":{"type":"integer"},"starsToday":{"type":"integer"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["rank","fullName","url","description","language","stars","forks","starsToday"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"since":{"description":"Trending window the listing was read for (daily, weekly, or monthly).","type":"string"}},"required":["repos"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub trending repositories output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub Trending Repositories","tags":["github"],"x-mint":{"href":"/api-reference/github/trending-repositories"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user":{"post":{"description":"Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub User pricing and uptime](https://getanyapi.com/api/github/user) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"torvalds"},"schema":{"additionalProperties":false,"example":{"handle":"torvalds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"GitHub user input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The user profile record, or null when not found.","oneOf":[{"type":"null"},{"description":"GitHub user identity and basic public stats; richer profile fields (company, blog, location, twitterUsername, type, publicGists, createdUtc) are returned when available.","properties":{"avatarUrl":{"description":"URL of the profile avatar image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"bio":{"description":"Profile bio text.","type":"string"},"blog":{"description":"Blog or website URL from the profile.","type":"string"},"company":{"description":"Company listed on the profile.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"followers":{"description":"Number of followers.","type":"integer"},"following":{"description":"Number of accounts the user follows.","type":"integer"},"id":{"description":"GitHub's numeric user id, as a string.","type":"string"},"location":{"description":"Location listed on the profile.","type":"string"},"login":{"description":"GitHub username (handle). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name, or empty string if unset. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"profileUrl":{"description":"Canonical GitHub profile URL.","type":"string"},"publicGists":{"description":"Count of public gists.","type":"integer"},"publicRepos":{"description":"Count of public repositories.","type":"integer"},"twitterUsername":{"description":"Linked X/Twitter username.","type":"string"},"type":{"description":"\"User\" or \"Organization\".","type":"string"}},"required":["login","name","bio","avatarUrl","publicRepos","followers","following"],"type":"object"}]},"found":{"description":"Whether a user was found for the requested handle.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub user output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User","tags":["github"],"x-mint":{"href":"/api-reference/github/user"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_activity":{"post":{"description":"List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub User Activity pricing and uptime](https://getanyapi.com/api/github/user-activity) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_activity","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"kentcdodds"},"schema":{"additionalProperties":false,"example":{"handle":"kentcdodds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response (pages backward by month).","type":"string"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"year":{"description":"Year of contribution activity to return (defaults to the current year).","type":"string"}},"required":["handle"],"title":"GitHub User Activity input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"activity":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"items":{"description":"The individual entries behind this activity summary. Empty when the upstream published no breakdown.","items":{"properties":{"repo":{"description":"Full repository name in owner/name form for this entry.","type":"string"},"text":{"description":"The entry as GitHub renders it, e.g. \"owner/repo 353 commits\".","type":"string"},"url":{"description":"Canonical URL of the repository for this entry.","type":"string"}},"type":"object"},"type":"array"},"summary":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["summary"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"month":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of activity, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"noActivity":{"type":"boolean"},"username":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"year":{"type":"integer"}},"required":["username","year","month","noActivity","nextCursor","activity"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub User Activity output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Activity","tags":["github"],"x-mint":{"href":"/api-reference/github/user-activity"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_contributions":{"post":{"description":"Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity).\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub User Contributions pricing and uptime](https://getanyapi.com/api/github/user-contributions) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_contributions","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"torvalds","year":2024},"schema":{"additionalProperties":false,"example":{"handle":"torvalds","year":2024},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"year":{"description":"Calendar year of the contribution graph. Defaults to the current year.","type":"integer"}},"required":["handle"],"title":"GitHub user contributions input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The contribution graph record, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"days":{"description":"Per-day contribution buckets for the year. Populated whenever the provider has data for the entity.","items":{"properties":{"count":{"description":"Number of contributions on this day.","type":"integer"},"dateUtc":{"description":"UTC epoch seconds at 00:00 UTC of the contribution day. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"intensity":{"description":"Heatmap level 0-4.","type":"integer"}},"required":["dateUtc","count","intensity"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"total":{"description":"Total contributions across the year.","type":"integer"},"username":{"description":"GitHub username the contribution graph belongs to. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"year":{"description":"Calendar year of the contribution graph.","type":"integer"}},"required":["username","year","total","days"],"type":"object"}]},"found":{"description":"Whether contribution data was found for the requested handle.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub user contributions output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Contributions","tags":["github"],"x-mint":{"href":"/api-reference/github/user-contributions"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_followers":{"post":{"description":"List a GitHub user's followers by handle (each follower's login, type, avatar, and profile URL) with pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub User Followers pricing and uptime](https://getanyapi.com/api/github/user-followers) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_followers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"torvalds"},"schema":{"additionalProperties":false,"example":{"handle":"torvalds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response (page number, defaults to 1).","type":"string"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"GitHub User Followers input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"followers":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"type":"integer"},"login":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"siteAdmin":{"type":"boolean"},"type":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","login","type","avatarUrl","url","siteAdmin"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of followers, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","followers"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub User Followers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Followers","tags":["github"],"x-mint":{"href":"/api-reference/github/user-followers"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_following":{"post":{"description":"List the GitHub users a given user follows by handle (each account's login, type, avatar, and profile URL) with pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [GitHub User Following pricing and uptime](https://getanyapi.com/api/github/user-following) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_following","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"kentcdodds"},"schema":{"additionalProperties":false,"example":{"handle":"kentcdodds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response (page number, defaults to 1).","type":"string"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"GitHub User Following input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"following":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"type":"integer"},"login":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"siteAdmin":{"type":"boolean"},"type":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","login","type","avatarUrl","url","siteAdmin"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of followed accounts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","following"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub User Following output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Following","tags":["github"],"x-mint":{"href":"/api-reference/github/user-following"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_pull_requests":{"post":{"description":"List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub User Pull Requests pricing and uptime](https://getanyapi.com/api/github/user-pull-requests) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_pull_requests","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"torvalds"},"schema":{"additionalProperties":false,"example":{"handle":"torvalds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response (page number, defaults to 1).","type":"string"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"since":{"description":"Only include pull requests created on or after this date (YYYY-MM-DD).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"until":{"description":"Only include pull requests created on or before this date (YYYY-MM-DD).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"}},"required":["handle"],"title":"GitHub User Pull Requests input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The pull request listing record, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"description":"Whether more pull requests are available beyond this page.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of pull requests, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"pullRequests":{"description":"The user's public pull requests for this page. Populated whenever the provider has data for the entity.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"repo":{"description":"Repository the pull request targets, in owner/name form. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"state":{"description":"Pull request state (e.g. open, closed, merged). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Pull request title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the pull request. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","repo","state","createdUtc","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","hasMore","pullRequests"],"type":"object"}]},"found":{"description":"Whether pull request data was found for the requested handle.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub User Pull Requests output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Pull Requests","tags":["github"],"x-mint":{"href":"/api-reference/github/user-pull-requests"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/github.user_repositories":{"post":{"description":"List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [GitHub User Repositories pricing and uptime](https://getanyapi.com/api/github/user-repositories) - live USD price, lane routing, and measured 30-day uptime. [Every Github endpoint](https://getanyapi.com/api/github).","operationId":"github_user_repositories","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"torvalds"},"schema":{"additionalProperties":false,"example":{"handle":"torvalds"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.","type":"string"},"direction":{"description":"Sort direction, ascending or descending, paired with sort.","enum":["asc","desc"],"type":"string"},"handle":{"description":"GitHub username.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"sort":{"default":"updated","description":"Repository ordering.","enum":["created","updated","pushed","full_name"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"type":{"description":"Which repositories to include: owner (default), all, or member.","enum":["owner","all","member"],"type":"string"}},"required":["handle"],"title":"GitHub user repositories input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of repositories, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"repos":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"archived":{"type":"boolean"},"avatarUrl":{"description":"URL of the repository owner's avatar image.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"defaultBranch":{"description":"Name of the default branch.","type":"string"},"description":{"type":"string"},"fork":{"type":"boolean"},"forks":{"type":"integer"},"fullName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"homepage":{"description":"Project homepage URL, or empty string if none.","type":"string"},"id":{"description":"GitHub's numeric repository id, as a string.","type":"string"},"language":{"type":"string"},"license":{"description":"License name, or empty string if unlicensed.","type":"string"},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openIssues":{"description":"Count of open issues and pull requests.","type":"integer"},"owner":{"description":"Login of the repository owner (user or organization).","type":"string"},"private":{"description":"Whether the repository is private.","type":"boolean"},"profileUrl":{"description":"GitHub profile URL of the repository owner.","type":"string"},"pushedAt":{"type":"string"},"size":{"description":"Repository size in kilobytes as reported by GitHub.","type":"integer"},"stars":{"type":"integer"},"topics":{"description":"Repository topic tags.","items":{"type":"string"},"type":"array"},"updatedAt":{"type":"string"},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"watchers":{"description":"Number of watchers.","type":"integer"}},"required":["name","fullName","description","url","language","stars","forks","fork","archived","updatedAt","pushedAt"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","hasMore","repos"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"GitHub user repositories output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"GitHub User Repositories","tags":["github"],"x-mint":{"href":"/api-reference/github/user-repositories"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/glassdoor.jobs":{"post":{"description":"Search Glassdoor job listings by keyword and location, or scrape any Glassdoor company or job search page URL - up to 20 normalized job records per request.\n\n**Price:** \\$7.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Glassdoor Jobs pricing and uptime](https://getanyapi.com/api/glassdoor/jobs) - live USD price, lane routing, and measured 30-day uptime. [Every Glassdoor endpoint](https://getanyapi.com/api/glassdoor).","operationId":"glassdoor_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm"},"schema":{"additionalProperties":false,"anyOf":[{"required":["query"]},{"required":["url"]}],"example":{"limit":3,"url":"https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"easyApply":{"description":"When true, only return jobs offering Easy Apply. Keyword mode only.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"City, region, or country to search within (keyword mode; e.g. United States, New York).","type":"string"},"postedLimit":{"description":"Only jobs posted within this window (past 24 hours, week, or month). Keyword mode only.","enum":["24h","week","month"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job title or keywords to search (keyword mode). Provide this or a url.","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `companyIndustry` or `logoUrl`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a job listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["companyIndustry","companyRevenue","companySize","companyType","expired","logoUrl","normalizedTitle","sector"],"type":"string"},"type":"array","uniqueItems":true},"sortBy":{"description":"Sort order: most recent (date) or best match (relevance). Keyword mode only.","enum":["date","relevance"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Alternatively, a Glassdoor company or job search page URL to scrape (e.g. https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm). The filters below apply in keyword (query) mode.","type":"string"},"workplaceType":{"description":"Filter by workplace type (remote, hybrid, or onsite). Keyword mode only.","enum":["remote","hybrid","onsite"],"type":"string"}},"title":"Glassdoor Jobs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Job listing records for the search or company page. Populated whenever the provider has data for the entity.","items":{"description":"A Glassdoor job listing: title, employer, location, salary estimate, rating, and the listing URL.","properties":{"ageInDays":{"description":"Days since the listing was posted.","type":"integer"},"applyUrl":{"description":"Absolute Glassdoor URL that starts the application.","type":"string"},"company":{"description":"Hiring employer name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"companyId":{"description":"Glassdoor's numeric employer id, as a string.","type":"string"},"companyIndustry":{"description":"Primary industry of the hiring employer.","type":["string","null"]},"companyRevenue":{"description":"Employer revenue band as Glassdoor words it.","type":["string","null"]},"companySize":{"description":"Employer headcount band as Glassdoor words it (e.g. \"1001 to 5000 Employees\").","type":["string","null"]},"companyType":{"description":"Employer ownership type (e.g. \"Company - Private\").","type":["string","null"]},"description":{"description":"Full job description (may contain HTML).","type":"string"},"easyApply":{"description":"Whether the listing supports Glassdoor Easy Apply.","type":"boolean"},"expired":{"description":"Whether Glassdoor reports the listing as expired.","type":["boolean","null"]},"id":{"description":"Glassdoor job listing id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isSponsored":{"description":"Whether the listing is a paid placement.","type":"boolean"},"location":{"description":"Job location (city, region).","type":"string"},"logoUrl":{"description":"Employer square logo image URL.","type":["string","null"]},"normalizedTitle":{"description":"Glassdoor's normalized occupation title for the listing.","type":["string","null"]},"rating":{"description":"Employer Glassdoor star rating (0 when not rated).","type":"number"},"salary":{"description":"Estimated salary range for the listing.","properties":{"currency":{"description":"ISO currency code for the salary figures.","type":"string"},"max":{"description":"High end of the estimated salary range.","type":"number"},"median":{"description":"Median of the estimated salary range.","type":"number"},"min":{"description":"Low end of the estimated salary range.","type":"number"},"period":{"description":"Pay period the figures cover (e.g. ANNUAL, HOURLY).","type":"string"}},"type":"object"},"sector":{"description":"Sector of the hiring employer.","type":["string","null"]},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Absolute Glassdoor job listing URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one job listing was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Glassdoor Jobs output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Glassdoor Jobs","tags":["glassdoor"],"x-mint":{"href":"/api-reference/glassdoor/jobs"},"x-payment-info":{"price":{"amount":"0.007000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.008000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.007000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.ai_mode":{"post":{"description":"Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.\n\n**Price:** \\$2.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google AI Mode pricing and uptime](https://getanyapi.com/api/google/ai-mode) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_ai_mode","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"schema":{"additionalProperties":false,"example":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"The question or prompt to answer with Google AI Mode.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["prompt"],"title":"Google AI Mode input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The normalized answer, or null when no answer was found. Google composes the answer at search time rather than serving a stored one, so the same prompt can return different wording and a different set of citations on each call. Treat a response as one observation of the answer, not as a stable document.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"answer":{"description":"The answer as plain text, as Google generated it for this search. Length and coverage vary between searches on the same prompt. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"answerMarkdown":{"description":"The answer in Markdown when Google returns a Markdown rendering, otherwise the same text as answer. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"citations":{"description":"The sources Google cited for this search, in the order it returned them. Google recomputes the set per search, so counts and membership vary between calls on the same prompt.","items":{"properties":{"title":{"description":"The cited source title.","type":"string"},"url":{"description":"The cited source URL.","type":"string"}},"required":["title","url"],"type":"object"},"type":"array"},"prompt":{"description":"The prompt answered by the upstream search experience. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["prompt","answer","answerMarkdown","citations"],"type":"object"}]},"found":{"description":"Whether Google AI Mode returned an answer.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google AI Mode output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google AI Mode","tags":["google"],"x-mint":{"href":"/api-reference/google/ai-mode"},"x-payment-info":{"price":{"amount":"0.002000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.ai_overview":{"post":{"description":"Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.\n\n**Price:** \\$4.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google AI Overview pricing and uptime](https://getanyapi.com/api/google/ai-overview) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_ai_overview","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"How does photosynthesis work?"},"schema":{"additionalProperties":false,"example":{"prompt":"How does photosynthesis work?"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"The question or prompt to answer with a Google AI Overview.","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `scrapedAt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["scrapedAt"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["prompt"],"title":"Google AI Overview input","type":"object","x-aliases":{"query":"prompt"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The AI Overview Google generated for this scrape, or null when Google returned no overview. Google regenerates the overview on each search, so two calls with the same prompt can return different wording and a different set of sources. Treat a response as a timestamped observation of what Google served, not as a stable record.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"answer":{"description":"The AI Overview answer as plain text, as generated for this scrape. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"answerMarkdown":{"description":"The same answer in Markdown, preserving the headings and lists Google rendered. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"citations":{"description":"Every source Google listed with a usable URL for this overview, in Google's own order. References without a URL are omitted. This is the full list behind the overview, not only the few sources Google renders inline before the list is expanded, so it is routinely longer than what a reader sees at a glance.","items":{"properties":{"index":{"description":"Google's position for this source within the overview, starting at 1.","type":"integer"},"title":{"description":"The cited source title as Google presented it, which may carry a trailing date and snippet.","type":"string"},"url":{"description":"The cited source URL. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.","type":"string"}},"required":["title","url"],"type":"object"},"type":"array"},"language":{"description":"Two-letter language code the overview was generated in.","type":"string"},"prompt":{"description":"The prompt Google answered. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"scrapedAt":{"description":"When this overview was captured, ISO 8601 UTC. Because Google regenerates the overview per search, this identifies which generation the other fields describe.","type":"string"}},"required":["prompt","answer","answerMarkdown","citations"],"type":"object"}]},"found":{"description":"Whether Google Search returned an AI Overview for this prompt.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google AI Overview output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google AI Overview","tags":["google"],"x-mint":{"href":"/api-reference/google/ai-overview"},"x-payment-info":{"price":{"amount":"0.004800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.005800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.004800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.ai_overview_preview":{"post":{"description":"Ask Google Search a prompt and receive the AI Overview as a searcher first sees it, before selecting Show more: the opening text and the sources linked inside it. When Google shows the whole overview without a Show more button, that is what you receive. For the complete expanded overview with every source Google listed, use google.ai_overview.\n\n**Price:** \\$0.70 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google AI Overview Preview pricing and uptime](https://getanyapi.com/api/google/ai-overview-preview) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_ai_overview_preview","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"prompt":"How does photosynthesis work?"},"schema":{"additionalProperties":false,"example":{"prompt":"How does photosynthesis work?"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"prompt":{"description":"The question or prompt to search Google for.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["prompt"],"title":"Google AI Overview Preview input","type":"object","x-aliases":{"query":"prompt"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The part of the AI Overview Google showed before Show more for this search, or null when Google showed no overview. Google regenerates the overview on each search, so two calls with the same prompt can return different wording and different sources.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"answer":{"description":"The overview text visible before Show more, as plain text. Google cuts the preview where the fold falls, so it often ends mid-sentence. When Google shows the whole overview with no Show more button, this is the whole overview. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"citations":{"description":"The sources linked in the visible part of the overview, in page order. This is only what shows before Show more, so it is usually shorter than the full source list google.ai_overview returns. Populated whenever the provider has data for the entity.","items":{"properties":{"index":{"description":"The link's position in the visible overview, starting at 1.","type":"integer"},"title":{"description":"The link text or source name Google showed. Empty when Google showed the link without text.","type":"string"},"url":{"description":"The linked source URL.","type":"string"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"prompt":{"description":"The prompt Google answered. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["prompt","answer","citations"],"type":"object"}]},"found":{"description":"Whether Google Search showed an AI Overview for this prompt.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google AI Overview Preview output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google AI Overview Preview","tags":["google"],"x-mint":{"href":"/api-reference/google/ai-overview-preview"},"x-payment-info":{"price":{"amount":"0.000700","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001700","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000700","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.autocomplete":{"post":{"description":"Get Google search autocomplete suggestions for a partial query (keyword ideas).\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Autocomplete pricing and uptime](https://getanyapi.com/api/google/autocomplete) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_autocomplete","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"best coff"},"schema":{"additionalProperties":false,"example":{"query":"best coff"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code for the suggestions (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The partial Google search query.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Autocomplete input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"query":{"description":"The partial query that was searched.","type":"string"},"suggestions":{"description":"Autocomplete suggestion records. Populated whenever the provider has data for the entity.","items":{"properties":{"value":{"description":"Suggested query text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["value"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["query","suggestions"],"type":"object"}]},"found":{"description":"True when at least one autocomplete suggestion was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Autocomplete output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Autocomplete","tags":["google"],"x-mint":{"href":"/api-reference/google/autocomplete"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.images":{"post":{"description":"Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Images pricing and uptime](https://getanyapi.com/api/google/images) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_images","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","limit":5,"query":"golden retriever"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","limit":5,"query":"golden retriever"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"autocorrect":{"description":"Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction.","type":"boolean"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests.","maximum":100,"minimum":1,"type":"integer"},"location":{"description":"Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Image search query (e.g. golden gate bridge at sunset).","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"description":"Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).","enum":["1h","1d","7d","1y","all"],"type":"string"}},"required":["query"],"title":"Google Images input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Image result records: image URL, dimensions, title, and the source page it appears on. Populated whenever the provider has data for the entity.","items":{"properties":{"height":{"description":"Full image height in pixels.","type":"integer"},"position":{"description":"One-based position of this image in Google's result order.","type":"integer"},"source":{"description":"Host domain of the page the image appears on. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"sourceUrl":{"description":"URL of the page the image appears on. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"thumbnailUrl":{"description":"URL to a thumbnail of the image.","type":"string"},"title":{"description":"Image result title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Direct URL to the full-size image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"width":{"description":"Full image width in pixels.","type":"integer"}},"required":["url","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one image result was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Images output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Images","tags":["google"],"x-mint":{"href":"/api-reference/google/images"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.job":{"post":{"description":"Fetch one Google Jobs listing by the listingToken that google.jobs returns: title, company, location, the site it was found on, the full description, apply links on every board that carries it, the posting details Google shows (posted, pay, job type, benefits), and the employer's ratings on review sites such as Glassdoor and Indeed when Google shows them.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Job pricing and uptime](https://getanyapi.com/api/google/job) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_job","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"listingToken":"gcb1.eyJ2IjoxLCJvcCI6Imdvb2dsZV9qb2JzX2xpc3RpbmciLCJzY29wZSI6InctN2lTM2lzV09LSUhqZTMwaVR5NkEiLCJxIjoicmVnaXN0ZXJlZCBudXJzZSIsImZjIjoiRXN3QkNvd0JRVXBwVkRSMFRGVnBlamxoVFdaQ2FVZHpiMWh4Y0cxVE1TMDBlV2c1UWxWSFZpMWpjelpYVmtOaFpUSjBXbmRQT0ZCQ01VWXlURFl5TWs0NFgyOVFTM1pEVjFSaU5VRkZhR1JzYTBGTU1IUnRPR0Z2V1ZaemFGUk5XRlJRVTFSU2JETkZSaTFOVUV4eVkwcDJTbGd0YkZWUlZXTktjMHhMYjBWdWFHWjFPRFpZUldoUFFtVnlaRk5tYlhVU0YzbHNYMU5oZEdvM1FYRmhjbWt0WjFBME9UTlJMVkZ6R2lKQlJITnlPV1pVV2pGS05XbENSMnRyUTJkelNqbGhkelpIVnkxT1RscE1NbU5CIiwiZWkiOiJ5bF9TYXRqN0FxYXJpLWdQNDkzUS1RcyIsImlkIjoiMFRHZ0p6WW1XT0drWFZCR0FBQUFBQT09IiwidmVkIjoiMmFoVUtFd2pZaUlQeGlMLVhBeFdtMVFJSEhlTXVOTDhRcDR3Q2VnUUlKUkFCIn0"},"schema":{"additionalProperties":false,"example":{"listingToken":"gcb1.eyJ2IjoxLCJvcCI6Imdvb2dsZV9qb2JzX2xpc3RpbmciLCJzY29wZSI6InctN2lTM2lzV09LSUhqZTMwaVR5NkEiLCJxIjoicmVnaXN0ZXJlZCBudXJzZSIsImZjIjoiRXN3QkNvd0JRVXBwVkRSMFRGVnBlamxoVFdaQ2FVZHpiMWh4Y0cxVE1TMDBlV2c1UWxWSFZpMWpjelpYVmtOaFpUSjBXbmRQT0ZCQ01VWXlURFl5TWs0NFgyOVFTM1pEVjFSaU5VRkZhR1JzYTBGTU1IUnRPR0Z2V1ZaemFGUk5XRlJRVTFSU2JETkZSaTFOVUV4eVkwcDJTbGd0YkZWUlZXTktjMHhMYjBWdWFHWjFPRFpZUldoUFFtVnlaRk5tYlhVU0YzbHNYMU5oZEdvM1FYRmhjbWt0WjFBME9UTlJMVkZ6R2lKQlJITnlPV1pVV2pGS05XbENSMnRyUTJkelNqbGhkelpIVnkxT1RscE1NbU5CIiwiZWkiOiJ5bF9TYXRqN0FxYXJpLWdQNDkzUS1RcyIsImlkIjoiMFRHZ0p6WW1XT0drWFZCR0FBQUFBQT09IiwidmVkIjoiMmFoVUtFd2pZaUlQeGlMLVhBeFdtMVFJSEhlTXVOTDhRcDR3Q2VnUUlKUkFCIn0"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"listingToken":{"description":"The listingToken of one listing in a google.jobs response.","maxLength":16384,"minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["listingToken"],"title":"Google Job input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The job listing, or null when not found.","oneOf":[{"type":"null"},{"description":"One Google Jobs listing with apply links and employer ratings.","properties":{"applyOptions":{"description":"Where the job can be applied for. Populated whenever the provider has data for the entity.","items":{"properties":{"title":{"description":"Label, e.g. Apply on LinkedIn.","type":"string"},"url":{"description":"Apply link with Google's tracking parameters removed. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"companyName":{"description":"Hiring company. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"companyRatings":{"description":"The employer's ratings on review sites, as Google shows them; empty when Google shows none.","items":{"properties":{"rating":{"description":"Employer star rating on that site.","type":["number","null"]},"reviews":{"description":"Number of reviews on that site. Rounded when Google shows an abbreviated count: 8.9K becomes 8900.","type":["integer","null"]},"source":{"description":"Review site, e.g. Glassdoor or Indeed.","type":"string"},"url":{"description":"The employer's page on that site, with Google's tracking parameters removed. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.","type":"string"}},"type":"object"},"type":"array"},"description":{"description":"The whole job description Google holds, as plain text. A few postings reach Google already shortened by the job board and end in [...]. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"extensions":{"description":"The posting details Google shows, in its order and wording, e.g. [\"7 days ago\", \"Full-time\", \"Health insurance\"]: when it was posted, pay, job type and benefits, each only when Google shows it.","items":{"type":"string"},"type":"array"},"jobId":{"description":"Google's id for the listing.","type":"string"},"location":{"description":"Job location as Google shows it, e.g. Chicago, IL.","type":"string"},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"via":{"description":"The site Google found the listing on, e.g. LinkedIn or Indeed.","type":"string"}},"required":["title"],"type":"object"}]},"found":{"description":"Whether the listing was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Job output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Job","tags":["google"],"x-mint":{"href":"/api-reference/google/job"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.jobs":{"post":{"description":"Search Google Jobs, the job listings Google gathers from LinkedIn, Indeed, ZipRecruiter, company career sites and other boards, and get about 10 listings per call: title, company, location, the site it was found on, the full description, apply links on every board that carries it, and the posting details Google shows (posted, pay, job type, benefits). Each listing carries a listingToken you can pass to google.job for employer ratings. Send nextCursor back as cursor to walk further pages.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Jobs pricing and uptime](https://getanyapi.com/api/google/jobs) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","location":"Chicago, IL","query":"registered nurse"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","location":"Chicago, IL","query":"registered nurse"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Opaque cursor from a previous response's nextCursor. Send it with the same query, location, gl and hl to get the next page of about 10 listings; it expires about an hour after it was issued, after which you start again from page 1.","minLength":1,"type":"string"},"gl":{"default":"us","description":"Two-letter country code to search in (e.g. us, gb, de).","pattern":"^[A-Za-z]{2}$","type":"string"},"hl":{"default":"en","description":"Language code for the listings and their details (e.g. en, de, es).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"location":{"description":"City, region or country to search around, e.g. Chicago, IL or London. Google may include nearby places.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job title or keywords to search, e.g. registered nurse. A place written into the query (\"barista in Austin, TX\") also localizes the search.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Jobs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Job listings in Google's order. Populated whenever the provider has data for the entity.","items":{"description":"One Google Jobs listing.","properties":{"applyOptions":{"description":"Where the job can be applied for. Populated whenever the provider has data for the entity.","items":{"properties":{"title":{"description":"Label, e.g. Apply on LinkedIn.","type":"string"},"url":{"description":"Apply link with Google's tracking parameters removed. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"companyName":{"description":"Hiring company. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"description":{"description":"Job description as plain text. Usually the full text, but for some listings (seen on German searches) Google shows only an excerpt of about 400 characters that can stop mid-word; google.job with this listing's listingToken returns the whole description Google holds. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"extensions":{"description":"The posting details Google shows, in its order and wording, e.g. [\"2 days ago\", \"36.50-58.40 an hour\", \"Full-time\", \"Health insurance\"]: when it was posted, pay, job type and benefits, each only when Google shows it. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"jobId":{"description":"Google's id for the listing. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"listingToken":{"description":"Token for this listing; pass it to google.job as listingToken for the listing with employer ratings. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"location":{"description":"Job location as Google shows it, e.g. Chicago, IL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"1-based rank of the listing across pages (page 2 starts at 11).","type":["integer","null"]},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"via":{"description":"The site Google found the listing on, e.g. LinkedIn or Indeed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of listings, or null when there are no more. Pass it back as cursor with the same query, location, gl and hl.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one job listing was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Jobs output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Jobs","tags":["google"],"x-mint":{"href":"/api-reference/google/jobs"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.lens":{"post":{"description":"Reverse image search: find web pages and visual matches for an image URL.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Lens pricing and uptime](https://getanyapi.com/api/google/lens) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_lens","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://i.imgur.com/HBrB8p0.png"},"schema":{"additionalProperties":false,"example":{"url":"https://i.imgur.com/HBrB8p0.png"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Public URL of the image to search with.","format":"uri","type":"string"}},"required":["url"],"title":"Google Lens input","type":"object","x-anyapi-any-host":true}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"results":{"description":"Visual match result records. Populated whenever the provider has data for the entity.","items":{"properties":{"image":{"description":"Matched image URL.","format":"uri","type":"string"},"link":{"description":"URL to the matching web page. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"source":{"description":"Source site name.","type":"string"},"thumbnailUrl":{"description":"Thumbnail image URL for the match.","format":"uri","type":"string"},"title":{"description":"Title of the matching web page. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","link"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"url":{"description":"The input image URL that was searched.","type":"string"}},"required":["url","results"],"type":"object"}]},"found":{"description":"True when at least one visual match was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Lens output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Lens","tags":["google"],"x-mint":{"href":"/api-reference/google/lens"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.local_services":{"post":{"description":"Find the businesses Google lists in Local Services ads for a service in a US city (plumbers, electricians, cleaners...): up to 20 per request, each with phone, star rating, review count, category, service area and Google profile link.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Local Services pricing and uptime](https://getanyapi.com/api/google/local-services) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_local_services","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":5,"location":"Denver, CO","query":"plumber"},"schema":{"additionalProperties":false,"example":{"limit":5,"location":"Denver, CO","query":"plumber"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of businesses to return (1-20, default 20). Google lists at most 20 businesses for one service in one city, so there are no further pages.","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"The US city to search, with its state (e.g. Denver, CO or Austin, TX).","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The service to find businesses for, in everyday words (e.g. plumber, electrician, house cleaning, roofer).","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `yearsInBusiness` or `hours`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be null on a business that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["highlights","hours","image","isOpenNow","responseTime","yearsInBusiness"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query","location"],"title":"Google Local Services input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Businesses Google lists in Local Services ads for the service and location, in Google's order. Populated whenever the provider has data for the entity.","items":{"properties":{"bid":{"description":"Google Local Services business id (bid). Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"category":{"description":"Google's service category for the business (e.g. Plumbers, Electricians). Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"cid":{"description":"Google customer id (cid) of the business. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"highlights":{"description":"Selling points the business lists, such as Flat rate pricing or Free in-home estimate. Null when this source does not report them.","items":{"type":"string"},"type":["array","null"]},"hours":{"description":"Opening status as Google shows it at request time (e.g. Open 24 hours). Null when this source does not report it.","type":["string","null"]},"image":{"description":"Business logo or photo URL. Null when the business has none or this source does not report it.","format":"uri","type":["string","null"]},"isOpenNow":{"description":"Whether the business was open when the request ran, as Google shows it. Null when this source does not report it.","type":["boolean","null"]},"name":{"description":"Business name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"phone":{"description":"Business phone number in E.164 format (e.g. +17205550123). Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"pid":{"description":"Google Local Services provider id (pid). Null when Google assigns none, which is common.","type":["string","null"]},"position":{"description":"1-based position of the business in Google's list. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"profileUrl":{"description":"The business's Google Local Services profile page. Populated whenever the provider has data for the entity.","format":"uri","type":["string","null"],"x-anyapi-must-populate":true},"rating":{"description":"Average Google star rating out of 5. Null for a business with no reviews yet. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"responseTime":{"description":"How quickly the business usually replies, as Google shows it (e.g. Typically replies in 15 min). Null when Google shows none or this source does not report it.","type":["string","null"]},"reviewCount":{"description":"Number of Google reviews behind the rating. Null for a business with no reviews yet. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"serviceArea":{"description":"The area Google says the business serves (e.g. Denver). Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"yearsInBusiness":{"description":"Years in business as Google shows it (\"8+ years in business\" reads 8). Null when Google shows none or this source does not report it.","type":["integer","null"]}},"required":["name"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when Google listed at least one business for the service and location.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Local Services output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Local Services","tags":["google"],"x-mint":{"href":"/api-reference/google/local-services"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.news":{"post":{"description":"Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.\n\n**Price:** \\$0.99 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google News pricing and uptime](https://getanyapi.com/api/google/news) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_news","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","query":"openai"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","query":"openai"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Requested article count (1-20, default 20). Google News returns its latest matching articles and may return more or fewer than requested. Price is flat per request.","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"News search query; supports operators like '-', 'OR', and 'site:' (e.g. bitcoin site:cnn.com).","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"description":"How far back to search, written as a count plus a unit: h hours, d days, w weeks, m months, y years. So 2h is the last two hours, 30d the last thirty days, 6m the last six months. Omit this field, or send 'all', to search without a time limit.","pattern":"^(all|[1-9][0-9]*[hdwmy])$","type":"string"}},"required":["query"],"title":"Google News input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Article records: headline, source name, article link, and publish time. Populated whenever the provider has data for the entity.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Some sources only show a relative age such as \"4 days ago\", so the value is estimated from it and can be off by up to the label's unit (a day, a week, a month). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"image":{"description":"Thumbnail image URL for the article. The query string carries the image identity, so it is kept.","type":"string"},"snippet":{"description":"Article snippet when available.","type":"string"},"source":{"description":"Publisher name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Article headline. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Article link. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one article.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google News output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google News","tags":["google"],"x-mint":{"href":"/api-reference/google/news"},"x-payment-info":{"price":{"amount":"0.000990","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001990","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000990","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.patents":{"post":{"description":"Search Google Patents with title, patent number, inventor, assignee, key dates, and PDF link.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Patents pricing and uptime](https://getanyapi.com/api/google/patents) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_patents","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"wireless charging"},"schema":{"additionalProperties":false,"example":{"query":"wireless charging"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Google Patents search query.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Patents input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"query":{"description":"The query that was searched.","type":"string"},"results":{"description":"Patent result records.","items":{"properties":{"assignee":{"description":"Patent assignee.","type":"string"},"filedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"grantedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"image":{"description":"First patent figure thumbnail image URL.","format":"uri","type":"string"},"inventor":{"description":"Named inventor or inventors.","type":"string"},"language":{"description":"Two-letter language code of the patent document.","type":"string"},"link":{"description":"URL to the patent. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"pdfUrl":{"description":"URL to an available patent PDF.","format":"uri","type":"string"},"priorityUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"publicationNumber":{"description":"Patent publication number (e.g. US11303135B2). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"publishedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"snippet":{"description":"Short patent description snippet.","type":"string"},"title":{"description":"Patent title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","link","publicationNumber"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"}]},"found":{"description":"True when at least one patent result was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Patents output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Patents","tags":["google"],"x-mint":{"href":"/api-reference/google/patents"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.resolve_links":{"post":{"description":"Turn Google redirect links (google.com/goto?url=...) into the destination URLs they point to. Google search, video, jobs and AI Overview results carry such a link in place of the destination when Google withholds it. Send up to 100 links in one call and get each one back in the order sent, with its destination, or resolved false when Google would not reveal it. One price per call whatever the number of links; a call usually answers in under 30 seconds and can take about a minute.\n\n**Price:** \\$0.09 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Resolve Links pricing and uptime](https://getanyapi.com/api/google/resolve-links) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_resolve_links","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"urls":["https://www.google.com/goto?url=CAESXAHEIkXX-k1JDF6Qm-ZU80RgctK1e1kdU0lHAgJ3GmEYXJNuaDgsSFU8mZVr16FAhiZU72RhtPVNfgRmzgSrpkhv_3XB4FyHiTxWRGeAJxe08-tV3aHUReJ4kC6m","https://www.google.com/goto?url=CAESWwHEIkXXUR3b8PmwqSp-vpUo7COcGYqs-lcvqN4jG_We2j1tLsoCdGeHmqS3QgYaD-ZgCuRLp_DiuWLobg_oiXpEk7o6rEZVKMB7sLza0I6uWpYgj3_rJwO5POs"]},"schema":{"additionalProperties":false,"example":{"urls":["https://www.google.com/goto?url=CAESXAHEIkXX-k1JDF6Qm-ZU80RgctK1e1kdU0lHAgJ3GmEYXJNuaDgsSFU8mZVr16FAhiZU72RhtPVNfgRmzgSrpkhv_3XB4FyHiTxWRGeAJxe08-tV3aHUReJ4kC6m","https://www.google.com/goto?url=CAESWwHEIkXXUR3b8PmwqSp-vpUo7COcGYqs-lcvqN4jG_We2j1tLsoCdGeHmqS3QgYaD-ZgCuRLp_DiuWLobg_oiXpEk7o6rEZVKMB7sLza0I6uWpYgj3_rJwO5POs"]},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"urls":{"description":"Google redirect links to resolve, as Google search, video, jobs or AI Overview results return them: https://www.google.com/goto?url=... or https://google.com/goto?url=....","items":{"description":"One Google redirect link.","pattern":"^https://(www\\.)?google\\.com/goto\\?url=","type":"string"},"maxItems":100,"minItems":1,"type":"array"}},"required":["urls"],"title":"Google resolve links input","type":"object","x-anyapi-input-normalizers":{"urls":"google_goto_www"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"results":{"description":"One entry per link sent, in the order sent. A call in which no link resolves fails instead of returning entries. Populated whenever the provider has data for the entity.","items":{"properties":{"gotoUrl":{"description":"The Google redirect link as sent. A link sent as https://google.com/goto?url=... may come back as https://www.google.com/goto?url=..., the same link. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"resolved":{"description":"Whether the destination was found. When false, url is null.","type":"boolean"},"url":{"description":"The destination URL the link points to, or null when Google did not reveal it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["gotoUrl","url","resolved"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["results"],"type":"object"}]},"found":{"description":"Whether the links were read.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google resolve links output","type":"object","x-anyapi-empty-fails-over":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Resolve Links","tags":["google"],"x-mint":{"href":"/api-reference/google/resolve-links"},"x-payment-info":{"price":{"amount":"0.000090","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001090","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000090","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.scholar":{"post":{"description":"Search Google Scholar for academic papers with title, authors, citation count, and PDF link.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Scholar pricing and uptime](https://getanyapi.com/api/google/scholar) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_scholar","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"attention is all you need"},"schema":{"additionalProperties":false,"example":{"query":"attention is all you need"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Google Scholar search query.","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `year`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["year"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Scholar input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"query":{"description":"The query that was searched.","type":"string"},"results":{"description":"Academic paper result records.","items":{"properties":{"citedBy":{"description":"Number of citations reported by Google Scholar.","type":"integer"},"id":{"description":"Result identifier.","type":"string"},"link":{"description":"URL to the paper. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"pdfUrl":{"description":"URL to an available PDF.","format":"uri","type":"string"},"publicationInfo":{"description":"Authors, venue, and publication year.","type":"string"},"snippet":{"description":"Short paper description snippet.","type":"string"},"title":{"description":"Paper title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"year":{"description":"Publication year.","type":"integer"}},"required":["title","link"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"}]},"found":{"description":"True when at least one scholar result was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Scholar output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Scholar","tags":["google"],"x-mint":{"href":"/api-reference/google/scholar"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.search":{"post":{"description":"Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.\n\n**Price:** \\$0.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Search pricing and uptime](https://getanyapi.com/api/google/search) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","limit":10,"query":"best coffee maker"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","limit":10,"query":"best coffee maker"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"autocorrect":{"description":"Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction.","type":"boolean"},"cursor":{"deprecated":true,"description":"Deprecated: send page instead. A continuation token from an earlier response's nextCursor is still accepted and still continues on the source that issued it; page is ignored when cursor is sent alongside it.","minLength":1,"type":"string"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Page size to ask for. Google returns about 10 organic results per page and stopped honoring larger counts in September 2025, so a limit above 10 still returns about 10. Some sources return their whole page of about 10 whatever limit says: a page is never trimmed after the call, so nextCursor always continues exactly where this response ended. To go deeper, send page (about 10 results per page, each billed as a request) or use google.search_100, which returns up to 100 ranked results in a single call for one flat charge and is cheaper past roughly 20 results. Price is flat per request.","maximum":100,"minimum":1,"type":"integer"},"location":{"description":"Fine-grained location to localize results to, more specific than the country-level gl. Send it as an Active Canonical Name from Google's geo-target list: place, then each parent region, then country, with no space after each comma, e.g. 'New York,New York,United States', 'Austin,Texas,United States', 'London,England,United Kingdom'. Common variations are translated to that name when they point to exactly one place: spaces after commas, missing accents, a US state abbreviation ('Orlando, FL, United States'), or a skipped region ('Sydney, Australia'). A value that names no place, or more than one, is rejected rather than quietly searched from somewhere else.","type":"string"},"page":{"default":1,"description":"Which page of about 10 organic results to return, starting at 1. Send page 2, 3, ... to walk deeper; each page is billed as one request and any source can serve any page. Replaces cursor.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Google search query.","type":"string"},"requireCursor":{"deprecated":true,"description":"Deprecated. Every source for this search returns a nextCursor, so this changes nothing about the price or which source serves you; it stays accepted so callers that already send it keep working.","type":"boolean"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"description":"Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).","enum":["1h","1d","7d","1y","all"],"type":"string"}},"required":["query"],"title":"Google search input","type":"object","x-aliases":{"num":"limit","q":"query"},"x-anyapi-input-normalizers":{"location":"google_geo_target"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of results, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"query":{"type":"string"},"results":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"link":{"description":"The result's destination URL. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"type":"integer"},"snippet":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","link","snippet","position"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["query","results"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Search","tags":["google"],"x-mint":{"href":"/api-reference/google/search"},"x-payment-info":{"price":{"amount":"0.000500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.search_100":{"post":{"description":"Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.\n\n**Price:** \\$24.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Search Top 100 pricing and uptime](https://getanyapi.com/api/google/search-100) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_search_100","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","query":"best crm software"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","query":"best crm software"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"autocorrect":{"description":"Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction.","type":"boolean"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The Google search query.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"description":"Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).","enum":["1h","1d","7d","1y","all"],"type":"string"}},"required":["query"],"title":"Google search top 100 input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"aiOverview":{"description":"Google's AI Overview text for this query, when Google showed one. Absent when it did not.","type":"string"},"query":{"description":"The search query these results answer.","type":"string"},"results":{"description":"Organic results in Google's own order, position 1 first. Populated whenever the provider has data for the entity.","items":{"properties":{"link":{"description":"The destination URL. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"Absolute rank across the whole result set, counting from 1 - not restarted per page. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"snippet":{"description":"Google's summary text for the result.","type":"string"},"title":{"description":"The result's headline as Google renders it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","link","snippet","position"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["query","results"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google search top 100 output","type":"object","x-anyapi-empty-fails-over":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Search Top 100","tags":["google"],"x-mint":{"href":"/api-reference/google/search-100"},"x-payment-info":{"price":{"amount":"0.024000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.025000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.024000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.trends":{"post":{"description":"Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.\n\n**Price:** \\$2.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Trends pricing and uptime](https://getanyapi.com/api/google/trends) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_trends","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"geo":"US","keywords":["coffee","tea"],"timeframe":"12m"},"schema":{"additionalProperties":false,"example":{"geo":"US","keywords":["coffee","tea"],"timeframe":"12m"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"geo":{"default":"worldwide","description":"Where the searches came from: an uppercase ISO country code (US, GB, DE) or a country subdivision (US-CA, GB-ENG). Omit it, or send worldwide, for worldwide interest.","pattern":"^(worldwide|[A-Z]{2}(-[A-Z0-9]{1,3})?)$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keywords":{"description":"Search terms to compare, 1 to 5, each 2 to 100 characters and without commas (e.g. [\"coffee\", \"tea\"]). Values are relative across the whole set, so the same term scores differently next to different terms.","items":{"maxLength":100,"minLength":2,"pattern":"^[^,]+$","type":"string"},"maxItems":5,"minItems":1,"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"default":"12m","description":"The window to chart, ending now: 1h, 4h, 1d or 7d (hours and days), 1m or 3m (months), 12m, 5y, or all (back to January 2004). Buckets grow with the window: minutes up to 1d, hours for 7d, days for 1m and 3m, weeks for 12m and 5y, months for all.","enum":["1h","4h","1d","7d","1m","3m","12m","5y","all"],"type":"string"}},"required":["keywords"],"title":"Google Trends input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The interest-over-time record, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"geo":{"description":"The place the series cover: the country or subdivision code you sent, or worldwide.","type":"string"},"series":{"description":"One series per search term, in the order you sent the terms. All series share one 0-100 scale. Populated whenever the provider has data for the entity.","items":{"properties":{"keyword":{"description":"The search term this series charts. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"points":{"description":"One point per time bucket, oldest first. Populated whenever the provider has data for the entity.","items":{"properties":{"partial":{"description":"True when Google is still counting this bucket, normally the newest one, so it reads lower than it will end. Present only when the source reports it.","type":"boolean"},"startUtc":{"description":"Start of the time bucket. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"value":{"description":"Search interest in this bucket on Google's 0-100 scale, where 100 is the peak of any term in the response and 0 means there was not enough data. Populated whenever the provider has data for the entity.","maximum":100,"minimum":0,"type":"integer","x-anyapi-must-populate":true}},"required":["startUtc","value"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["keyword","points"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"timeframe":{"description":"The window the series cover: the timeframe you sent, or 12m when you sent none.","type":"string"}},"required":["geo","timeframe","series"],"type":"object"}]},"found":{"description":"False when Google Trends holds too little search interest for these terms, place and window to chart them.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Trends output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Trends","tags":["google"],"x-mint":{"href":"/api-reference/google/trends"},"x-payment-info":{"price":{"amount":"0.002000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google.videos":{"post":{"description":"Search Google for video results (YouTube and others) with title, link, thumbnail, and source.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Videos pricing and uptime](https://getanyapi.com/api/google/videos) - live USD price, lane routing, and measured 30-day uptime. [Every Google endpoint](https://getanyapi.com/api/google).","operationId":"google_videos","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"gl":"us","hl":"en","query":"lofi hip hop"},"schema":{"additionalProperties":false,"example":{"gl":"us","hl":"en","query":"lofi hip hop"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"autocorrect":{"description":"Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction.","type":"boolean"},"gl":{"default":"us","description":"Two-letter country code for result localization (e.g. us, gb, de).","type":"string"},"hl":{"default":"en","description":"Two-letter interface and results language code (e.g. en, es, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"location":{"description":"Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The video search query.","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `source`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["source"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"timeframe":{"description":"Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).","enum":["1h","1d","7d","1y","all"],"type":"string"}},"required":["query"],"title":"Google Videos input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"query":{"description":"The query that was searched.","type":"string"},"results":{"description":"Video result records. Populated whenever the provider has data for the entity.","items":{"properties":{"image":{"description":"Thumbnail image URL for the video.","format":"uri","type":"string"},"link":{"description":"URL to the video. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"position":{"description":"1-based rank in the result list.","type":"integer"},"snippet":{"description":"Short description snippet.","type":"string"},"source":{"description":"Host platform (e.g. YouTube, Vimeo).","type":"string"},"title":{"description":"Video title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","link"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["query","results"],"type":"object"}]},"found":{"description":"True when at least one video result was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Videos output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Videos","tags":["google"],"x-mint":{"href":"/api-reference/google/videos"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_ads.ad_details":{"post":{"description":"Look up a single Google Ads Transparency Center creative by URL and get its format, run dates, impression range, regions, and creative variations as clean JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Ads Ad Details pricing and uptime](https://getanyapi.com/api/google-ads/ad-details) - live USD price, lane routing, and measured 30-day uptime. [Every Google Ads endpoint](https://getanyapi.com/api/google-ads).","operationId":"google_ads_ad_details","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://adstransparency.google.com/advertiser/AR13309761427309854721/creative/CR00826878176251609089"},"schema":{"additionalProperties":false,"example":{"url":"https://adstransparency.google.com/advertiser/AR13309761427309854721/creative/CR00826878176251609089"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Google Ads Transparency Center creative URL (e.g. \"https://adstransparency.google.com/advertiser/AR.../creative/CR...\").","type":"string"}},"required":["url"],"title":"Google Ads ad details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"advertiserId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"creativeId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"firstShown":{"description":"ISO 8601 date.","type":"string"},"format":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"impressionsMax":{"description":"Upper bound of the impressions range. Null when Google does not publish one for this creative.","type":["integer","null"]},"impressionsMin":{"description":"Lower bound of the impressions range. Null when Google does not publish one for this creative.","type":["integer","null"]},"lastShown":{"description":"ISO 8601 date.","type":"string"},"regions":{"description":"Regions where Google shows this creative. Empty when Google lists none.","items":{"properties":{"code":{"description":"Two-letter region code, e.g. US.","type":"string"},"name":{"description":"Region name, e.g. United States.","type":"string"}},"required":["code","name"],"type":"object"},"type":"array"},"url":{"description":"Google Ads Transparency Center URL for the creative.","type":"string"},"variations":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"allText":{"type":"string"},"description":{"type":"string"},"destinationUrl":{"type":"string"},"headline":{"type":"string"},"imageUrl":{"type":"string"}},"required":["headline","description","allText","destinationUrl","imageUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["advertiserId","creativeId","format","firstShown","lastShown","impressionsMin","impressionsMax","regions","variations"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Ads ad details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Ads Ad Details","tags":["google-ads"],"x-mint":{"href":"/api-reference/google-ads/ad-details"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_ads.advertiser_search":{"post":{"description":"Search the Google Ads Transparency Center for advertisers by keyword and get matching advertiser IDs, regions, and estimated ad counts as clean JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Ads Advertiser Search pricing and uptime](https://getanyapi.com/api/google-ads/advertiser-search) - live USD price, lane routing, and measured 30-day uptime. [Every Google Ads endpoint](https://getanyapi.com/api/google-ads).","operationId":"google_ads_advertiser_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"lululemon"},"schema":{"additionalProperties":false,"example":{"query":"lululemon"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Advertiser name or keyword to search for (e.g. \"lululemon\").","type":"string"},"region":{"description":"Two-letter country code to scope results (e.g. \"AU\", \"CA\"). Defaults to US.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Ads advertiser search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"advertisers":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"adsEstimate":{"description":"Estimated number of ads for this advertiser/region.","type":"integer"},"advertiserId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"region":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name","advertiserId","region","adsEstimate"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["advertisers"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Ads advertiser search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Ads Advertiser Search","tags":["google-ads"],"x-mint":{"href":"/api-reference/google-ads/advertiser-search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_ads.company_ads":{"post":{"description":"List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Ads Company Ads pricing and uptime](https://getanyapi.com/api/google-ads/company-ads) - live USD price, lane routing, and measured 30-day uptime. [Every Google Ads endpoint](https://getanyapi.com/api/google-ads).","operationId":"google_ads_company_ads","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"lululemon.com"},"schema":{"additionalProperties":false,"example":{"domain":"lululemon.com"},"properties":{"advertiserId":{"description":"Advertiser ID. Provide either domain or advertiserId.","type":"string"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor.","type":"string"},"domain":{"description":"Company domain (e.g. \"lululemon.com\"). Provide either domain or advertiserId.","type":"string"},"endDate":{"description":"Only return ads first shown on or before this date, format YYYY-MM-DD (e.g. 2024-12-31).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"format":{"description":"Ad format filter.","enum":["text","image","video"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"platform":{"description":"Platform filter.","enum":["google_maps","google_play","google_search","google_shopping","youtube"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"region":{"description":"Two-letter country code to scope results (e.g. \"US\", \"AU\").","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Only return ads first shown on or after this date, format YYYY-MM-DD (e.g. 2024-01-01).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"topic":{"description":"Search topic. \"political\" requires a region.","enum":["all","political"],"type":"string"}},"title":"Google Ads company ads input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"ads":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"adUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"creativeId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"domain":{"description":"Registrable domain the ad links to.","type":"string"},"firstShown":{"description":"ISO 8601 date.","type":"string"},"format":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"imageUrl":{"type":"string"},"lastShown":{"description":"ISO 8601 date.","type":"string"}},"required":["advertiserId","creativeId","advertiserName","format","adUrl","imageUrl","firstShown","lastShown"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"adsEstimate":{"description":"Estimated total number of ads.","type":"integer"},"nextCursor":{"description":"Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["nextCursor","adsEstimate","ads"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Ads company ads output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Ads Company Ads","tags":["google-ads"],"x-mint":{"href":"/api-reference/google-ads/company-ads"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_ads.search":{"post":{"description":"Pull the ads an advertiser is running from the Google Ads Transparency Center (creative details, formats, run dates, and headline and text where Google publishes them) as clean JSON. Each ad's detail page is read, so a 20-ad call can take a minute or more; many text ads come back only as an image of the ad.\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$0.99 per 1,000 results, capped at \\$19.90 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Ads Transparency pricing and uptime](https://getanyapi.com/api/google-ads/search) - live USD price, lane routing, and measured 30-day uptime. [Every Google Ads endpoint](https://getanyapi.com/api/google-ads).","operationId":"google_ads_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://adstransparency.google.com/?region=US\u0026domain=nike.com"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://adstransparency.google.com/?region=US\u0026domain=nike.com"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"A Google Ads Transparency Center URL for a selected advertiser or domain (e.g. https://adstransparency.google.com/advertiser/AR01614014350098432001?region=US).","type":"string"}},"required":["url"],"title":"Google Ads Transparency search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The result wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Ad records from the Transparency Center: advertiser, ad format, creative details, preview URL, and first/last shown dates. Populated whenever the provider has data for the entity.","items":{"properties":{"advertiser":{"description":"Advertiser display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserId":{"description":"Google Ads advertiser identifier.","type":"string"},"firstShownUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the ad was first shown.","type":"number"},"format":{"description":"Ad format, e.g. TEXT, IMAGE, VIDEO.","type":"string"},"id":{"description":"Google Ads creative identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"lastShownUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the ad was last shown.","type":"number"},"numServedDays":{"description":"Number of days the ad has been served.","type":"integer"},"previewUrl":{"description":"URL to a rendered preview of the creative.","type":"string"},"url":{"description":"Ads Transparency Center URL for the creative. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"variations":{"description":"Creative variations for the ad, each with image, headline, and body text where present.","items":{"properties":{"headline":{"description":"Creative headline text.","type":"string"},"imageUrl":{"description":"Creative image URL.","type":"string"},"text":{"description":"Creative body/description text.","type":"string"}},"type":"object"},"type":"array"}},"required":["id","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one ad record was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Ads Transparency search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Ads Transparency","tags":["google-ads"],"x-mint":{"href":"/api-reference/google-ads/search"},"x-payment-info":{"price":{"currency":"USD","max":"0.019900","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.020900","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.019900","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_finance.quote":{"post":{"description":"Fetch a live quote for any stock, index, ETF, mutual fund, currency pair, or crypto symbol: name, current price, the absolute and percent change on the day, quote currency, exchange and market state, plus intraday and reference figures (open, day high/low, previous close, volume, market cap, and the 52-week range).\n\n**Price:** billed per result - \\$0.06 per 1,000 requests base + \\$1.10 per 1,000 results, capped at \\$1.16 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Finance Quote pricing and uptime](https://getanyapi.com/api/google-finance/quote) - live USD price, lane routing, and measured 30-day uptime. [Every Google Finance endpoint](https://getanyapi.com/api/google-finance).","operationId":"google_finance_quote","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"symbol":"AAPL:NASDAQ"},"schema":{"additionalProperties":false,"example":{"symbol":"AAPL:NASDAQ"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"symbol":{"description":"The symbol to quote. US stocks use a plain ticker (e.g. AAPL, TSLA); non-US stocks add a market suffix (e.g. VOW3.DE, BABA.HK, BARC.L); indices use a caret (e.g. ^GSPC, ^DJI); crypto and currencies use pair form (e.g. BTC-USD, EURUSD=X); mutual funds and futures use their symbol (e.g. VFIAX, ES=F). Common alternate forms are accepted and normalized (e.g. AAPL:NASDAQ, .DJI, BTC/USD). Exact symbols only, not a company-name search.","type":"string"}},"required":["symbol"],"title":"Google Finance quote input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when the symbol did not resolve.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The quote for the requested symbol: name, current price, day change (absolute and percent), quote currency, exchange and market state, plus intraday and reference figures. Up to one element (empty when the symbol did not resolve). Populated whenever the provider has data for the entity.","items":{"properties":{"asOfUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"ask":{"description":"Current ask price.","type":"number"},"assetType":{"description":"Instrument class (e.g. EQUITY, ETF, CRYPTOCURRENCY, CURRENCY, INDEX, MUTUALFUND, FUTURE).","type":"string"},"averageVolume":{"description":"Average daily trading volume.","type":"number"},"bid":{"description":"Current bid price.","type":"number"},"change":{"description":"Absolute price change on the day, in the quote currency.","type":"number"},"changePercent":{"description":"Percent price change on the day.","type":"number"},"currency":{"description":"ISO currency the quote is priced in (e.g. USD). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"dayHigh":{"description":"Highest price so far in the current session.","type":"number"},"dayLow":{"description":"Lowest price so far in the current session.","type":"number"},"exchange":{"description":"Exchange the instrument trades on (e.g. NasdaqGS). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"fiftyTwoWeekHigh":{"description":"Highest price over the trailing 52 weeks.","type":"number"},"fiftyTwoWeekLow":{"description":"Lowest price over the trailing 52 weeks.","type":"number"},"marketCap":{"description":"Market capitalization in the quote currency.","type":"number"},"marketState":{"description":"Current market state (e.g. REGULAR, PRE, POST, CLOSED).","type":"string"},"name":{"description":"Instrument or company name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"open":{"description":"Opening price for the current session.","type":"number"},"previousClose":{"description":"Previous session close price.","type":"number"},"price":{"description":"Current price in the quote currency.","type":"number"},"symbol":{"description":"Resolved ticker symbol for the quote. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"volume":{"description":"Traded volume for the current session.","type":"number"}},"required":["symbol","price"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the symbol resolved to a quote.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Finance quote output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Finance Quote","tags":["google-finance"],"x-mint":{"href":"/api-reference/google-finance/quote"},"x-payment-info":{"price":{"currency":"USD","max":"0.001160","min":"0.000060","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.002160","min":"0.001060","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.001160","min":"0.000060","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_flights.calendar":{"post":{"description":"Get the Google Flights price calendar for a route: the lowest fare for every departure date across a window of up to 120 days, one way or as a round trip of a fixed length, with the return date of each round trip, a flag on every date within 5% of the cheapest, and the cheapest date of the window, as normalized JSON. Choose cabin class, adults and currency. Prices are the total for all passengers; dates with no fare are left out.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Flights Price Calendar pricing and uptime](https://getanyapi.com/api/google-flights/calendar) - live USD price, lane routing, and measured 30-day uptime. [Every Google_flights endpoint](https://getanyapi.com/api/google-flights).","operationId":"google_flights_calendar","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"departureDateFrom":"2026-12-16","departureDateTo":"2027-01-14","destination":"LHR","origin":"JFK"},"schema":{"additionalProperties":false,"example":{"departureDateFrom":"2026-12-16","departureDateTo":"2027-01-14","destination":"LHR","origin":"JFK"},"properties":{"adults":{"default":1,"description":"Number of adult passengers (1-9, default 1). Prices are for all passengers together. Child passengers cannot be priced on the calendar.","maximum":9,"minimum":1,"type":"integer"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cabinClass":{"default":"economy","description":"Cabin class (default economy).","enum":["economy","premium_economy","business","first"],"type":"string"},"currency":{"default":"USD","description":"ISO 4217 currency code for prices (e.g. USD, EUR, GBP; default USD).","pattern":"^[A-Z]{3}$","type":"string"},"departureDateFrom":{"description":"First departure date of the calendar in YYYY-MM-DD format (e.g. 2027-01-12). Today or later.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"departureDateTo":{"description":"Last departure date of the calendar in YYYY-MM-DD format (e.g. 2027-02-10). At most 120 days after departureDateFrom.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"destination":{"description":"Arrival airport as a three-letter IATA code in capitals (e.g. LHR), or a Google place ID for a city to cover all of its airports (e.g. /m/04jpl for London).","pattern":"^(?:[A-Z]{3}|/[mg]/[0-9a-z_]+)$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"origin":{"description":"Departure airport as a three-letter IATA code in capitals (e.g. JFK), or a Google place ID for a city to cover all of its airports (e.g. /m/02_286 for New York).","pattern":"^(?:[A-Z]{3}|/[mg]/[0-9a-z_]+)$","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"tripLengthDays":{"description":"For a round trip, the number of days between departure and return (1-30, e.g. 7): each date is then priced as a round trip returning that many days later. Omit it for one way.","maximum":30,"minimum":1,"type":"integer"}},"required":["origin","destination","departureDateFrom","departureDateTo"],"title":"Google Flights price calendar input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The price calendar, or null when no date in the window has a fare.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"adults":{"description":"Number of adult passengers the prices cover.","type":["integer","null"]},"cabinClass":{"description":"Cabin class the calendar was priced in: economy, premium_economy, business or first.","type":["string","null"]},"cheapestDepartureDate":{"description":"Departure date with the lowest fare in the window, YYYY-MM-DD.","type":["string","null"]},"cheapestPrice":{"description":"Lowest fare in the window, for all passengers, in currency.","type":["number","null"]},"currency":{"description":"ISO 4217 currency code of every price.","type":"string"},"dates":{"description":"One entry per departure date that has a fare, in date order. Dates with no fare are left out. Populated whenever the provider has data for the entity.","items":{"properties":{"departureDate":{"description":"Departure date, YYYY-MM-DD.","type":"string"},"isLowPrice":{"description":"Whether this fare is within 5% of the cheapest fare in the window.","type":["boolean","null"]},"price":{"description":"Lowest fare departing on this date, the total for all passengers, in currency.","type":"number"},"returnDate":{"description":"Return date of the round trip priced for this departure date, YYYY-MM-DD; null on one way.","type":["string","null"]}},"required":["departureDate","price"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"departureDateFrom":{"description":"First departure date of the window, YYYY-MM-DD.","type":"string"},"departureDateTo":{"description":"Last departure date of the window, YYYY-MM-DD.","type":"string"},"destination":{"description":"Arrival airport IATA code or city place ID the calendar was priced to.","type":"string"},"origin":{"description":"Departure airport IATA code or city place ID the calendar was priced from.","type":"string"},"tripLengthDays":{"description":"Days between departure and return on a round trip; null on one way.","type":["integer","null"]},"tripType":{"description":"one_way, or round_trip when a trip length was given.","enum":["one_way","round_trip"],"type":"string"}},"required":["origin","destination","departureDateFrom","departureDateTo","tripType","currency","dates"],"type":"object"}]},"found":{"description":"Whether any departure date in the window has a fare.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Flights price calendar output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Flights Price Calendar","tags":["google-flights"],"x-mint":{"href":"/api-reference/google-flights/calendar"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_flights.search":{"post":{"description":"Search Google Flights between two airports on a date and get about 20 itineraries: price, airline, stops, total duration, CO2 emissions against the typical figure for the route, and every leg's airline code, flight number, airports, local departure and arrival times and duration, as normalized JSON. Filter by cabin class, stops, airlines and maximum price. One-way searches return the total fare for all passengers. With a returnDate, each result is an outbound option priced at the cheapest round trip that starts with it (priceType round_trip_starting); the return flights are not included.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Flights Search pricing and uptime](https://getanyapi.com/api/google-flights/search) - live USD price, lane routing, and measured 30-day uptime. [Every Google_flights endpoint](https://getanyapi.com/api/google-flights).","operationId":"google_flights_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"departureDate":"2026-12-16","destination":"LHR","origin":"JFK"},"schema":{"additionalProperties":false,"example":{"departureDate":"2026-12-16","destination":"LHR","origin":"JFK"},"properties":{"adults":{"default":1,"description":"Number of adult passengers (1-9, default 1). Prices are for all passengers together.","maximum":9,"minimum":1,"type":"integer"},"airlines":{"description":"Only itineraries flown by these airlines, as two-character IATA codes (e.g. [\"BA\", \"AA\"]).","items":{"pattern":"^[A-Z0-9]{2}$","type":"string"},"minItems":1,"type":"array","uniqueItems":true},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cabinClass":{"default":"economy","description":"Cabin class (default economy).","enum":["economy","premium_economy","business","first"],"type":"string"},"children":{"description":"Number of child passengers aged 2-11 (e.g. 1).","maximum":8,"minimum":0,"type":"integer"},"currency":{"default":"USD","description":"ISO 4217 currency code for prices (e.g. USD, EUR, GBP; default USD).","pattern":"^[A-Z]{3}$","type":"string"},"departureDate":{"description":"Departure date in YYYY-MM-DD format (e.g. 2027-01-12). Today or later.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"destination":{"description":"Arrival airport as a three-letter IATA code in capitals (e.g. LHR).","pattern":"^[A-Z]{3}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxPrice":{"description":"Highest total price to return, in currency (e.g. 600).","minimum":1,"type":"integer"},"maxStops":{"default":"any","description":"Most stops an itinerary may have (default any).","enum":["any","nonstop","one_or_fewer","two_or_fewer"],"type":"string"},"origin":{"description":"Departure airport as a three-letter IATA code in capitals (e.g. JFK).","pattern":"^[A-Z]{3}$","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `typicalCo2Kg`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an itinerary that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["typicalCo2Kg"],"type":"string"},"type":"array","uniqueItems":true},"returnDate":{"description":"Return date in YYYY-MM-DD format for a round trip (e.g. 2027-01-19). Omit it for one way. With it, each result is an outbound option priced at the cheapest round trip that starts with it, and the return flights are not included.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"sortBy":{"default":"top_flights","description":"Result order: top_flights (Google's best flights first, the default), cheapest, departure_time, arrival_time, duration or emissions.","enum":["top_flights","cheapest","departure_time","arrival_time","duration","emissions"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["origin","destination","departureDate"],"title":"Google Flights search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"itineraries":{"description":"Itineraries in Google Flights' order for the chosen sort. On a round trip each one is an outbound option. Populated whenever the provider has data for the entity.","items":{"properties":{"airline":{"description":"Name of the airline Google Flights shows for the itinerary (e.g. British Airways). The airline of each leg is in legs. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"bookingToken":{"description":"Google Flights' token for this itinerary's fare, or null when not given.","type":["string","null"]},"co2Kg":{"description":"Estimated CO2 emissions of the itinerary in kilograms, or null when not shown (usually on round trips).","type":["number","null"]},"currency":{"description":"ISO 4217 currency code of price. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"departureToken":{"description":"On a round trip, the source's token for this outbound option; null on a one-way search.","type":["string","null"]},"legs":{"description":"Flights of the itinerary in order (the outbound journey on a round trip).","items":{"properties":{"airlineCode":{"description":"IATA code of the airline flying this leg (e.g. BA).","type":["string","null"]},"arrivalAirport":{"description":"IATA code of the arrival airport.","type":"string"},"arrivalDate":{"description":"Arrival date in YYYY-MM-DD, local time at the arrival airport.","type":["string","null"]},"arrivalTime":{"description":"Arrival time as 24-hour HH:MM, local time at the arrival airport.","type":["string","null"]},"departureAirport":{"description":"IATA code of the departure airport.","type":"string"},"departureDate":{"description":"Departure date in YYYY-MM-DD, local time at the departure airport.","type":["string","null"]},"departureTime":{"description":"Departure time as 24-hour HH:MM, local time at the departure airport.","type":["string","null"]},"durationMinutes":{"description":"Flight time of this leg in minutes.","type":["integer","null"]},"flightNumber":{"description":"Flight number without the airline code (e.g. 112).","type":["string","null"]}},"required":["departureAirport","arrivalAirport"],"type":"object"},"type":"array"},"price":{"description":"Price for all passengers together, in currency, or null when Google shows no price. What it covers is in priceType. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"priceType":{"description":"total: the one-way fare for all passengers. round_trip_starting: the cheapest round-trip fare that starts with this outbound option; the return flights are not included.","enum":["total","round_trip_starting"],"type":"string"},"stops":{"description":"Number of stops (0 for nonstop); on a round trip, of the outbound journey. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"totalDurationMinutes":{"description":"Total travel time in minutes, layovers included; on a round trip, of the outbound journey. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"typicalCo2Kg":{"description":"Typical CO2 emissions in kilograms for this route, to compare co2Kg against, or null when not shown.","type":["number","null"]}},"required":["priceType","legs"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["itineraries"],"type":"object"}]},"found":{"description":"Whether any itineraries were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Flights search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Flights Search","tags":["google-flights"],"x-mint":{"href":"/api-reference/google-flights/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_hotels.details":{"post":{"description":"Get one hotel from Google Hotels by its property ID: address, phone, website, rating, nightly price, prices from each booking site, amenities and check-in times as normalized JSON.\n\n**Price:** \\$1.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Hotel Details pricing and uptime](https://getanyapi.com/api/google-hotels/details) - live USD price, lane routing, and measured 30-day uptime. [Every Google Hotels endpoint](https://getanyapi.com/api/google-hotels).","operationId":"google_hotels_details","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"checkIn":"2026-12-16","checkOut":"2026-12-18","country":"us","propertyToken":"ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB"},"schema":{"additionalProperties":false,"example":{"checkIn":"2026-12-16","checkOut":"2026-12-18","country":"us","propertyToken":"ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB"},"properties":{"adults":{"default":2,"description":"Number of adult guests (default 2).","minimum":1,"type":"integer"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"checkIn":{"description":"Check-in date in YYYY-MM-DD format (e.g. 2027-04-13). Today or later.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"checkOut":{"description":"Check-out date in YYYY-MM-DD format (e.g. 2027-04-15). After the check-in date.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"childrenAges":{"description":"Age of each child guest, one entry per child (e.g. [5, 8] for two children aged 5 and 8). Omit it when no children are staying.","items":{"maximum":17,"minimum":0,"type":"integer"},"type":"array"},"country":{"description":"Two-letter lowercase ISO 3166-1 country code of the destination (e.g. us, pt, jp). It must be the country the hotels are in: results are searched from that country.","enum":["ad","ae","af","ag","al","am","ao","aq","ar","as","at","au","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bn","bo","bq","br","bs","bt","bw","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","er","es","et","fi","fj","fm","fr","ga","gb","gd","ge","gg","gh","gm","gn","gq","gr","gs","gt","gu","gw","gy","hm","hn","hr","ht","hu","id","ie","il","im","in","iq","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kr","kw","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mp","mr","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pt","pw","py","qa","ro","rs","rw","sa","sb","sc","se","sg","sh","si","sk","sl","sm","sn","so","sr","st","sv","sx","sz","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tz","ua","ug","um","us","uy","uz","va","vc","ve","vn","vu","wf","ws","ye","za","zm","zw"],"type":"string"},"currency":{"default":"USD","description":"ISO 4217 currency code for prices (e.g. USD, EUR, JPY; default USD).","pattern":"^[A-Z]{3}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"propertyToken":{"description":"Google Hotels property ID of the hotel, the propertyToken google_hotels.search returns for it.","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `stars` or `images`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["images","stars","totalPrice"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["propertyToken","country","checkIn","checkOut"],"title":"Google Hotel details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The hotel, or null when it was not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"address":{"description":"Street address. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"amenities":{"description":"Amenities Google lists for the hotel, each with whether the hotel offers it. Populated whenever the provider has data for the entity.","items":{"properties":{"available":{"description":"Whether the hotel offers it. Populated whenever the provider has data for the entity.","type":["boolean","null"],"x-anyapi-must-populate":true},"name":{"description":"Amenity name (e.g. Wi-Fi, Pool).","type":"string"}},"required":["name"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"checkInTime":{"description":"Earliest check-in time, 24-hour HH:MM local time. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"checkOutTime":{"description":"Latest check-out time, 24-hour HH:MM local time. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"currency":{"description":"ISO 4217 currency code every price in this response is in. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"Preview photo URLs of the hotel, or null when unknown.","items":{"type":"string"},"type":["array","null"]},"latitude":{"description":"Latitude of the hotel. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"longitude":{"description":"Longitude of the hotel. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"name":{"description":"Hotel name.","type":"string"},"phone":{"description":"Phone number as published. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"pricePerNight":{"description":"Lowest nightly price for the requested dates and guests, in the response currency, or null when no price is offered. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"prices":{"description":"Nightly prices offered by each booking site for the requested dates. Populated whenever the provider has data for the entity.","items":{"properties":{"pricePerNight":{"description":"Nightly price on this site, in the response currency. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"site":{"description":"Booking site name (e.g. Booking.com).","type":"string"},"totalPrice":{"description":"Total price for the stay on this site, or null when unknown.","type":["number","null"]},"url":{"description":"Booking link for this offer. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["site"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"propertyToken":{"description":"Google Hotels property ID.","type":"string"},"rating":{"description":"Average guest rating out of 5, or null when the hotel has no ratings. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"reviewsCount":{"description":"Number of guest reviews. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"stars":{"description":"Hotel star class (1-5), or null when unknown.","type":["integer","null"]},"totalPrice":{"description":"Lowest total price for the whole stay, in the response currency, or null when unknown.","type":["number","null"]},"website":{"description":"The hotel's own website. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true}},"required":["propertyToken","name"],"type":"object"}]},"found":{"description":"Whether the hotel was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Hotel details output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Hotel Details","tags":["google-hotels"],"x-mint":{"href":"/api-reference/google-hotels/details"},"x-payment-info":{"price":{"amount":"0.001500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_hotels.search":{"post":{"description":"Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.\n\n**Price:** \\$4.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Google Hotels Search pricing and uptime](https://getanyapi.com/api/google-hotels/search) - live USD price, lane routing, and measured 30-day uptime. [Every Google Hotels endpoint](https://getanyapi.com/api/google-hotels).","operationId":"google_hotels_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"checkIn":"2026-12-16","checkOut":"2026-12-18","country":"us","query":"hotels near times square new york"},"schema":{"additionalProperties":false,"example":{"checkIn":"2026-12-16","checkOut":"2026-12-18","country":"us","query":"hotels near times square new york"},"properties":{"adults":{"default":2,"description":"Number of adult guests (default 2).","minimum":1,"type":"integer"},"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"checkIn":{"description":"Check-in date in YYYY-MM-DD format (e.g. 2027-04-13). Today or later.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"checkOut":{"description":"Check-out date in YYYY-MM-DD format (e.g. 2027-04-15). After the check-in date.","format":"date","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"childrenAges":{"description":"Age of each child guest, one entry per child (e.g. [5, 8] for two children aged 5 and 8). Omit it when no children are staying.","items":{"maximum":17,"minimum":0,"type":"integer"},"type":"array"},"country":{"description":"Two-letter lowercase ISO 3166-1 country code of the destination (e.g. us, pt, jp). It must be the country the hotels are in: results are searched from that country.","enum":["ad","ae","af","ag","al","am","ao","aq","ar","as","at","au","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bn","bo","bq","br","bs","bt","bw","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","er","es","et","fi","fj","fm","fr","ga","gb","gd","ge","gg","gh","gm","gn","gq","gr","gs","gt","gu","gw","gy","hm","hn","hr","ht","hu","id","ie","il","im","in","iq","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kr","kw","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mp","mr","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pt","pw","py","qa","ro","rs","rw","sa","sb","sc","se","sg","sh","si","sk","sl","sm","sn","so","sr","st","sv","sx","sz","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tz","ua","ug","um","us","uy","uz","va","vc","ve","vn","vu","wf","ws","ye","za","zm","zw"],"type":"string"},"currency":{"default":"USD","description":"ISO 4217 currency code for prices (e.g. USD, EUR, JPY; default USD).","pattern":"^[A-Z]{3}$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"What to search for, usually a destination or landmark (e.g. hotels near times square new york).","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalPrice` or `amenities`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["amenities","description","totalPrice"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query","country","checkIn","checkOut"],"title":"Google Hotels search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"currency":{"description":"ISO 4217 currency code every price in this response is in. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hotels":{"description":"Hotels matching the search, in Google's order. Populated whenever the provider has data for the entity.","items":{"properties":{"amenities":{"description":"Highlighted amenities (e.g. Free Wi-Fi, Parking), or null when unknown.","items":{"type":"string"},"type":["array","null"]},"description":{"description":"Short description of the hotel, or null when unknown.","type":["string","null"]},"images":{"description":"Preview photo URLs of the hotel.","items":{"type":"string"},"type":["array","null"]},"latitude":{"description":"Latitude of the hotel. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"longitude":{"description":"Longitude of the hotel. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"name":{"description":"Hotel name.","type":"string"},"pricePerNight":{"description":"Lowest nightly price for the requested dates and guests, in the response currency, or null when no price is offered. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"propertyToken":{"description":"Google Hotels property ID. Pass it to google_hotels.details for this hotel's full record.","type":"string"},"rating":{"description":"Average guest rating out of 5, or null when the hotel has no ratings. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"reviewsCount":{"description":"Number of guest reviews. Populated whenever the provider has data for the entity.","type":["integer","null"],"x-anyapi-must-populate":true},"stars":{"description":"Hotel star class (1-5), or null when the property has none.","type":["integer","null"]},"totalPrice":{"description":"Lowest total price for the whole stay, in the response currency, or null when unknown.","type":["number","null"]}},"required":["propertyToken","name"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["hotels"],"type":"object"}]},"found":{"description":"Whether any hotels were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Hotels search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Hotels Search","tags":["google-hotels"],"x-mint":{"href":"/api-reference/google-hotels/search"},"x-payment-info":{"price":{"amount":"0.004800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.005800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.004800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/google_shopping.search":{"post":{"description":"Search Google Shopping by keyword and get up to 10 product offers (title, price, store, rating, and link), localized by country and language.\n\n**Price:** \\$16.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Google Shopping Search pricing and uptime](https://getanyapi.com/api/google-shopping/search) - live USD price, lane routing, and measured 30-day uptime. [Every Google Shopping endpoint](https://getanyapi.com/api/google-shopping).","operationId":"google_shopping_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"query":"airpods"},"schema":{"additionalProperties":false,"example":{"limit":10,"query":"airpods"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"condition":{"description":"Only return products in this condition (e.g. \"USED\"); defaults to any condition.","enum":["ANY","NEW","USED","REFURBISHED"],"type":"string"},"country":{"default":"us","description":"ISO 3166-1 alpha-2 country code for localized results (e.g. \"us\", \"gb\", \"de\").","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"language":{"default":"en","description":"ISO 639-1 language code for results (e.g. \"en\", \"es\", \"fr\").","type":"string"},"limit":{"description":"Maximum number of results to return (1-10, default 10).","maximum":10,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Product name, brand, or keywords to search for (e.g. \"Nike running shoes\").","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `listPriceText` or `discountPercent`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["brand","currency","discountPercent","listPriceText","priceText"],"type":"string"},"type":"array","uniqueItems":true},"sortBy":{"description":"Sort order for results (e.g. \"LOWEST_PRICE\"); defaults to relevance.","enum":["BEST_MATCH","LOWEST_PRICE","HIGHEST_PRICE","TOP_RATED"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Google Shopping search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Google Shopping product offers. Populated whenever the provider has data for the entity.","items":{"properties":{"brand":{"description":"Product brand; empty when not reported.","type":"string"},"currency":{"description":"Price currency code, e.g. \"USD\"; empty when not reported.","type":"string"},"discountPercent":{"description":"Discount label when on sale, e.g. \"23% OFF\"; empty otherwise.","type":"string"},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"listPrice":{"description":"Pre-discount list price as a numeric amount; 0 when not on sale or reported only as text.","type":"number"},"listPriceText":{"description":"Pre-discount list price as displayed, e.g. \"$130\"; empty when not applicable.","type":"string"},"price":{"description":"Current price as a numeric amount; 0 when the lane reports price only as text (see priceText).","type":"number"},"priceText":{"description":"Current price as displayed, e.g. \"$99.99\"; empty when the lane reports a numeric price instead.","type":"string"},"productId":{"description":"Provider product identifier.","type":"string"},"rating":{"description":"Average product rating, 0-5; null when unrated.","type":["number","null"]},"reviewsCount":{"description":"Number of ratings / reviews; null when none reported.","type":["integer","null"]},"seller":{"description":"Store / seller name offering the product, e.g. \"Target\".","type":"string"},"title":{"description":"Product title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Google Shopping product page URL (query retained; it encodes the product identity). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product offer.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Google Shopping search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Google Shopping Search","tags":["google-shopping"],"x-mint":{"href":"/api-reference/google-shopping/search"},"x-payment-info":{"price":{"amount":"0.016000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.017000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.016000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/hackernews.profile":{"post":{"description":"Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON.\n\n**Price:** \\$1.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Hacker News Profile pricing and uptime](https://getanyapi.com/api/hackernews/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Hackernews endpoint](https://getanyapi.com/api/hackernews).","operationId":"hackernews_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"pg"},"schema":{"additionalProperties":false,"example":{"handle":"pg"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Hacker News username, e.g. \"pg\".","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Hacker News profile input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"bio":{"type":"string"},"karma":{"type":"integer"},"username":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["username","bio","karma"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Hacker News profile output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Hacker News Profile","tags":["hackernews"],"x-mint":{"href":"/api-reference/hackernews/profile"},"x-payment-info":{"price":{"amount":"0.001500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/hackernews.search":{"post":{"description":"Search Hacker News by keyword - matching stories with title, link, author, points, and comment count as clean JSON.\n\n**Price:** \\$1.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Hacker News Search pricing and uptime](https://getanyapi.com/api/hackernews/search) - live USD price, lane routing, and measured 30-day uptime. [Every Hackernews endpoint](https://getanyapi.com/api/hackernews).","operationId":"hackernews_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"ai"},"schema":{"additionalProperties":false,"example":{"query":"ai"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keyword, e.g. \"ai\".","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"tags":{"description":"Optional result filter, e.g. \"story\" or \"comment\".","type":"string"}},"required":["query"],"title":"Hacker News search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"results":{"description":"Matching Hacker News stories. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Submitting user's username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Number of comments on the story.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Hacker News item id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"permalink":{"description":"Permalink to the item on news.ycombinator.com.","type":"string"},"points":{"description":"Story score (upvotes).","type":"integer"},"title":{"description":"Story title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Story link.","type":"string"}},"required":["id","title","url","author","points","comments","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["results"],"type":"object"}]},"found":{"description":"True when the search returned at least one story.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Hacker News search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Hacker News Search","tags":["hackernews"],"x-mint":{"href":"/api-reference/hackernews/search"},"x-payment-info":{"price":{"amount":"0.001500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/hackernews.story":{"post":{"description":"Get a Hacker News story by id - title, link, author, points, and comment count as clean JSON.\n\n**Price:** \\$1.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Hacker News Story pricing and uptime](https://getanyapi.com/api/hackernews/story) - live USD price, lane routing, and measured 30-day uptime. [Every Hackernews endpoint](https://getanyapi.com/api/hackernews).","operationId":"hackernews_story","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"47340079"},"schema":{"additionalProperties":false,"example":{"id":"47340079"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Hacker News story id, e.g. \"47340079\".","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["id"],"title":"Hacker News story input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Story payload, or null when the id did not resolve.","oneOf":[{"type":"null"},{"properties":{"author":{"description":"Submitting user's username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Number of comments on the story.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Hacker News item ID of the story.","type":"string"},"permalink":{"description":"Permalink to the item on news.ycombinator.com.","type":"string"},"points":{"description":"Story score (upvotes).","type":"integer"},"title":{"description":"Story title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Story link.","type":"string"}},"required":["title","url","author","points","comments","createdUtc"],"type":"object"}]},"found":{"description":"True when the story id resolved.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Hacker News story output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Hacker News Story","tags":["hackernews"],"x-mint":{"href":"/api-reference/hackernews/story"},"x-payment-info":{"price":{"amount":"0.001500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/hackernews.story_comments":{"post":{"description":"List the comments on a Hacker News story by id - text, author, and timestamp as clean JSON.\n\n**Price:** \\$1.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Hacker News Story Comments pricing and uptime](https://getanyapi.com/api/hackernews/story-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Hackernews endpoint](https://getanyapi.com/api/hackernews).","operationId":"hackernews_story_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"47340079"},"schema":{"additionalProperties":false,"example":{"id":"47340079"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"Hacker News story id, e.g. \"47340079\".","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["id"],"title":"Hacker News story comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Result payload, or null when the id did not resolve.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Comments on the story. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Commenting user's username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Hacker News comment id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"parentId":{"description":"Id of the parent item (story or comment) this reply belongs to.","type":"string"},"permalink":{"description":"Permalink to the item on news.ycombinator.com.","type":"string"},"postId":{"description":"Hacker News item ID of the story the comment belongs to.","type":"string"},"text":{"description":"Comment body text.","type":"string"}},"required":["id","parentId","author","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["comments"],"type":"object"}]},"found":{"description":"True when the story id resolved and comments were returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Hacker News story comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Hacker News Story Comments","tags":["hackernews"],"x-mint":{"href":"/api-reference/hackernews/story-comments"},"x-payment-info":{"price":{"amount":"0.001500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/ikea.search":{"post":{"description":"Search IKEA's US store by keyword and get title, price, rating, and image for each product in one normalized response.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [IKEA Search pricing and uptime](https://getanyapi.com/api/ikea/search) - live USD price, lane routing, and measured 30-day uptime. [Every Ikea endpoint](https://getanyapi.com/api/ikea).","operationId":"ikea_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"bookshelf"},"schema":{"additionalProperties":false,"example":{"query":"bookshelf"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based results page of 24 products. Each page is billed as one request.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keywords, e.g. \"bookshelf\" or \"desk\".","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `memberOffer`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["memberOffer"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"IKEA search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Search result wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching IKEA US product records for the requested page. Populated whenever the provider has data for the entity.","items":{"properties":{"currency":{"description":"Price currency code, e.g. \"USD\", or null when no price is shown.","type":["string","null"]},"dimensions":{"description":"Product dimensions as IKEA lists them, e.g. \"31 1/2x11x79 1/2\" (inches on the US store), or null when not listed.","type":["string","null"]},"image":{"description":"Primary product image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"memberOffer":{"description":"IKEA Family member offer shown on the product, e.g. \"In-store only price $65.00\", or null when there is none or the serving source does not report it.","type":["string","null"]},"position":{"description":"1-based position of the result in this page.","type":["integer","null"]},"price":{"description":"Current online price in USD, or null when the result shows no price. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"productId":{"description":"IKEA product id: the 8-digit article number, or an s-prefixed id for a combination. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"rating":{"description":"Average customer rating, 0-5, or null when the product is unrated.","type":["number","null"]},"reviewsCount":{"description":"Number of customer ratings, or null when the product has none.","type":["integer","null"]},"title":{"description":"Product name and type as IKEA lists it, e.g. \"BILLY Bookcase white\". Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"IKEA product page URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["productId","title"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalResults":{"description":"Total number of matching products IKEA reports for the query, or null when not reported.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned at least one product.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"IKEA search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"IKEA Search","tags":["ikea"],"x-mint":{"href":"/api-reference/ikea/search"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/indeed.jobs":{"post":{"description":"Search Indeed job listings by keyword, location, and country, with up to 20 normalized job records per request.\n\n**Price:** \\$1.25 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Indeed Jobs pricing and uptime](https://getanyapi.com/api/indeed/jobs) - live USD price, lane routing, and measured 30-day uptime. [Every Indeed endpoint](https://getanyapi.com/api/indeed).","operationId":"indeed_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"location":"Austin, TX","query":"data analyst"},"schema":{"additionalProperties":false,"example":{"limit":3,"location":"Austin, TX","query":"data analyst"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"country":{"default":"us","description":"Two-letter country site code (e.g. us, uk, de).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"City, state, zip, or 'remote'.","type":"string"},"postedLimit":{"description":"Only return jobs posted within this window: 24h (past day) or week (past 7 days). Omit for all dates. This can raise your price: a dearer source serves a request that sets it, and you are quoted and charged its price.","enum":["24h","week"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job search keywords (e.g. software engineer).","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `rating` or `streetAddress`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["admin2Code","companyRevenue","discoveredUtc","expired","language","rating","reviewCount","streetAddress"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Indeed Jobs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Job listing records: title, employer, location, salary when available, job type, posting date, and description. Populated whenever the provider has data for the entity.","items":{"properties":{"admin2Code":{"description":"Second-level administrative division code (county) for the job location.","type":"string"},"applyUrl":{"description":"External URL that starts the application, usually the employer's own tracking system.","type":"string"},"city":{"type":"string"},"company":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"companyDescription":{"description":"Short employer description as Indeed publishes it.","type":"string"},"companyRevenue":{"description":"Employer revenue band as Indeed words it.","type":"string"},"companySize":{"description":"Employer headcount band as Indeed words it (e.g. \"501 to 1,000\").","type":"string"},"companyUrl":{"description":"Indeed company page URL for the employer.","type":"string"},"companyWebsite":{"description":"Employer's own website.","type":"string"},"country":{"type":"string"},"datePublished":{"description":"ISO 8601 publish date.","type":"string"},"description":{"description":"Plain-text job description.","type":"string"},"discoveredUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the listing appeared on Indeed. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"expired":{"type":"boolean"},"jobId":{"description":"Indeed job key. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"language":{"description":"Language code of the posting, e.g. en.","type":"string"},"latitude":{"description":"Latitude of the job location.","type":"number"},"logoUrl":{"description":"Employer logo image URL.","type":"string"},"longitude":{"description":"Longitude of the job location.","type":"number"},"postalCode":{"type":"string"},"rating":{"description":"Employer star rating on Indeed.","type":"number"},"reviewCount":{"description":"Number of employer reviews on Indeed.","type":"integer"},"salaryCurrency":{"type":"string"},"salaryMax":{"type":["number","null"]},"salaryMin":{"type":["number","null"]},"salaryUnit":{"description":"Salary period, e.g. YEAR or HOUR.","type":"string"},"state":{"type":"string"},"streetAddress":{"description":"Street address of the job location.","type":"string"},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Indeed job posting URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["jobId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Indeed Jobs output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Indeed Jobs","tags":["indeed"],"x-mint":{"href":"/api-reference/indeed/jobs"},"x-payment-info":{"price":{"amount":"0.001250","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002250","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001250","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.account_about":{"post":{"description":"Get what Instagram's About this account page shows for a handle: when the account joined, the country it is based in, how many times it changed its username, and whether it is verified.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram About This Account pricing and uptime](https://getanyapi.com/api/instagram/account-about) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_account_about","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"meta"},"schema":{"additionalProperties":false,"example":{"handle":"meta"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram About This Account input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The account's About details, or null when the account was not found.","oneOf":[{"type":"null"},{"properties":{"country":{"description":"Country the account is based in, as Instagram names it. Null when the account does not share it.","type":["string","null"]},"formerUsernamesCount":{"description":"How many former usernames Instagram's About page lists for the account; 0 when it lists none. The former usernames themselves are not returned.","type":"integer"},"joined":{"description":"Month and year the account joined Instagram, as Instagram shows it, such as \"January 2020\". Instagram does not show the day. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"username":{"description":"The account's current username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the account carries a verified badge.","type":"boolean"}},"required":["username"],"type":"object"}]},"found":{"description":"True when the account was found; false when no account has this handle.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram About This Account output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram About This Account","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/account-about"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.audio_reels":{"post":{"description":"List Instagram reels that use a given audio track by audio id.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Reels by Audio pricing and uptime](https://getanyapi.com/api/instagram/audio-reels) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_audio_reels","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"audioId":"1392969992841787"},"schema":{"additionalProperties":false,"example":{"audioId":"1392969992841787"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"audioId":{"description":"Audio identifier from the Instagram audio page URL.","type":"string"},"cursor":{"description":"Pagination cursor returned by a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `reshares`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["locationId","locationLat","locationLng","locationName","paidPartnership","productType","reshares","taggedUsers"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["audioId"],"title":"Instagram Reels by Audio input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"hasMore":{"type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"reels":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the reel's author.","type":"string"},"caption":{"description":"Reel caption text.","type":"string"},"code":{"type":"string"},"comments":{"type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the reel's author.","type":"string"},"durationSeconds":{"description":"Reel duration in seconds.","type":"number"},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Thumbnail image URL for the reel.","type":"string"},"likes":{"type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Null when the post is not tagged at a location or this source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the post is not tagged at a location or this source does not report it.","type":["string","null"]},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when this source does not report it.","type":["boolean","null"]},"plays":{"type":"integer"},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when this source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when this source does not report it.","type":["integer","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when this source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"verified":{"description":"True when the author's account carries a verified badge.","type":"boolean"}},"required":["id","code","likes","comments","plays","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","hasMore","reels"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Reels by Audio output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Reels by Audio","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/audio-reels"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.basic_profile":{"post":{"description":"Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.\n\n**Price:** \\$1.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 5 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Basic Profile pricing and uptime](https://getanyapi.com/api/instagram/basic-profile) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_basic_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"userId":"314216"},"schema":{"additionalProperties":false,"example":{"userId":"314216"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `posts`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["bioLinks","isBusiness","posts","title","url"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"userId":{"description":"Instagram numeric user id (the account's internal all-digits id, e.g. 314216), NOT the @handle or profile URL. Passing a handle here returns no profile.","type":"string"}},"required":["userId"],"title":"Instagram Basic Profile input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"avatarUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"],"x-anyapi-must-populate":true},"bio":{"type":"string"},"bioLinks":{"description":"Every link the account publishes in its bio, in the order Instagram returns them. Null when this source does not report them.","items":{"properties":{"title":{"description":"Display label for the link, empty when the account set none.","type":"string"},"url":{"description":"Destination URL, exactly as the account published it.","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]},"displayName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"externalUrl":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isBusiness":{"description":"Whether Instagram flags the account as a business account. Null when this source does not report it.","type":["boolean","null"]},"posts":{"description":"Total number of posts on the account. Null when this source does not report it.","type":["integer","null"]},"private":{"type":"boolean"},"userId":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"type":"boolean"}},"required":["userId","handle","displayName","followers","following","bio","verified","private","externalUrl","avatarUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Basic Profile output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Basic Profile","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/basic-profile"},"x-payment-info":{"price":{"amount":"0.001000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.comment_likers":{"post":{"description":"List the accounts that liked an Instagram comment, one page of up to 50 likers per call with cursor pagination, with each liker's handle, display name, verified and private flags and avatar.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Comment Likers pricing and uptime](https://getanyapi.com/api/instagram/comment-likers) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_comment_likers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"commentId":"18094024946698045"},"schema":{"additionalProperties":false,"example":{"commentId":"18094024946698045"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"commentId":{"description":"Instagram's numeric comment id, as instagram.post_comments returns it in a comment's id. An id that is not a number is refused as invalid input, with no charge.","pattern":"^[0-9]+$","type":"string"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["commentId"],"title":"Instagram Comment Likers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"likers":{"description":"One page of accounts that liked the comment, up to 50 per call. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"displayName":{"description":"Account display name. Can be empty.","type":"string"},"private":{"description":"Whether the account is private.","type":"boolean"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username","userId","displayName","verified","private","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of likers, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["likers","nextCursor"],"type":"object"}]},"found":{"description":"False when Instagram lists no likers for the comment. That happens both when nobody has liked the comment and when the comment does not exist; Instagram answers the two the same way, so this response does not tell them apart.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Comment Likers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Comment Likers","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/comment-likers"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.comment_replies":{"post":{"description":"List the replies to an Instagram comment with cursor pagination (text, author, likes).\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Comment Replies pricing and uptime](https://getanyapi.com/api/instagram/comment-replies) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_comment_replies","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"commentId":"18126632131325044","url":"https://www.instagram.com/p/C8rKmYvsrck/"},"schema":{"additionalProperties":false,"example":{"commentId":"18126632131325044","url":"https://www.instagram.com/p/C8rKmYvsrck/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"commentId":{"description":"Instagram comment ID (a comment's id from the Instagram Post Comments endpoint).","type":"string"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Instagram post or reel URL the comment belongs to, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is refused as invalid input, with no charge.","pattern":"^[Hh][Tt][Tt][Pp][Ss]?://(?:[Ww][Ww][Ww]\\.)?(?:[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\\.[Cc][Oo][Mm]|[Ii][Nn][Ss][Tt][Aa][Gg][Rr]\\.[Aa][Mm])/(?:[A-Za-z0-9_.]+/)?(?:p|reel|reels|tv)/[A-Za-z0-9_-]+/?(?:[?#].*)?$","type":"string"}},"required":["commentId","url"],"title":"Instagram Comment Replies input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Replies to the requested comment, oldest first. Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Username of the account that wrote the reply, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"avatarUrl":{"description":"URL of the replying account's profile avatar image.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"The reply's Instagram comment ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the reply. Omitted when no like count is reported for the reply.","type":"integer"},"text":{"description":"The reply's text content. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the replying account.","type":"string"},"verified":{"description":"Whether the reply's author has a verified badge.","type":"boolean"}},"required":["id","text","author","verified","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of replies, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["comments","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Comment Replies output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Comment Replies","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/comment-replies"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.embed":{"post":{"description":"Fetch the public embed HTML for an Instagram profile by handle.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Profile Embed pricing and uptime](https://getanyapi.com/api/instagram/embed) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_embed","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram Profile Embed input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"html":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["html"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Profile Embed output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Profile Embed","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/embed"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.followers":{"post":{"description":"List about the first 50 followers of any public Instagram account by username: follower usernames, names, and profile details. Instagram caps follower lists, so this returns one page, not the whole list.\n\n**Price:** \\$1.73 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Followers pricing and uptime](https://getanyapi.com/api/instagram/followers) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_followers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"username":"nasa"},"schema":{"additionalProperties":false,"example":{"username":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Today every source behind this endpoint returns a single page of about 50 followers and no continuation cursor, so nextCursor comes back empty and there is no further page to request; this parameter is accepted but has nothing to resume from.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.","items":{"enum":["private"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"The Instagram username, user ID, or profile URL whose followers to list (e.g. natgeo).","type":"string"}},"required":["username"],"title":"Instagram followers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Follower records for the target account. About the first 50, in the order the source returns them, not the account's full follower list - see nextCursor. Populated whenever the provider has data for the entity.","items":{"properties":{"handle":{"description":"The follower's username, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"The follower's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the follower's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.","type":"string"},"name":{"description":"The follower's display name. Empty when the account has none.","type":"string"},"private":{"description":"Whether the follower's account is private.","type":"boolean"},"url":{"description":"Canonical URL of the follower's profile, with tracking query params stripped. Empty when the lane does not return it.","type":"string"},"verified":{"description":"Whether the follower's account is verified.","type":"boolean"}},"required":["id","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of followers, or null/empty when there are no more. Some sources return a single page of about 50 followers and no continuation, so it is empty there. Pass it back as cursor whenever it is non-empty.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the account was found and returned follower records.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram followers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Followers","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/followers"},"x-payment-info":{"price":{"amount":"0.001730","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002730","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001730","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.following":{"post":{"description":"List about the first 50 accounts a public Instagram user follows: usernames, names, and profile details. Instagram caps these lists, so this returns one page, not the whole list.\n\n**Price:** \\$1.73 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Following pricing and uptime](https://getanyapi.com/api/instagram/following) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_following","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"username":"nasa"},"schema":{"additionalProperties":false,"example":{"username":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Today every source behind this endpoint returns a single page of about 50 accounts and no continuation cursor, so nextCursor comes back empty and there is no further page to request; this parameter is accepted but has nothing to resume from.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.","items":{"enum":["private"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"The Instagram username, user ID, or profile URL whose following list to fetch (e.g. natgeo).","type":"string"}},"required":["username"],"title":"Instagram following input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Records for the accounts the target user follows. About the first 50, in the order the source returns them, not the user's full following list - see nextCursor. Populated whenever the provider has data for the entity.","items":{"properties":{"handle":{"description":"The followed account's username, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"The followed account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the followed account's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.","type":"string"},"name":{"description":"The followed account's display name. Empty when the account has none.","type":"string"},"private":{"description":"Whether the followed account is private.","type":"boolean"},"url":{"description":"Canonical URL of the followed account's profile, with tracking query params stripped. Empty when the lane does not return it.","type":"string"},"verified":{"description":"Whether the followed account is verified.","type":"boolean"}},"required":["id","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of results, or null/empty when there are no more. Some sources return a single page of about 50 accounts and no continuation, so it is empty there. Pass it back as cursor whenever it is non-empty.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the account was found and returned following records.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram following output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Following","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/following"},"x-payment-info":{"price":{"amount":"0.001730","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002730","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001730","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.hashtag_analytics":{"post":{"description":"Get the total post count for any Instagram hashtag.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Hashtag Analytics pricing and uptime](https://getanyapi.com/api/instagram/hashtag-analytics) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_hashtag_analytics","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"hashtag":"travel","limit":5},"schema":{"additionalProperties":false,"example":{"hashtag":"travel","limit":5},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"hashtag":{"description":"The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"deprecated":true,"description":"Deprecated. Has no effect.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["hashtag"],"title":"Instagram hashtag analytics input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Hashtag record: hashtag name and total post count. Populated whenever the provider has data for the entity.","items":{"properties":{"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Hashtag (without #). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"postsCount":{"description":"Total posts using the hashtag.","type":"integer"},"postsFormatted":{"description":"Human-formatted post count (e.g. 793.54 M). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram hashtag analytics output","type":"object","x-anyapi-empty-fails-over":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Hashtag Analytics","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/hashtag-analytics"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.hashtag_recent_posts":{"post":{"description":"Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.\n\n**Price:** \\$1.88 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Hashtag Recent Posts pricing and uptime](https://getanyapi.com/api/instagram/hashtag-recent-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_hashtag_recent_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"hashtag":"skincare"},"schema":{"additionalProperties":false,"example":{"hashtag":"skincare"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"hashtag":{"description":"Hashtag to monitor, without the leading #.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["hashtag"],"title":"Instagram hashtag recent posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Posts under the hashtag, newest first. Engagement counts are usually zero because the posts are minutes old. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the author.","type":"string"},"caption":{"description":"Post caption text, including its hashtags. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"carouselCount":{"description":"Number of items in the carousel. Absent on a single-image post.","type":"integer"},"comments":{"description":"Comment count. Usually zero on a post this new.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts.","type":"boolean"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"displayName":{"description":"Display name of the author.","type":"string"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"height":{"description":"Original pixel height of the media.","type":"integer"},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Like count. Usually zero on a post this new.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at.","type":"string"},"locationLat":{"description":"Latitude of the tagged place.","type":"number"},"locationLng":{"description":"Longitude of the tagged place.","type":"number"},"locationName":{"description":"Place name tagged on the post. Absent when the poster tagged none, which is most posts.","type":"string"},"media":{"description":"Cover media for the post. A carousel reports its full size in carouselCount.","items":{"properties":{"type":{"description":"One of photo or video. Videos are rare in this feed; Instagram keeps reels on a separate tab.","type":"string"},"url":{"description":"Image URL. For a video this is the cover frame.","format":"uri","type":"string"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @.","items":{"type":"string"},"type":"array"},"paidPartnership":{"description":"True when the post is tagged as a paid partnership.","type":"boolean"},"private":{"description":"True when the author's account is private.","type":"boolean"},"productType":{"description":"Instagram product type of the media, for example feed, clips or igtv.","type":"string"},"shortcode":{"description":"Short code in the post permalink. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound.","type":"string"},"soundTitle":{"description":"Name of the sound. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound.","type":"string"},"url":{"description":"Canonical permalink to the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the author.","type":"string"},"username":{"description":"Username of the account that posted. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the author's account carries a verified badge.","type":"boolean"},"width":{"description":"Original pixel width of the media.","type":"integer"}},"required":["id","shortcode","url","caption","username"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram hashtag recent posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Hashtag Recent Posts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/hashtag-recent-posts"},"x-payment-info":{"price":{"amount":"0.001880","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002880","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001880","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.hashtag_top_posts":{"post":{"description":"Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts.\n\n**Price:** \\$1.88 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Hashtag Top Posts pricing and uptime](https://getanyapi.com/api/instagram/hashtag-top-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_hashtag_top_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"hashtag":"skincare"},"schema":{"additionalProperties":false,"example":{"hashtag":"skincare"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"hashtag":{"description":"Hashtag to fetch, without the leading #.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["coauthors","locationId","locationLat","locationLng","locationName","paidPartnership","productType","reshares","soundAuthor","soundTitle","taggedUsers"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["hashtag"],"title":"Instagram hashtag top posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Top-ranked posts for the hashtag, ordered by Instagram's engagement model rather than by time. Populated whenever the provider has data for the entity.","items":{"properties":{"audioId":{"description":"Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Null when the post has no sound or this source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the posting account. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"caption":{"description":"Post caption text, including its hashtags. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"coauthors":{"description":"Accounts listed as coauthors of the post. Null when this source does not report it.","items":{"properties":{"avatarUrl":{"description":"Coauthor's profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"comments":{"description":"Comment count.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"durationSeconds":{"description":"Video duration in seconds. Absent on photo posts.","type":"number"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Like count. Absent when the account hides it.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Null when the post is not tagged at a location or this source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the post is not tagged at a location or this source does not report it.","type":["string","null"]},"media":{"description":"Photo and video attachments on the post.","items":{"properties":{"type":{"description":"One of photo or video.","type":"string"},"url":{"description":"Image URL. For a video this is the cover frame.","format":"uri","type":"string"},"videoUrl":{"description":"Playable video file URL. Present only for video items.","format":"uri","type":"string"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when this source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when this source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when this source does not report it.","type":["integer","null"]},"shortcode":{"description":"Short code in the post permalink. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Null when the post has no sound or this source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound. \"Original audio\" means the creator's own audio rather than a licensed track. Null when the post has no sound or this source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when this source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"url":{"description":"Canonical permalink to the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"username":{"description":"Username of the account that posted. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"views":{"description":"Play count. Present on video posts.","type":"integer"}},"required":["id","shortcode","url","caption","username"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram hashtag top posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Hashtag Top Posts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/hashtag-top-posts"},"x-payment-info":{"price":{"amount":"0.001880","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002880","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001880","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.highlight_detail":{"post":{"description":"Fetch the details and media items of a single Instagram story highlight by id or highlight URL.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Highlight Detail pricing and uptime](https://getanyapi.com/api/instagram/highlight-detail) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_highlight_detail","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"id":"18201653992314974"},"schema":{"additionalProperties":false,"example":{"id":"18201653992314974"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"id":{"description":"The highlight to retrieve: its numeric id (e.g. 18201653992314974), the highlight:\u003cid\u003e form, or its highlight URL (https://www.instagram.com/stories/highlights/\u003cid\u003e/). instagram.user_highlights returns the id of each highlight.","pattern":"^(?:[0-9]+|highlight:[0-9]+|https://(?:www\\.)?instagram\\.com/stories/highlights/[0-9]+/?(?:\\?[^#\\s]*)?)$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["id"],"title":"Instagram Highlight Detail input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The highlight record, or null when nothing was found.","oneOf":[{"type":"null"},{"properties":{"avatarUrl":{"description":"Profile picture URL of the account that owns the highlight.","type":"string"},"coverUrl":{"description":"URL of the highlight cover image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Highlight identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"items":{"description":"The media items inside the highlight, in the order the upstream returned them.","items":{"properties":{"code":{"description":"Instagram media shortcode.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"durationSeconds":{"description":"Video duration in seconds, when the item is a video.","type":"number"},"hasAudio":{"description":"True when the media carries an audio track.","type":"boolean"},"height":{"description":"Media pixel height.","type":"integer"},"id":{"description":"Media identifier.","type":"string"},"image":{"description":"Direct URL to the media image (highest resolution).","type":"string"},"mediaType":{"description":"Media type: 1 = image, 2 = video.","type":"integer"},"paidPartnership":{"description":"True when the item is tagged as a paid partnership.","type":"boolean"},"productType":{"description":"Instagram product type of the media, for example story.","type":"string"},"videoUrl":{"description":"Direct URL to the media video, when the item is a video.","type":"string"},"width":{"description":"Media pixel width.","type":"integer"}},"type":"object"},"type":"array"},"mediaCount":{"description":"Number of media items in the highlight.","type":"integer"},"ownerHandle":{"description":"Handle of the account that owns the highlight. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Highlight title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","title","mediaCount","createdUtc","ownerHandle","coverUrl"],"type":"object"}]},"found":{"description":"True when the highlight was found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Highlight Detail output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Highlight Detail","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/highlight-detail"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.location_details":{"post":{"description":"Look up one Instagram location by id: its name, category, coordinates, number of tagged posts and page slug, plus the street address, postal code, phone and linked business account when Instagram lists them.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Location Details pricing and uptime](https://getanyapi.com/api/instagram/location-details) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_location_details","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"locationId":"407473226252797"},"schema":{"additionalProperties":false,"example":{"locationId":"407473226252797"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"locationId":{"description":"Instagram's numeric location id, as instagram.search_locations returns it. An id that is not a number is refused as invalid input, with no charge.","pattern":"^[0-9]+$","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["locationId"],"title":"Instagram Location Details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"address":{"description":"Street address. Usually present for businesses and absent for cities and regions.","type":"string"},"businessUsername":{"description":"Username of the Instagram business account linked to the place, without the leading @.","type":"string"},"category":{"description":"Kind of place, such as City, Coffee shop or Monument.","type":"string"},"id":{"description":"Instagram location id. Pass it to instagram.location_posts as locationId. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"latitude":{"description":"Latitude in decimal degrees.","type":"number"},"longitude":{"description":"Longitude in decimal degrees.","type":"number"},"name":{"description":"Place name as Instagram shows it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"phone":{"description":"Phone number listed for the place.","type":"string"},"postalCode":{"description":"Postal code. On a city or region page it can be a list or range of codes rather than one value.","type":"string"},"postsCount":{"description":"Number of posts tagged at the location.","type":"integer"},"slug":{"description":"URL slug of the location's Instagram page.","type":"string"}},"required":["id","name","category","latitude","longitude","postsCount","slug"],"type":"object"}]},"found":{"description":"False when Instagram has no location with this id.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Location Details output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Location Details","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/location-details"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.location_posts":{"post":{"description":"List public Instagram posts tagged at a location, ranked or most recent, with cursor pagination.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Location Posts pricing and uptime](https://getanyapi.com/api/instagram/location-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_location_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"locationId":"103912118089363","sort":"recent"},"schema":{"additionalProperties":false,"example":{"locationId":"103912118089363","sort":"recent"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"locationId":{"description":"Instagram location id, as returned by instagram.search_locations.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `carouselCount`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["captionEdited","carouselCount","hasAudio"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"description":"Order the posts by Instagram's top ranking or by newest first. Defaults to ranked.","enum":["ranked","recent"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["locationId"],"title":"Instagram Location Posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Public posts tagged at the location. Populated whenever the provider has data for the entity.","items":{"properties":{"altText":{"description":"Instagram's generated accessibility description of the media.","type":"string"},"audioId":{"description":"Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Absent when the post has no sound.","type":"string"},"author":{"description":"Username of the account that posted it, without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorId":{"description":"The author's numeric Instagram account id, as a string.","type":"string"},"authorPrivate":{"description":"Whether the author's account is private.","type":"boolean"},"authorVerified":{"description":"Whether the author carries Instagram's verified badge.","type":"boolean"},"avatarUrl":{"description":"Author's profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"caption":{"description":"Post caption text.","type":"string"},"captionEdited":{"description":"Whether the caption has been edited since posting.","type":["boolean","null"]},"carouselCount":{"description":"Number of slides, present on carousel posts only.","type":["integer","null"]},"coauthors":{"description":"Accounts listed as coauthors of the post.","items":{"properties":{"avatarUrl":{"description":"Coauthor's profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":"array"},"comments":{"description":"Number of comments on the post.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts.","type":"boolean"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"hasAudio":{"description":"Whether the video carries an audio track.","type":["boolean","null"]},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"height":{"description":"Media height in pixels.","type":"integer"},"id":{"description":"The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Post image or video thumbnail URL, as Instagram's CDN serves it. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the post.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at.","type":"string"},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees.","type":"number"},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees.","type":"number"},"locationName":{"description":"Name of the location the post is tagged at.","type":"string"},"mediaType":{"description":"What the post is: photo, video or carousel.","type":"string"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @.","items":{"type":"string"},"type":"array"},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership.","type":"boolean"},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container.","type":"string"},"shortcode":{"description":"The post's short code, the segment Instagram puts in its URL.","type":"string"},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound.","type":"string"},"soundTitle":{"description":"Name of the sound. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound.","type":"string"},"taggedUsers":{"description":"Accounts tagged in the media.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":"array"},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoUrl":{"description":"Direct video file URL, present on video posts and reels only.","format":"uri","type":"string"},"width":{"description":"Media width in pixels.","type":"integer"}},"required":["id","url","author","caption","likes","comments","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Location Posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Location Posts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/location-posts"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.media_transcript":{"post":{"description":"Get the spoken-audio transcript text for an Instagram post or reel by URL.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Media Transcript pricing and uptime](https://getanyapi.com/api/instagram/media-transcript) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_media_transcript","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.instagram.com/reel/DHsD6HGqJhp/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.instagram.com/reel/DHsD6HGqJhp/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `durationSeconds`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["durationSeconds"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Instagram post or reel URL.","type":"string"}},"required":["url"],"title":"Instagram Media Transcript input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"transcripts":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"durationSeconds":{"description":"Length of the transcribed video in seconds, with fractional seconds. Null when this source does not report it.","type":["number","null"]},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"shortcode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"text":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","shortcode","text"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["transcripts"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `too_long`: the video is longer than the source can transcribe, so asking again returns the same answer. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found","too_long"],"type":"string"}},"required":["found","data"],"title":"Instagram Media Transcript output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Media Transcript","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/media-transcript"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.post":{"post":{"description":"Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.\n\n**Price:** \\$0.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 6 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Post pricing and uptime](https://getanyapi.com/api/instagram/post) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_post","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"hostVideo":{"default":false,"description":"Set true to also get the post's video on a hosted MP4 link that plays without an Instagram session. The file is downloaded and stored for you, and the response adds `hostedUrl`, `expiresUtc` and `bytes`. It is charged as an extra on top of the price, and it never changes which source serves you: every source offers it at the same price. A post with no video, or a post that does not exist, is refused with no charge rather than billed for a file that cannot exist. Omit it and nothing is downloaded, nothing is stored, and nothing extra is charged.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `plays`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["altText","audioId","countsHidden","durationSeconds","hasAudio","locationId","locationLat","locationLng","plays","reshares","soundAuthor","soundTitle"],"type":"string"},"type":"array","uniqueItems":true},"requirePlayCount":{"deprecated":true,"description":"Deprecated; send `requireFields: [\"plays\"]` instead, which does exactly the same thing. Set true to be served only by a source that reports a reel's play count. Omit it and routing is unchanged, with the cheapest source serving, which does not carry play counts, so `plays` is absent from its responses. This can raise your price: opting in routes to a source that reports the count, and you are quoted and charged its price. It stays accepted so callers that already send it keep working.","type":"boolean"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Instagram post or reel URL, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is rejected instead of charged for an empty result - send that account's handle to instagram.profile, or its posts to instagram.user_posts.","pattern":"^https?://(?:www\\.)?instagram\\.com/(?:[A-Za-z0-9_.]+/)?(?:p|reel|reels|tv)/[A-Za-z0-9_-]+/?(?:[?#].*)?$","type":"string"}},"required":["url"],"title":"Instagram post input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"altText":{"description":"Instagram's generated accessibility description of the media. Null when this source does not report it.","type":["string","null"]},"audioId":{"description":"Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list other reels using it. Null when the media has no sound or this source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the posting account.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"bytes":{"description":"Size of the hosted MP4 in bytes. Present only when the request set `hostVideo` to true.","type":"integer"},"caption":{"description":"Caption text of the post, including its hashtags and @mentions. Empty when the post has no caption. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Number of comments on the post.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts. Null when this source does not report it.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"displayUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"],"x-anyapi-must-populate":true},"durationSeconds":{"description":"Video duration in seconds. Null on a photo, or when this source does not report it.","type":["number","null"]},"expiresUtc":{"description":"When `hostedUrl` stops working, as a UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Present only when the request set `hostVideo` to true.","type":"integer"},"hasAudio":{"description":"True when the media carries an audio track.","type":"boolean"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Empty when the caption uses none. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"hostedUrl":{"description":"AnyAPI-hosted MP4 of this post's video, playable without an Instagram session. Present only when the request set `hostVideo` to true.","format":"uri","type":"string","x-anyapi-domain":"media.getanyapi.com"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"type":"integer"},"locationId":{"description":"Instagram id of the tagged place, when the post tags one.","type":"string"},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the post tags no place or this source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the post tags no place or this source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the tagged place, when the post tags one.","type":"string"},"mentions":{"description":"Accounts mentioned in the caption, each including its leading @, in caption order. Empty when the caption mentions none.","items":{"type":"string"},"type":"array"},"owner":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"paidPartnership":{"description":"True when the post is tagged as a paid partnership.","type":"boolean"},"plays":{"description":"Number of plays of the reel or video. Absent when Instagram does not expose a play count for this media, and on lanes that cannot serve it.","type":"integer"},"productType":{"description":"Instagram product type of the media, for example feed, clips or igtv.","type":"string"},"reshares":{"description":"Number of times the post has been reshared. Null when this source does not report it.","type":["integer","null"]},"shortcode":{"type":"string"},"soundAuthor":{"description":"Credited author of the sound. Null when the media has no sound or this source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound. \"Original audio\" means the creator's own audio rather than a licensed track. Null when the media has no sound or this source does not report it.","type":["string","null"]},"type":{"type":"string"},"userId":{"description":"Instagram user id of the posting account.","type":"string"},"verified":{"description":"True when the posting account carries a verified badge.","type":"boolean"},"videoUrl":{"type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]}},"required":["id","shortcode","type","owner","likes","displayUrl","videoUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram post output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Post","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/post"},"x-payment-info":{"price":{"amount":"0.000400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.post_comments":{"post":{"description":"List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 6 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Post Comments pricing and uptime](https://getanyapi.com/api/instagram/post-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_post_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `replies`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["replies","userId"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full Instagram post or reel URL, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is rejected instead of charged for an empty result - send that account's handle to instagram.user_posts to list its posts.","pattern":"^[Hh][Tt][Tt][Pp][Ss]?://(?:[Ww][Ww][Ww]\\.)?[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\\.[Cc][Oo][Mm]/(?:[A-Za-z0-9_.]+/)?(?:p|reel|reels|tv)/[A-Za-z0-9_-]+/?(?:[?#].*)?$","type":"string"}},"required":["url"],"title":"Instagram post comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"comments":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"author":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"avatarUrl":{"description":"URL of the commenting account's profile avatar image.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the comment. Null when the source does not report it.","type":["integer","null"]},"replies":{"description":"Number of replies to the comment, which tells you whether instagram.comment_replies has anything to fetch. Null when this source does not report it.","type":["integer","null"]},"text":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the commenting account. Null when this source does not report it.","type":["string","null"]},"verified":{"type":"boolean"}},"required":["id","text","author","verified","likes","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["comments","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram post comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Post Comments","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/post-comments"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.post_likers":{"post":{"description":"List the accounts that liked a public Instagram post, one page of likers per call, with each liker's handle, display name, verified flag and avatar.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Post Likers pricing and uptime](https://getanyapi.com/api/instagram/post-likers) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_post_likers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Canonical URL of a public Instagram post or reel, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is refused as invalid input, with no charge - send that account's handle to instagram.user_posts to list its posts.","format":"uri","pattern":"^[Hh][Tt][Tt][Pp][Ss]?://(?:[Ww][Ww][Ww]\\.)?(?:[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\\.[Cc][Oo][Mm]|[Ii][Nn][Ss][Tt][Aa][Gg][Rr]\\.[Aa][Mm])/(?:[A-Za-z0-9_.]+/)?(?:p|reel|reels|tv)/[A-Za-z0-9_-]+/?(?:[?#].*)?$","type":"string"}},"required":["url"],"title":"Instagram Post Likers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"likers":{"description":"One page of accounts that liked the post. A single call returns one page; it does not walk the whole liker list. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"displayName":{"description":"Account display name.","type":"string"},"latestStoryUtc":{"description":"Timestamp of the account's most recent story. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"private":{"description":"Whether the account is private.","type":"boolean"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username","userId","displayName","verified","private","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"totalLikes":{"description":"Total number of likes on the post, which can exceed the number of likers returned in this page.","type":"integer"}},"required":["likers","totalLikes"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Post Likers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Post Likers","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/post-likers"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.profile":{"post":{"description":"Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.\n\n**Price:** \\$0.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 6 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Profile pricing and uptime](https://getanyapi.com/api/instagram/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `contactMethod`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["caption","category","coauthors","comments","contactMethod","createdUtc","durationSeconds","hashtags","highlightsCount","id","isBusiness","isPinned","latestPosts","likes","media","mentions","posts","taggedUsers","username","views"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram profile input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"avatarUrl":{"description":"Profile picture URL. Often the highest resolution the account exposes, but it can be a 150 by 150 pixel version. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"],"x-anyapi-must-populate":true},"bio":{"description":"Profile biography text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"bioLinks":{"description":"Every link the account publishes in its bio, in the order Instagram returns them. Business accounts often list several here while externalUrl carries only the first. Populated whenever the provider has data for the entity.","items":{"properties":{"title":{"description":"Display label for the link, empty when the account set none.","type":"string"},"url":{"description":"Destination URL, exactly as the account published it.","type":"string"}},"required":["url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"category":{"description":"Instagram's category label for the account (for example \"Government Agencies\" or \"Coffee shop\"). Absent when the account publishes no category.","type":"string"},"contactMethod":{"description":"The contact button Instagram shows on the profile, for example CALL, TEXT, EMAIL, or UNKNOWN. Absent when the account exposes no contact button. Instagram no longer publishes the underlying email or phone number to unauthenticated callers.","type":"string"},"displayName":{"description":"Account display name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"externalUrl":{"description":"The single website link on the profile. Absent when the account publishes no link. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"followers":{"description":"Follower count.","type":"integer"},"following":{"description":"Number of accounts this account follows.","type":"integer"},"handle":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"highlightsCount":{"description":"Number of story highlights pinned on the profile. Null when this source does not report it.","type":["integer","null"]},"isBusiness":{"description":"Whether Instagram flags the account as a business account.","type":"boolean"},"latestPosts":{"description":"The account's most recent posts, up to about 12. Best-effort: returned when you name latestPosts in requireFields, or whenever the serving source has them, and absent otherwise. Each post has the same fields as instagram.user_posts returns, except that verified, likes, comments and createdUtc are absent when the source does not report them. Empty when the account is private or has not posted.","items":{"properties":{"audioId":{"description":"Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the posting account.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"caption":{"type":"string"},"carouselCount":{"description":"Number of slides, present on carousel posts only. Null when the serving source does not report it.","type":["integer","null"]},"coauthors":{"description":"Accounts listed as coauthors of the post. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username"],"type":"object"},"type":["array","null"]},"comments":{"type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts. Null when the serving source does not report it.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"durationSeconds":{"description":"Video duration in seconds. Absent on photo posts.","type":"number"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #.","items":{"type":"string"},"type":"array"},"id":{"description":"Instagram media id.","type":"string"},"isPinned":{"description":"Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.","type":["boolean","null"]},"likes":{"type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"media":{"description":"Photo, video, and GIF attachments on the post. Empty when the post has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @.","items":{"type":"string"},"type":"array"},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when the serving source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.","type":["integer","null"]},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"url":{"type":"string","x-anyapi-domain":"instagram.com"},"userId":{"description":"Instagram user id of the posting account. Null when the serving source does not report it.","type":["string","null"]},"username":{"description":"Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle.","type":"string"},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"views":{"description":"Play count, present on video posts and reels only.","type":"integer"}},"required":["id","url","caption","username"],"type":"object"},"type":"array"},"posts":{"description":"Total number of posts on the account. On some responses this is rounded from the count Instagram displays (for example 1.2M), so it can be approximate; name posts in requireFields for an exact count. Null when the serving source does not report it.","type":["integer","null"]},"private":{"description":"Whether the account is private.","type":"boolean"},"userId":{"description":"Instagram's numeric account id, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["handle","displayName","followers","following","posts","bio","verified","private","avatarUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram profile output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Profile","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/profile"},"x-payment-info":{"price":{"amount":"0.000900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.profile_contact":{"post":{"description":"Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.\n\n**Price:** \\$0.40 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 5 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Profile Contact Info pricing and uptime](https://getanyapi.com/api/instagram/profile-contact) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_profile_contact","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"eminenceorganics"},"schema":{"additionalProperties":false,"example":{"handle":"eminenceorganics"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isBusiness`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["bioLinks","isBusiness","title","url"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram profile contact input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The account and the contact details it publishes, or null when no such account exists.","oneOf":[{"type":"null"},{"properties":{"bio":{"description":"Profile biography text.","type":"string"},"bioLinks":{"description":"Every link the account publishes in its bio, in the order Instagram returns them. Null when this source does not report them.","items":{"properties":{"title":{"description":"Display label for the link, empty when the account set none.","type":"string"},"url":{"description":"Destination URL, exactly as the account published it.","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]},"displayName":{"description":"Account display name.","type":"string"},"emails":{"description":"Every email address found for the account: the contact-button address plus any address written into the bio, deduplicated. Empty when the account publishes none. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"externalUrl":{"description":"The website link on the profile. Absent when the account publishes no link.","type":"string"},"handle":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isBusiness":{"description":"Whether Instagram flags the account as a business account. Null when this source does not report it.","type":["boolean","null"]},"phones":{"description":"Every phone number found for the account, in E.164 form where the number could be normalized. Empty when the account publishes none.","items":{"type":"string"},"type":"array"},"private":{"description":"Whether the account is private.","type":"boolean"},"publicEmail":{"description":"The address behind the profile's Email contact button, as the account owner entered it. Absent when the account publishes no contact email. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"publicPhone":{"description":"The number behind the profile's Call or Text contact button, as the account owner entered it. Absent when the account publishes no contact phone.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["handle","emails"],"type":"object"}]},"found":{"description":"True when the Instagram account exists. An account that publishes no contact details is still found, with empty email and phone lists.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram profile contact output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Profile Contact Info","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/profile-contact"},"x-payment-info":{"price":{"amount":"0.000400","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001400","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000400","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.reel_transcript":{"post":{"description":"Transcribe any public Instagram reel or video post: the full speech transcript, speaker labels, and word-level timestamps, from a reel, /p/, or /tv/ URL or an Instagram CDN media URL you already hold. A video post is transcribed exactly like a reel. A photo post comes back found with its record and an empty transcript, charged the request price only. Transcription runs on MAI-Transcribe-2, chosen for its accuracy and its speaker labels. Turn on hostVideo to also get the MP4 on a hosted link that plays without an Instagram session. If you only want the text, instagram.media_transcript is the cheaper transcript-only option; if you only want the file, instagram.post is where you go.\n\n**Price:** billed per audio minute - \\$1.50 per 1,000 requests base + \\$6.00 per 1,000 audio minutes, capped at \\$95.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Reel Transcript pricing and uptime](https://getanyapi.com/api/instagram/reel-transcript) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_reel_transcript","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"hostVideo":true,"url":"https://www.instagram.com/reel/CfY6jCIgH-P/","wordTimestamps":false},"schema":{"additionalProperties":false,"example":{"hostVideo":true,"url":"https://www.instagram.com/reel/CfY6jCIgH-P/","wordTimestamps":false},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"hostVideo":{"default":false,"description":"Set true to also get the reel's MP4 on a hosted link you can play without an Instagram session. Charged as an extra on top of the transcript (e.g. true). A photo post has no file to host, so a request that sets this on one is refused with no charge; send it without hostVideo to get the post record instead.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The URL of a public Instagram reel or video post (e.g. https://www.instagram.com/reel/C8yKXdRxKqK/), or an Instagram CDN media URL you already hold.","type":"string"},"wordTimestamps":{"default":false,"description":"Set true to include a precise timestamp for every word in the transcript (e.g. true).","type":"boolean"}},"required":["url"],"title":"Instagram reel transcript input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Record for the requested reel (one item), with the full transcript text, timed segments, source video metadata, and the hosted video link when hostVideo was asked for. Populated whenever the provider has data for the entity.","items":{"properties":{"bytes":{"description":"Size of the hosted MP4 in bytes. Present only when hostVideo was true.","type":"integer"},"durationSeconds":{"description":"Video duration in seconds. Absent when there is no transcript, which is what measures it.","type":"number"},"expiresUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. After this moment the hosted MP4 is deleted. Present only when hostVideo was true.","type":"number"},"hostedUrl":{"description":"A direct link to the downloaded MP4, hosted by AnyAPI and playable without an Instagram session. Present only when hostVideo was true.","format":"uri","type":"string"},"id":{"description":"The reel's numeric Instagram media ID, as a string. Empty when the request supplied a CDN media URL, which carries no post record. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"language":{"description":"Detected spoken language (ISO 639-1 code, e.g. \"en\"). Absent when there is no transcript.","type":"string"},"likeCount":{"description":"Number of likes on the reel. Absent when the lane that served the lookup does not carry a like count.","type":"integer"},"mediaType":{"description":"What kind of media this is, as Instagram labels it (for example a video or an image post). On a photo post this is how you tell that the empty transcript is the answer rather than silence.","type":"string"},"ownerUsername":{"description":"Username of the reel's owner, without the @ prefix. Empty when the request supplied a CDN media URL.","type":"string"},"segments":{"description":"Time-aligned transcript segments in playback order, one per sentence, each with its text, speaker label, and start/end offsets in seconds. A segment starts when its first word is spoken and ends when its last one finishes. Empty when the reel has no detectable spoken audio.","items":{"properties":{"end":{"description":"Segment end offset in seconds from the start of the video.","type":"number"},"speaker":{"description":"Which speaker said this segment, as a stable label within this transcript (e.g. \"0\", \"1\").","type":"string"},"start":{"description":"Segment start offset in seconds from the start of the video.","type":"number"},"text":{"description":"The segment's transcribed text.","type":"string"},"words":{"description":"Every word in the segment with its own timing. Present only when wordTimestamps was true.","items":{"properties":{"end":{"description":"Word end offset in seconds from the start of the video.","type":"number"},"start":{"description":"Word start offset in seconds from the start of the video.","type":"number"},"text":{"description":"The word as spoken.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"shortcode":{"description":"The reel's short code, the part of its instagram.com URL after /reel/. Empty when the request supplied a CDN media URL.","type":"string"},"source":{"description":"Why the transcript reads the way it does. \"audio_asr\" means the words come from speech recognition over the reel's audio; a reel with only music in it transcribes to an empty text this way, and its audio time is charged. \"no_audio\" means there was nothing to listen to: the video has no audio track, or the post is a photo with no video. The transcript is empty because that is the answer, and only the request price is charged, with no audio time. \"transcript_unavailable\" means recognition did not complete for this reel, so the transcript is empty for that reason rather than because the reel has no speech in it; the rest of the record is still what we resolved, and no audio time is charged.","enum":["audio_asr","no_audio","transcript_unavailable"],"type":"string"},"text":{"description":"The full speech transcript. Empty when the reel has no detectable spoken audio, or when the post is a photo with no video to transcribe. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"thumbnailUrl":{"description":"A link to the reel's cover image on Instagram. This link is signed by Instagram and stops working after a short time.","type":"string"},"url":{"description":"The reel URL the request asked for, returned as sent. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the post was found. A reel or video post is found and transcribed. A photo post is found too: its record comes back with an empty transcript and is charged the request price only, with no audio minutes. A post that does not exist is not found and is free.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram reel transcript output","type":"object","x-anyapi-heavy":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Reel Transcript","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/reel-transcript"},"x-payment-info":{"price":{"currency":"USD","max":"0.095000","min":"0.001500","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.096000","min":"0.002500","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.095000","min":"0.001500","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.reels_search":{"post":{"description":"Search Instagram Reels by keyword against Instagram's own reels search and get matching reels with view, like and comment counts, caption, creator and duration. Results are relevance-ranked, not chronological. We remove overlap with recent pages, but older reels may reappear during a long search. nextCursor is null when a page contains only reels seen in recent pages. For a web-search-index view of the same keyword, with a recency filter and numbered pages, use instagram.web_reels_search.\n\n**Price:** \\$1.88 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Reels Search pricing and uptime](https://getanyapi.com/api/instagram/reels-search) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_reels_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"travel"},"schema":{"additionalProperties":false,"example":{"query":"travel"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keyword (e.g. \"crossfit\").","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["locationId","locationLat","locationLng","locationName"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram reels search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the reels array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue. Instagram relevance-ranks reels search, so a later page can repeat reels from an earlier one.","type":["string","null"]},"reels":{"description":"Reels matching the search. Populated whenever the provider has data for the entity.","items":{"properties":{"audioId":{"description":"Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the author.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"caption":{"description":"Reel caption text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Number of comments on the reel.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts.","type":"boolean"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the author.","type":"string"},"durationSeconds":{"description":"Reel duration in seconds.","type":"number"},"hasAudio":{"description":"True when the reel carries an audio track.","type":"boolean"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Reel media identifier.","type":"string"},"likes":{"description":"Number of likes on the reel.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"True when the reel is a paid partnership.","type":"boolean"},"productType":{"description":"Instagram product type of the media, for example clips.","type":"string"},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"shortcode":{"description":"Instagram media shortcode. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"thumbnail":{"description":"URL of the reel thumbnail image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"],"x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the reel. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"instagram.com","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the author.","type":"string"},"username":{"description":"Username of the account that posted the reel. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"videoUrl":{"description":"Direct URL to the reel video.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"views":{"description":"Play count of the reel.","type":"integer"}},"required":["shortcode","url","caption","thumbnail","likes","comments","durationSeconds","createdUtc","username","verified","paidPartnership"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels","nextCursor"],"type":"object"}]},"found":{"description":"True when matching reels were found; false when the search returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram reels search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Reels Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/reels-search"},"x-payment-info":{"price":{"amount":"0.001880","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002880","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001880","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search":{"post":{"description":"Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.\n\n**Price:** \\$1.26 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Search pricing and uptime](https://getanyapi.com/api/instagram/search) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"nasa"},"schema":{"additionalProperties":false,"example":{"query":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery).","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `postsCount`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["bio","followers","following","postsCount"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"type":{"default":"user","description":"What to search for: user profiles, hashtags, or places (e.g. hashtag).","enum":["user","hashtag","place"],"type":"string"}},"required":["query"],"title":"Instagram search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching Instagram profile records for the query. Populated whenever the provider has data for the entity.","items":{"properties":{"bio":{"description":"The account's bio text. Empty when the account has none; null when the serving source does not report it.","type":["string","null"]},"followers":{"description":"The account's follower count. May be 0 when the lane does not return it in search results; null when the serving source does not report it.","type":["integer","null"]},"following":{"description":"The number of accounts the account follows. May be 0 when the lane does not return it in search results; null when the serving source does not report it.","type":["integer","null"]},"handle":{"description":"The account's username, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"The account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the account's profile picture, kept whole because its query carries the CDN signature. Empty when the upstream omits it.","type":"string"},"name":{"description":"The account's display name. Empty when the account has none.","type":"string"},"postsCount":{"description":"The account's post count. Null when the serving source does not report it.","type":["integer","null"]},"url":{"description":"Canonical URL of the account's profile, with tracking query params stripped. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account is verified.","type":"boolean"}},"required":["id","handle","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether any matching profiles were returned for the query.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search"},"x-payment-info":{"price":{"amount":"0.001260","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002260","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001260","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_audio":{"post":{"description":"Search Instagram's audio library by keyword and get licensed tracks and creators' original sounds, each with an audio id you can pass to instagram.audio_reels, its title, artist, and length.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Audio Search pricing and uptime](https://getanyapi.com/api/instagram/search-audio) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_audio","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"despacito"},"schema":{"additionalProperties":false,"example":{"query":"despacito"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Words to search Instagram's audio for, such as a song title, an artist, or a phrase. One call returns one page of up to about 13 results; there is no next page.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram Audio Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the audio results, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching audio in Instagram's order: licensed tracks first, then creators' original sounds. Instagram returns some results even for a query that matches nothing well, so check the titles. Populated whenever the provider has data for the entity.","items":{"properties":{"artist":{"description":"The track's artist as Instagram displays it, or the username of the creator who recorded an original sound. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"durationSeconds":{"description":"Audio length in seconds.","type":["number","null"]},"id":{"description":"Audio id. Pass it as audioId to instagram.audio_reels to list the reels using this audio. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"kind":{"description":"\"track\" for licensed music, \"original sound\" for audio a creator recorded. Populated whenever the provider has data for the entity.","enum":["track","original sound"],"type":"string","x-anyapi-must-populate":true},"title":{"description":"Track title. An original sound is usually titled \"Original audio\". Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["kind","id"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when the search returned audio.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Audio Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Audio Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-audio"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_followers":{"post":{"description":"Search the followers of a public Instagram account by name or username, using Instagram's own follower search. On smaller accounts it searches the whole follower list and returns close matches ranked by Instagram. On large accounts Instagram does not support searching followers, so the result is the account's most recent followers instead, whatever the query. Returns usernames, names, and profile details.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Search Followers pricing and uptime](https://getanyapi.com/api/instagram/search-followers) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_followers","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"john","username":"milada2788"},"schema":{"additionalProperties":false,"example":{"query":"john","username":"milada2788"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Name or username text to look for among this account's followers (e.g. john). Instagram matches loosely, and on large accounts it does not search followers at all, so the most recent followers come back instead.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"The Instagram username whose followers to search, without the leading @ (e.g. milada2788).","minLength":1,"type":"string"}},"required":["username","query"],"title":"Instagram Search Followers input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Followers of the account that Instagram returned for the query, in Instagram's own order. On smaller accounts these are matches from the whole follower list, and Instagram's matching is loose, so some may not contain the exact query text. On large accounts Instagram does not search followers, so these are the account's most recent followers, whatever the query. Populated whenever the provider has data for the entity.","items":{"properties":{"handle":{"description":"The follower's username, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"The follower's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the follower's profile picture. Instagram signs this URL in its query string, so use it as returned. Empty when the source omits it.","type":"string"},"name":{"description":"The follower's display name. Empty when the account has none.","type":"string"},"private":{"description":"Whether the follower's account is private.","type":"boolean"},"url":{"description":"Canonical URL of the follower's profile.","type":"string"},"verified":{"description":"Whether the follower's account is verified.","type":"boolean"}},"required":["id","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the account was found and the search returned at least one follower.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Search Followers output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Search Followers","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-followers"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_following":{"post":{"description":"Search the accounts a public Instagram user follows by name or username. Matching is Instagram's own loose search, so results are close matches ranked by Instagram and some may not contain your exact word. Returns usernames, names, and profile details.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Search Following pricing and uptime](https://getanyapi.com/api/instagram/search-following) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_following","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"skin","username":"moogooskincare"},"schema":{"additionalProperties":false,"example":{"query":"skin","username":"moogooskincare"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Name or username text to look for among the accounts this user follows (e.g. skin). Instagram matches loosely, so close matches are returned too.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"The Instagram username whose following list to search, without the leading @ (e.g. moogooskincare).","minLength":1,"type":"string"}},"required":["username","query"],"title":"Instagram Search Following input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Accounts the user follows that Instagram matched to the query, in Instagram's own order. Instagram's matching is loose, so some results may not contain the exact query text. Populated whenever the provider has data for the entity.","items":{"properties":{"handle":{"description":"The followed account's username, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"The followed account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the followed account's profile picture. Instagram signs this URL in its query string, so use it as returned. Empty when the source omits it.","type":"string"},"name":{"description":"The followed account's display name. Empty when the account has none.","type":"string"},"private":{"description":"Whether the followed account is private.","type":"boolean"},"url":{"description":"Canonical URL of the followed account's profile.","type":"string"},"verified":{"description":"Whether the followed account is verified.","type":"boolean"}},"required":["id","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the account was found and the search matched at least one account it follows.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Search Following output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Search Following","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-following"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_hashtag":{"post":{"description":"Search posts under an Instagram hashtag through a web search index rather than Instagram's own hashtag feed. That is what lets it filter by date and media type and return reels whose like counts have settled, and it is also why results skew older (median around three months) and stop at roughly 110 per hashtag. For Instagram's own live ranking of a tag use instagram.hashtag_top_posts, and for the chronological feed use instagram.hashtag_recent_posts.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Hashtag Search pricing and uptime](https://getanyapi.com/api/instagram/search-hashtag) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_hashtag","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"datePosted":"last-month","hashtag":"skincare","mediaType":"reel"},"schema":{"additionalProperties":false,"example":{"datePosted":"last-month","hashtag":"skincare","mediaType":"reel"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"datePosted":{"description":"Restrict results to posts published within this window.","enum":["last-hour","last-day","last-week","last-month","last-year"],"type":"string"},"hashtag":{"description":"Hashtag to search, without the leading #.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"mediaType":{"description":"Filter by media type. One of all, reel.","enum":["all","reel"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["hashtag"],"title":"Instagram hashtag search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the posting account.","format":"uri","type":"string"},"caption":{"description":"Post caption text, including its hashtags.","type":"string"},"comments":{"description":"Comment count.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"displayUrl":{"description":"Poster image URL. For a video this is the cover frame. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"durationSeconds":{"description":"Video duration in seconds. Absent on photo posts.","type":"number"},"hasAudio":{"description":"True when the media carries an audio track.","type":"boolean"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isAd":{"description":"True when the post is a paid advertisement.","type":"boolean"},"likes":{"description":"Like count. Absent when the account hides it.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at.","type":"string"},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees.","type":"number"},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees.","type":"number"},"locationName":{"description":"Name of the location the post is tagged at.","type":"string"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"True when the post is tagged as a paid partnership.","type":"boolean"},"productType":{"description":"Instagram product type of the media, for example feed, clips or igtv.","type":"string"},"shortcode":{"description":"Short code in the post permalink. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Instagram media typename, for example XDTGraphVideo or XDTGraphImage.","type":"string"},"url":{"description":"Canonical permalink to the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the posting account.","type":"string"},"username":{"description":"Username of the account that posted. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"videoUrl":{"description":"Playable video file URL. Present only on video posts.","format":"uri","type":"string"}},"required":["id","shortcode","type","url","caption","displayUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram hashtag search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Hashtag Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-hashtag"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_locations":{"post":{"description":"Search Instagram locations by keyword and return each place's id, name, address and coordinates.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Location Search pricing and uptime](https://getanyapi.com/api/instagram/search-locations) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_locations","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"Eiffel Tower"},"schema":{"additionalProperties":false,"example":{"query":"Eiffel Tower"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Place name, address or city to search for.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram Location Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"locations":{"description":"Instagram locations matching the keyword, best match first. Populated whenever the provider has data for the entity.","items":{"properties":{"address":{"description":"Street address of the place.","type":"string"},"city":{"description":"City the place sits in.","type":"string"},"id":{"description":"Instagram location id. Pass it to instagram.location_posts as locationId. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"latitude":{"description":"Latitude in decimal degrees.","type":"number"},"longitude":{"description":"Longitude in decimal degrees.","type":"number"},"name":{"description":"Full place name, usually including city and country. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"shortName":{"description":"Place name without the city and country suffix.","type":"string"}},"required":["id","name","latitude","longitude"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["locations"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Location Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Location Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-locations"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_profiles":{"post":{"description":"Search public Instagram profiles by a bio or caption keyword.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Profile Search pricing and uptime](https://getanyapi.com/api/instagram/search-profiles) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_profiles","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"coffee roaster"},"schema":{"additionalProperties":false,"example":{"query":"coffee roaster"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor returned by a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Bio or caption keyword/phrase to search for.","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["bioLinks","category","isBusiness","private"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram Profile Search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of profiles, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"profiles":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL. Null when the serving source does not report it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"bio":{"description":"The account's biography text. Null when the serving source does not report it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"bioLinks":{"description":"Every link the account publishes in its bio, in the order Instagram returns them. Null when this source does not report them.","items":{"properties":{"title":{"description":"Display label for the link, empty when the account set none.","type":"string"},"url":{"description":"Destination URL, exactly as the account published it.","type":"string"}},"required":["url"],"type":"object"},"type":["array","null"]},"category":{"description":"Instagram's category label for the account (for example \"Coffee shop\"). Null when the account publishes none or this source does not report it.","type":["string","null"]},"displayName":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"externalUrl":{"description":"External link the account lists in its bio.","type":"string"},"followers":{"description":"Follower count. Null when the serving source does not report it.","type":["integer","null"]},"following":{"description":"Number of accounts this account follows. Null when the serving source does not report it.","type":["integer","null"]},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Instagram's numeric account id. Null when the serving source does not report it. Populated whenever the provider has data for the entity.","type":["string","null"],"x-anyapi-must-populate":true},"isBusiness":{"description":"Whether Instagram flags the account as a business account. Null when this source does not report it.","type":["boolean","null"]},"posts":{"description":"Total number of posts on the account. Null when the serving source does not report it.","type":["integer","null"]},"private":{"description":"Whether the account is private. Null when the serving source does not report it.","type":["boolean","null"]},"url":{"description":"Canonical URL of the profile.","type":"string"},"verified":{"description":"Whether the account is verified. Null when the serving source does not report it.","type":["boolean","null"]}},"required":["id","handle","displayName","bio","followers","following","posts","verified","private","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","profiles"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Profile Search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Profile Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-profiles"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.search_profiles_contact":{"post":{"description":"Search public Instagram profiles by a bio or caption keyword and get each account's country, the month it joined, and the public email and phone number it lists. Charged per profile that comes back with those details.\n\n**Price:** billed per profile - \\$3.20 per 1,000 requests base + \\$6.40 per 1,000 profiles, capped at \\$80.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Profile Search with Contact pricing and uptime](https://getanyapi.com/api/instagram/search-profiles-contact) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_search_profiles_contact","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"skincare"},"schema":{"additionalProperties":false,"example":{"query":"skincare"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor returned by a previous response.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":8,"description":"Most profiles to return on this page, 1 to 12.","maximum":12,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Bio or caption keyword/phrase to search for.","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram Profile Search with Contact input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of profiles, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]},"profiles":{"description":"Matching public profiles with the contact details each account publishes. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"bio":{"description":"Profile bio text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"country":{"description":"Country the account is based in, from the account's About panel. Absent when Instagram does not show it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"displayName":{"description":"Display name on the profile. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"email":{"description":"Public contact email the account lists. Absent when the account does not publish one. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"externalUrl":{"description":"External link the account lists in its bio.","type":"string"},"followers":{"description":"Follower count, or 0 when Instagram did not report it.","type":"integer"},"following":{"description":"Number of accounts this profile follows.","type":"integer"},"handle":{"description":"Instagram username, without the @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Instagram account id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"joined":{"description":"Month and year the account joined Instagram, as shown on its About panel, for example \"October 2013\". Absent when not shown. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"phone":{"description":"Public contact phone number the account lists, in international format. Absent when the account does not publish one.","type":"string"},"posts":{"description":"Number of posts on the profile. Null when the serving source does not report it.","type":["integer","null"]},"url":{"description":"Canonical URL of the profile.","type":"string"},"verified":{"description":"Whether the account has a verified badge.","type":"boolean"}},"required":["id","handle","displayName","bio","followers","following","posts","verified","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["nextCursor","profiles"],"type":"object"}]},"found":{"description":"Whether the search returned any profiles.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Profile Search with Contact output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Profile Search with Contact","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/search-profiles-contact"},"x-payment-info":{"price":{"currency":"USD","max":"0.080000","min":"0.003200","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.081000","min":"0.004200","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.080000","min":"0.003200","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.similar_profiles":{"post":{"description":"List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.\n\n**Price:** \\$1.75 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Similar Profiles pricing and uptime](https://getanyapi.com/api/instagram/similar-profiles) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_similar_profiles","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram Similar Profiles input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"profiles":{"description":"Accounts Instagram's website lists as related to the requested profile. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"displayName":{"description":"Account display name.","type":"string"},"private":{"description":"Whether the account is private. Null when the source does not report it.","type":["boolean","null"]},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username","userId","displayName","verified","private","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["profiles"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Similar Profiles output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Similar Profiles","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/similar-profiles"},"x-payment-info":{"price":{"amount":"0.001750","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002750","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001750","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.stories_full":{"post":{"description":"Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Stories (full) pricing and uptime](https://getanyapi.com/api/instagram/stories-full) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_stories_full","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"username":"nba"},"schema":{"additionalProperties":false,"example":{"username":"nba"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["audioId","soundAuthor","soundTitle"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"Instagram username or handle without the @.","minLength":1,"type":"string"}},"required":["username"],"title":"Instagram Stories (full) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the story items array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Currently live story records for the requested account, with media, type, dimensions, posting time, and expiry. Populated whenever the provider has data for the entity.","items":{"properties":{"audioId":{"description":"Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels using it. Null when the story has no music sticker or this source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the story owner.","type":"string"},"code":{"description":"Instagram media shortcode. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"displayName":{"description":"Display name of the story owner.","type":"string"},"durationSeconds":{"description":"Video duration in seconds. Null on a photo story, or when this source does not report it.","type":["number","null"]},"expiresUtc":{"description":"Expiry UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"height":{"description":"Media pixel height. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"id":{"description":"Story identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Direct URL to the story image (highest resolution). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"mediaType":{"description":"Media type: 1 = image, 2 = video. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"paidPartnership":{"description":"True when the story is tagged as a paid partnership.","type":"boolean"},"private":{"description":"True when the owner's account is private.","type":"boolean"},"productType":{"description":"Instagram product type of the media, for example story.","type":"string"},"soundAuthor":{"description":"Credited author of the sound. Null when the story has no music sticker or this source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on the story's music sticker. \"Original audio\" means the creator's own audio rather than a licensed track. Null when the story has no music sticker or this source does not report it.","type":["string","null"]},"userId":{"description":"Instagram user id of the story owner.","type":"string"},"username":{"description":"Owner username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the owner's account carries a verified badge.","type":"boolean"},"videoUrl":{"description":"Direct URL to the story video, when the story is a video. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"width":{"description":"Media pixel width. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true}},"required":["id"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when stories were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Stories (full) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Stories (full)","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/stories-full"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.stories_thin":{"post":{"description":"Fetch a public Instagram account's currently live stories - media URL, owner, and posting time - by username. Lightweight projection; for media type, dimensions, and the 24h expiry time use instagram.stories_full.\n\n**Price:** \\$1.88 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Stories (basic) pricing and uptime](https://getanyapi.com/api/instagram/stories-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_stories_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"username":"nba"},"schema":{"additionalProperties":false,"example":{"username":"nba"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `durationSeconds`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["durationSeconds"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"username":{"description":"Instagram username/handle to fetch currently live stories for (without the @).","type":"string"}},"required":["username"],"title":"Instagram Stories (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the story items array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The account's currently live stories, each with its media URL, owner, posting time, and permalink. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the story owner.","type":"string"},"createdUtc":{"description":"Posting time (Unix seconds).","type":"number"},"displayName":{"description":"Display name of the story owner.","type":"string"},"durationSeconds":{"description":"Video duration in seconds. Null on a photo story, or when this source does not report it.","type":["number","null"]},"id":{"description":"Story identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"mediaUrl":{"description":"Direct URL to the story image or video. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"permalink":{"description":"Public link to the story. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"username":{"description":"Owner username. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the owner's account carries a verified badge.","type":"boolean"}},"required":["id"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when stories were found; false when the lookup returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Stories (basic) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Stories (basic)","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/stories-thin"},"x-payment-info":{"price":{"amount":"0.001880","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002880","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001880","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.story":{"post":{"description":"Fetch one live Instagram story by its link or id, with its image or video, posting time, author, and the accounts, links and stickers placed on it.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Story pricing and uptime](https://getanyapi.com/api/instagram/story) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_story","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.instagram.com/stories/nasa/4029751009399397766/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.instagram.com/stories/nasa/4029751009399397766/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The story's link, such as https://www.instagram.com/stories/nasa/4029751009399397766/, or its numeric id alone. Short share links (instagram.com/s/...) are not accepted and are refused with no charge. A story stays available for 24 hours after it is posted.","pattern":"^(?:https?://(?:www\\.)?instagram\\.com/stories/[A-Za-z0-9._]+/[0-9]+/?(?:[?#].*)?|[0-9]+)$","type":"string"}},"required":["url"],"title":"Instagram Story input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The story, or null when it was not found.","oneOf":[{"type":"null"},{"properties":{"avatarUrl":{"description":"Profile picture URL of the account that posted the story.","type":"string"},"code":{"description":"Instagram media shortcode of the story.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"displayName":{"description":"Display name of the account that posted the story.","type":"string"},"durationSeconds":{"description":"Video length in seconds. Null on an image story.","type":["number","null"]},"id":{"description":"Story identifier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"URL of the story image, or of the video's cover frame. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"links":{"description":"Web links placed on the story. Empty when it carries none.","items":{"type":"string"},"type":"array"},"mediaType":{"description":"Whether the story is an image or a video. Populated whenever the provider has data for the entity.","enum":["image","video"],"type":"string","x-anyapi-must-populate":true},"mentions":{"description":"Usernames of the accounts tagged with a mention sticker on the story, without the leading @. Empty when it tags none.","items":{"type":"string"},"type":"array"},"private":{"description":"True when the posting account is private.","type":"boolean"},"productType":{"description":"Instagram's product type for the media, \"story\" for a story.","type":"string"},"stickers":{"description":"Interactive stickers placed on the story. Empty when it carries none.","items":{"properties":{"id":{"description":"Sticker identifier.","type":"string"},"linkTitle":{"description":"Text shown on a link sticker.","type":"string"},"linkUrl":{"description":"Destination of a link sticker.","type":"string"},"type":{"description":"Sticker kind as Instagram names it.","type":"string"}},"type":"object"},"type":"array"},"userId":{"description":"Numeric id of the account that posted the story.","type":"string"},"username":{"description":"Username of the account that posted the story. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account carries a verified badge.","type":"boolean"},"videoUrl":{"description":"Direct URL to the story video. Null on an image story.","type":["string","null"]}},"required":["id"],"type":"object"}]},"found":{"description":"True when the story was found; false when it has expired or does not exist.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Story output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Story","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/story"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.suggested_profiles":{"post":{"description":"List the full set of accounts Instagram suggests as similar to a public profile, the list its app shows, with each account's handle, display name, verified flag, private flag and avatar. For the shorter related-profiles list Instagram's website shows, at a lower price, use instagram.similar_profiles.\n\n**Price:** \\$2.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Suggested Profiles pricing and uptime](https://getanyapi.com/api/instagram/suggested-profiles) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_suggested_profiles","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram Suggested Profiles input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"profiles":{"description":"Accounts Instagram suggests as similar to the requested profile. Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"displayName":{"description":"Account display name.","type":"string"},"private":{"description":"Whether the account is private. Null when the source does not report it.","type":["boolean","null"]},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username","userId","displayName","verified","private","avatarUrl"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["profiles"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Suggested Profiles output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Suggested Profiles","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/suggested-profiles"},"x-payment-info":{"price":{"amount":"0.002200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.tagged_posts":{"post":{"description":"List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).\n\n**Price:** \\$1.88 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram Tagged Posts pricing and uptime](https://getanyapi.com/api/instagram/tagged-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_tagged_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `audioId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["audioId","carouselCount"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram Tagged Posts input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of tagged posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Posts that tag the requested account, newest first. Populated whenever the provider has data for the entity.","items":{"properties":{"audioId":{"description":"Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"author":{"description":"Username of the account that posted and applied the tag, without the @ prefix. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"avatarUrl":{"description":"URL of the posting account's profile avatar image.","type":"string"},"caption":{"description":"The post's caption text. Empty when the post has none. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"carouselCount":{"description":"Number of slides, present on carousel posts only. Null when the serving source does not report it.","type":["integer","null"]},"comments":{"description":"Number of comments on the post.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"durationSeconds":{"description":"Video length in seconds, present on video posts and reels only.","type":"number"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the post. Null when the source does not report it, including when the owner hides like counts.","type":["integer","null"]},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when the serving source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.","type":["integer","null"]},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"url":{"description":"Canonical URL of the post, with tracking query params stripped. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account carries a verified badge.","type":"boolean"},"views":{"description":"Number of views on the post, when the upstream reports one.","type":"integer"}},"required":["id","url","author","caption","likes","comments","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Tagged Posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Tagged Posts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/tagged-posts"},"x-payment-info":{"price":{"amount":"0.001880","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002880","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001880","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.trending_reels":{"post":{"description":"List currently trending Instagram reels. Instagram does not return play counts on this feed.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Trending Reels pricing and uptime](https://getanyapi.com/api/instagram/trending-reels) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_trending_reels","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{},"schema":{"additionalProperties":false,"example":{},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":[],"title":"Instagram Trending Reels input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"reels":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the author.","type":"string"},"caption":{"type":"string"},"comments":{"type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hasAudio":{"description":"True when the reel carries an audio track.","type":"boolean"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"height":{"description":"Original pixel height of the media.","type":"integer"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Thumbnail image URL for the reel.","type":"string"},"likes":{"type":"integer"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @.","items":{"type":"string"},"type":"array"},"private":{"description":"True when the author's account is private.","type":"boolean"},"shortcode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the author.","type":"string"},"verified":{"description":"True when the author's account carries a verified badge.","type":"boolean"},"videoUrl":{"description":"Direct URL to the reel video.","type":"string"},"width":{"description":"Original pixel width of the media.","type":"integer"}},"required":["id","shortcode","url","caption","likes","comments","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Trending Reels output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Trending Reels","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/trending-reels"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.user_highlights":{"post":{"description":"List an Instagram account's story highlight reels by handle.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram User Highlights pricing and uptime](https://getanyapi.com/api/instagram/user-highlights) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_user_highlights","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `mediaCount`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a highlight that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["createdUtc","mediaCount"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"userId":{"description":"Instagram numeric user id (optional, faster than handle).","type":"string"}},"required":["handle"],"title":"Instagram User Highlights input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"highlights":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the account that owns the highlight.","type":"string"},"coverUrl":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Null when this source does not report it.","type":["number","null"]},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"mediaCount":{"description":"Number of media items in the highlight. Null when this source does not report it.","type":["integer","null"]},"ownerHandle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the account that owns the highlight.","type":"string"}},"required":["id","title","coverUrl","ownerHandle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["highlights"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram User Highlights output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram User Highlights","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/user-highlights"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.user_posts":{"post":{"description":"List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 7 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram User Posts pricing and uptime](https://getanyapi.com/api/instagram/user-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_user_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"handle":{"description":"Instagram username without the leading @.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `userId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["audioId","carouselCount","coauthors","countsHidden","isPinned","locationId","locationLat","locationLng","locationName","paidPartnership","productType","reshares","soundAuthor","soundTitle","taggedUsers","userId"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["handle"],"title":"Instagram user posts input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"audioId":{"description":"Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"avatarUrl":{"description":"Profile picture URL of the posting account.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"caption":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"carouselCount":{"description":"Number of slides, present on carousel posts only. Null when the serving source does not report it.","type":["integer","null"]},"coauthors":{"description":"Accounts listed as coauthors of the post. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username"],"type":"object"},"type":["array","null"]},"comments":{"type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts. Null when the serving source does not report it.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"durationSeconds":{"description":"Video duration in seconds. Absent on photo posts.","type":"number"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isPinned":{"description":"Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.","type":["boolean","null"]},"likes":{"type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"media":{"description":"Photo, video, and GIF attachments on the post. Empty when the post has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when the serving source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.","type":["integer","null"]},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"instagram.com","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the posting account. Null when the serving source does not report it.","type":["string","null"]},"username":{"description":"Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"views":{"description":"Play count, present on video posts and reels only.","type":"integer"}},"required":["id","url","caption","likes","comments","createdUtc","username","verified"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram user posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram User Posts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/user-posts"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.user_reels":{"post":{"description":"List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 7 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram User Reels pricing and uptime](https://getanyapi.com/api/instagram/user-reels) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_user_reels","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"anyOf":[{"required":["handle"]},{"required":["userId"]}],"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor (max_id) from a previous response's nextCursor.","type":"string"},"handle":{"description":"Instagram handle.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["coauthors","countsHidden","isPinned","locationId","locationLat","locationLng","locationName","paidPartnership","productType","reshares","soundAuthor","soundTitle","taggedUsers"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"userId":{"description":"Instagram user id (faster than handle when known).","type":"string"}},"title":"Instagram user reels input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"reels":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the posting account.","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"caption":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"coauthors":{"description":"Accounts listed as coauthors of the post. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username"],"type":"object"},"type":["array","null"]},"comments":{"type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts. Null when the serving source does not report it.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"durationSeconds":{"description":"Reel duration in seconds.","type":"number"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isPinned":{"description":"Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.","type":["boolean","null"]},"likes":{"type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"media":{"description":"Photo, video, and GIF attachments on the post. Empty when the post has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string","x-anyapi-domain":["fbcdn.net","cdninstagram.com"]},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when the serving source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.","type":["string","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.","type":["integer","null"]},"shortcode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"userId":{"description":"Instagram user id of the posting account.","type":"string"},"username":{"description":"Username of the account that posted the reel. A reels tab includes collaborator reels, so this is not always the requested handle. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"views":{"type":"integer"}},"required":["id","shortcode","caption","views","likes","comments","createdUtc","username","verified","durationSeconds"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram user reels output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram User Reels","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/user-reels"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.user_reels_logged_in":{"post":{"description":"List an Instagram account's reels by handle as a logged-in Instagram viewer sees them, with cursor pagination: everything instagram.user_reels returns plus saves, reposts, the caption-track URL and, for reels cross-posted to Facebook, the Facebook views, likes and comments. Views, likes and comments are Instagram-only; the Facebook figures are reported separately.\n\n**Price:** \\$1.73 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram User Reels (Logged In) pricing and uptime](https://getanyapi.com/api/instagram/user-reels-logged-in) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_user_reels_logged_in","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"handle":"nasa"},"schema":{"additionalProperties":false,"anyOf":[{"required":["handle"]},{"required":["userId"]}],"example":{"handle":"nasa"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor (max_id) from a previous response's nextCursor.","type":"string"},"handle":{"description":"Instagram handle.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["locationId","locationLat","locationLng","locationName"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"userId":{"description":"Instagram user id (faster than handle when known).","type":"string"}},"title":"Instagram user reels (logged in) input","type":"object","x-aliases":{"username":"handle"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"reels":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the posting account.","type":"string"},"caption":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"captionsUrl":{"description":"Signed link to the reel's auto-generated caption track (SRT). Null when the reel has no caption track.","format":"uri","type":["string","null"]},"coauthors":{"description":"Accounts listed as coauthors of the post. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username"],"type":"object"},"type":["array","null"]},"comments":{"description":"Instagram comments, excluding Facebook comments of a cross-posted reel.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts. Null when the serving source does not report it.","type":["boolean","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"displayName":{"description":"Display name of the posting account.","type":"string"},"durationSeconds":{"description":"Reel duration in seconds.","type":"number"},"facebookComments":{"description":"Comments on the reel on Facebook when it is cross-posted there. Null when the reel is not cross-posted to Facebook.","type":["integer","null"]},"facebookLikes":{"description":"Likes of the reel on Facebook when it is cross-posted there. Null when the reel is not cross-posted to Facebook.","type":["integer","null"]},"facebookViews":{"description":"Plays of the reel on Facebook when it is cross-posted there. Null when the reel is not cross-posted to Facebook.","type":["integer","null"]},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"id":{"description":"Instagram media id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isPinned":{"description":"Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.","type":["boolean","null"]},"likes":{"description":"Instagram likes, excluding Facebook likes of a cross-posted reel.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.","type":["string","null"]},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.","type":["number","null"]},"locationName":{"description":"Name of the location the post is tagged at. Null when the serving source does not report it.","type":["string","null"]},"media":{"description":"Photo, video, and GIF attachments on the post. Empty when the post has none.","items":{"properties":{"height":{"description":"Pixel height of the media item, when the lane reports it.","type":"integer"},"type":{"description":"One of photo, video, or gif.","type":"string"},"url":{"description":"Image URL. For a video or GIF this is the poster/thumbnail frame.","format":"uri","type":"string"},"videoUrl":{"description":"Playable video file URL. Present only for video and gif items.","format":"uri","type":"string"},"width":{"description":"Pixel width of the media item, when the lane reports it.","type":"integer"}},"required":["type","url"],"type":"object"},"type":"array"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership. Null when the serving source does not report it.","type":["boolean","null"]},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.","type":["string","null"]},"reposts":{"description":"Number of times the reel has been reposted to other accounts' profiles, as Instagram reports it to a logged-in viewer. Null when the serving source does not report it.","type":["integer","null"]},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.","type":["integer","null"]},"saves":{"description":"Number of times the reel has been saved, as Instagram reports it to a logged-in viewer. Null when the serving source does not report it.","type":["integer","null"]},"sharedToFacebook":{"description":"True when the reel is cross-posted to Facebook and Instagram reports its Facebook figures. Null when the serving source does not report it.","type":["boolean","null"]},"shortcode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"soundTitle":{"description":"Name of the sound on a reel or a post with music. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.","type":["string","null"]},"taggedUsers":{"description":"Accounts tagged in the media. Null when the serving source does not report it.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":["array","null"]},"userId":{"description":"Instagram user id of the posting account.","type":"string"},"username":{"description":"Username of the account that posted the reel. A reels tab includes collaborator reels, so this is not always the requested handle. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"},"views":{"description":"Instagram plays of the reel, excluding Facebook plays of a cross-posted reel.","type":"integer"}},"required":["id","shortcode","caption","views","likes","comments","createdUtc","username","verified","durationSeconds"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram user reels (logged in) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram User Reels (Logged In)","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/user-reels-logged-in"},"x-payment-info":{"price":{"amount":"0.001730","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002730","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001730","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.user_reposts":{"post":{"description":"List the posts a public Instagram account has reposted to its feed, with cursor pagination.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [Instagram User Reposts pricing and uptime](https://getanyapi.com/api/instagram/user-reposts) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_user_reposts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"userId":"787132"},"schema":{"additionalProperties":false,"example":{"userId":"787132"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"userId":{"description":"Instagram's numeric account id, as returned by instagram.profile.","type":"string"}},"required":["userId"],"title":"Instagram User Reposts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of reposts, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Posts the account has reposted to its feed, newest first. Populated whenever the provider has data for the entity.","items":{"properties":{"altText":{"description":"Instagram's generated accessibility description of the media.","type":"string"},"audioId":{"description":"Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Absent when the post has no sound.","type":"string"},"author":{"description":"Username of the account that posted it, without the leading @. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorId":{"description":"The author's numeric Instagram account id, as a string.","type":"string"},"authorName":{"description":"The author's display name.","type":"string"},"authorPrivate":{"description":"Whether the author's account is private.","type":"boolean"},"authorVerified":{"description":"Whether the author carries Instagram's verified badge.","type":"boolean"},"avatarUrl":{"description":"Author's profile picture URL, as Instagram's CDN serves it.","format":"uri","type":"string"},"caption":{"description":"Post caption text.","type":"string"},"captionEdited":{"description":"Whether the caption has been edited since posting.","type":"boolean"},"carouselCount":{"description":"Number of slides, present on carousel posts only.","type":"integer"},"coauthors":{"description":"Accounts listed as coauthors of the post.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"},"verified":{"description":"Whether the account carries Instagram's verified badge.","type":"boolean"}},"required":["username"],"type":"object"},"type":"array"},"comments":{"description":"Number of comments on the post.","type":"integer"},"countsHidden":{"description":"Whether the author has hidden the like and view counts.","type":"boolean"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"hasAudio":{"description":"Whether the video carries an audio track.","type":"boolean"},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"height":{"description":"Media height in pixels.","type":"integer"},"id":{"description":"The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Post image or video thumbnail URL, as Instagram's CDN serves it. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the post.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at.","type":"string"},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees.","type":"number"},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees.","type":"number"},"locationName":{"description":"Name of the location the post is tagged at.","type":"string"},"mediaType":{"description":"What the post is: photo, video or carousel.","type":"string"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"Whether the post is tagged as a paid partnership.","type":"boolean"},"productType":{"description":"Instagram's own surface label for the post, such as feed, clips or carousel_container.","type":"string"},"reshares":{"description":"Number of times the post has been reshared, when Instagram reports it.","type":"integer"},"shortcode":{"description":"The post's short code, the segment Instagram puts in its URL.","type":"string"},"soundAuthor":{"description":"Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound.","type":"string"},"soundTitle":{"description":"Name of the sound. \"Original audio\" means the creator's own audio rather than a licensed track. Absent when the post has no sound.","type":"string"},"taggedUsers":{"description":"Accounts tagged in the media.","items":{"properties":{"displayName":{"description":"Account display name.","type":"string"},"userId":{"description":"Instagram's numeric account id, as a string.","type":"string"},"username":{"description":"Instagram username without the leading @.","type":"string"}},"required":["username"],"type":"object"},"type":"array"},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoDurationSeconds":{"description":"Video length in seconds, present on video posts and reels only.","type":"number"},"videoUrl":{"description":"Direct video file URL, present on video posts and reels only.","format":"uri","type":"string"},"views":{"description":"Play count, present on video posts and reels only.","type":"integer"},"width":{"description":"Media width in pixels.","type":"integer"}},"required":["id","url","author","caption","likes","comments","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts","nextCursor"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram User Reposts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram User Reposts","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/user-reposts"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/instagram.web_reels_search":{"post":{"description":"Search Instagram Reels through a web search index rather than Instagram's own search, and get matching reels (caption, likes, comments, creator, and duration). That is what lets it filter by a recency window and page by number, and it is also why the results are whatever the index has crawled rather than what Instagram ranks right now, and why paging tops out around 110 reels per query (11 pages of 10). Instagram does not return view or play counts here. For Instagram's own live reels search, with view counts, use instagram.reels_search.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Instagram Reels Web Search pricing and uptime](https://getanyapi.com/api/instagram/web-reels-search) - live USD price, lane routing, and measured 30-day uptime. [Every Instagram endpoint](https://getanyapi.com/api/instagram).","operationId":"instagram_web_reels_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"travel"},"schema":{"additionalProperties":false,"example":{"query":"travel"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"datePosted":{"description":"Recency hint, not a hard filter. Reel discovery runs on top of Google search, so this window narrows Google's index by when it discovered or last crawled the reel, which is not the same as when the reel was published to Instagram. Returned reels can have a createdUtc outside the requested window, and the narrowest window, last-week, often returns older reels or no results. Check createdUtc yourself if you need exact publication-time precision.","enum":["last-week","last-month","last-year"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"1-based results page.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Search keyword (e.g. \"crossfit\").","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Instagram reels web search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"Wrapper holding the reels array, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"reels":{"description":"Reels matching the search. Populated whenever the provider has data for the entity.","items":{"properties":{"caption":{"description":"Reel caption text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Number of comments on the reel.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"durationSeconds":{"description":"Reel duration in seconds. Null when the source does not report it.","type":["number","null"]},"hashtags":{"description":"Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"likes":{"description":"Number of likes on the reel.","type":"integer"},"locationId":{"description":"Instagram location id the post is tagged at.","type":"string"},"locationLat":{"description":"Latitude of the tagged location, in decimal degrees.","type":"number"},"locationLng":{"description":"Longitude of the tagged location, in decimal degrees.","type":"number"},"locationName":{"description":"Name of the location the post is tagged at.","type":"string"},"mentions":{"description":"Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.","items":{"type":"string"},"type":"array","x-anyapi-must-populate":true},"paidPartnership":{"description":"True when the reel is a paid partnership.","type":"boolean"},"productType":{"description":"Instagram's own surface label for the reel, such as clips.","type":"string"},"shortcode":{"description":"Instagram media shortcode. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"thumbnail":{"description":"URL of the reel thumbnail image. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the reel. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"username":{"description":"Username of the account that posted the reel. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"True when the posting account is verified.","type":"boolean"}},"required":["shortcode","url","caption","thumbnail","likes","comments","durationSeconds","createdUtc","username","verified","paidPartnership"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels"],"type":"object"}]},"found":{"description":"True when matching reels were found; false when the search returned nothing.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram reels web search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Instagram Reels Web Search","tags":["instagram"],"x-mint":{"href":"/api-reference/instagram/web-reels-search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/job_search.theirstack":{"post":{"description":"Search TheirStack's job-post index by company, technology, keyword, title, seniority, salary, location and how recently the post appeared, and get the hiring company's full firmographic record with every post. Billed per job returned.\n\n**Price:** billed per result - \\$67.20 per 1,000 results, capped at \\$9,945.60 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Job Search - TheirStack pricing and uptime](https://getanyapi.com/api/job-search/theirstack) - live USD price, lane routing, and measured 30-day uptime. [Every Job_search endpoint](https://getanyapi.com/api/job-search).","operationId":"job_search_theirstack","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"companyDomainOr":["stripe.com"],"limit":1,"postedAtMaxAgeDays":30},"schema":{"additionalProperties":false,"example":{"companyDomainOr":["stripe.com"],"limit":1,"postedAtMaxAgeDays":30},"minProperties":1,"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyCountryCodeNot":{"description":"Return companies whose HQ country code is not any of the ones passed here, case sensitive. Pass ISO2 country codes.","items":{"type":"string"},"type":"array"},"companyCountryCodeOr":{"description":"Return companies whose HQ country code is any of the ones passed here, case sensitive. Pass ISO2 country codes.","items":{"type":"string"},"type":"array"},"companyDescriptionPatternAccentInsensitive":{"description":"Set to True to make company description searches accent insensitive. For example, \"á\" will match \"a\" as well.","type":"boolean"},"companyDescriptionPatternNot":{"description":"Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns.","items":{"type":"string"},"type":"array"},"companyDescriptionPatternOr":{"description":"Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns.","items":{"type":"string"},"type":"array"},"companyDomainNot":{"description":"Only return companies that don't match these domains exactly. It accepts full urls (https://www.google.com/) and emails (john.polo@gmail.com).","items":{"type":"string"},"type":"array"},"companyDomainOr":{"description":"Only return companies that match these domains exactly. It accepts full urls (https://www.google.com/) and emails (john.polo@gmail.com). This filter acts as an OR filter, so if you pass more than one company domain, it will return companies that match any of the domains.","items":{"type":"string"},"type":"array"},"companyIdOr":{"description":"Only return companies that match these IDs exactly. This filter acts as an OR filter, so if you pass more than one company ID, it will return companies that match any of the IDs.","items":{"type":"string"},"type":"array"},"companyInvestorsOr":{"description":"Investors of the company","items":{"type":"string"},"type":"array"},"companyInvestorsPartialMatchOr":{"description":"Investors of the company. Will return companies for which any of their investors contains any of the substrings passed here. For example, if you pass 'andree', all funds that match it (like 'Andreessen Horowitz', 'Andreessen Horowitz LLC', etc).","items":{"type":"string"},"type":"array"},"companyKeywordSlugAnd":{"description":"Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyKeywordSlugNot":{"description":"Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyKeywordSlugOr":{"description":"Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"companyLinkedinUrlExists":{"description":"(Use `property_exists_or / property_exists_and` instead) Only return companies with a LinkedIn URL","type":"boolean"},"companyLinkedinUrlOr":{"description":"Return companies whose LinkedIn URL matches any of the slugs passed here. Can also pass full LinkedIn company URLs.","items":{"type":"string"},"type":"array"},"companyListIdNot":{"description":"Return companies that don't belong to any of the company lists passed here","items":{"type":"integer"},"type":"array"},"companyListIdOr":{"description":"Return companies that belong to any of the company lists passed here","items":{"type":"integer"},"type":"array"},"companyLocationPatternOr":{"description":"Return companies whose city matches any of the patterns passed here. Case insensitive. For example, if you pass 'san francisco', it will return companies whose city is 'San Francisco', 'San Francisco Bay Area', etc.","items":{"type":"string"},"type":"array"},"companyNameCaseInsensitiveOr":{"description":"Only return companies that match these names exactly, case-insensitively.","items":{"type":"string"},"type":"array"},"companyNameNot":{"description":"Only return companies that don't match these names exactly, case-sensitively.","items":{"type":"string"},"type":"array"},"companyNameOr":{"description":"Only return companies that match these names exactly, case-sensitively. This filter acts as an OR filter, so if you pass more than one company name, it will return companies that match any of the names.","items":{"type":"string"},"type":"array"},"companyNamePartialMatchNot":{"description":"Company names. Will return companies whose name doesn't contain any of the the substrings passed here, case-insensitively. For example, if you pass 'google', it will exclude 'Google', 'Google LLC', 'Google Inc', etc.","items":{"type":"string"},"type":"array"},"companyNamePartialMatchOr":{"description":"Company names. Will return companies whose name contain any of the the substrings passed here, case-insensitively. For example, if you pass \"google\", it will return \"Google\", \"Google LLC\", \"Google Inc\", etc.","items":{"type":"string"},"type":"array"},"companyTagsOr":{"description":"Return companies that match any of these keywords","items":{"type":"string"},"type":"array"},"companyTechnologySlugAnd":{"description":"Will return jobs from companies that that have mentioned all of these technologies in their jobs (not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_and instead.","items":{"type":"string"},"type":"array"},"companyTechnologySlugNot":{"description":"Will return jobs from companies that that haven't mentioned any of these technologies in their jobs. Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_not instead.","items":{"type":"string"},"type":"array"},"companyTechnologySlugOr":{"description":"Will return jobs from companies that that have mentioned any of these technologies in their jobs (not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at GET /v0/catalog/technologies. Deprecated: use company_keyword_slug_or instead.","items":{"type":"string"},"type":"array"},"companyType":{"description":"Filter by company type.","type":"string"},"discoveredAtGte":{"description":"Only jobs discovered by TheirStack on this date or datetime or after will be returned. In UTC timezone.","type":"string"},"discoveredAtLte":{"description":"Only jobs discovered by TheirStack on this date or datetime or before will be returned. In UTC timezone.","type":"string"},"discoveredAtMaxAgeDays":{"description":"If 0, only return jobs added to our database in the current day. If 1, from today and yesterday, etc.","type":"integer"},"discoveredAtMinAgeDays":{"description":"If 1, only return jobs discovered by TheirStack until yesterday. If 2, until 2 days ago, etc.","type":"integer"},"easyApply":{"description":"If True, only return jobs that can be applied directly through the job board. If False, only return jobs that require redirecting to the company's website.","type":"boolean"},"employmentStatusesOr":{"description":"Filter jobs by employment status. Returns jobs that match any of the specified employment types. If no values are provided or an empty list is sent, all jobs regardless of employment status will be returned.","items":{"type":"string"},"type":"array"},"finalUrlExists":{"description":"(Use `property_exists_or / property_exists_and` instead) Only return jobs with a final URL. Typically jobs that were originally posted on an ATS. If True, only return jobs with a final URL. If False, only return jobs without a final URL. If None, return all jobs.","type":"boolean"},"fundingStageOr":{"description":"Funding stages of companies returned. Possible values: ['angel', 'convertible_note', 'debt_financing', 'equity_crowdfunding', 'other', 'private_equity', 'seed', 'series_a', 'series_b', 'series_c', 'series_d', 'series_e', 'series_f', 'series_g', 'series_h', 'venture_round_not_specified', 'series_i', 'series_j', 'undisclosed', 'series_unknown', 'pre_seed', 'post_ipo_secondary', 'post_ipo_equity', 'post_ipo_debt', 'non_equity_assistance', 'late_vc', 'initial_coin_offering', 'growth_equity_vc', 'grant', 'early_vc', 'corporate_round', 'secondary_market', 'product_crowdfunding']","items":{"type":"string"},"type":"array"},"hiringManagersExists":{"description":"(Use `property_exists_or / property_exists_and` instead) If True, only return jobs with a hiring manager. If False, only return jobs without a hiring manager. If None, return all jobs.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeTotalResults":{"description":"When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests.","type":"boolean"},"industryIdNot":{"description":"Industry ids to exclude. You can use any of LinkedIn's Industry Codes V2 or GET /v0/catalog/industries","items":{"type":"integer"},"type":"array"},"industryIdOr":{"description":"Industry codes. You can use any of LinkedIn's Industry Codes V2 or GET /v0/catalog/industries","items":{"type":"integer"},"type":"array"},"industryNot":{"description":"Names of industries, case-insensitive. Results will exclude companies that belong to any of the industries specified in this parameter. Available values: GET /v0/catalog/industries WARNING: Deprecated parameter. Use the industry_id_not field instead.","items":{"type":"string"},"type":"array"},"industryOr":{"description":"Names of industries, case-insensitive. Results will only include companies that belong to any of the industries specified in this parameter. Available values: GET /v0/catalog/industries WARNING: Deprecated parameter. Use the industry_id_or field instead.","items":{"type":"string"},"type":"array"},"jobCountryCodeNot":{"description":"2-letter ISO country code of the location of the job. Can pass more than 1. Will exclude jobs from these countries","items":{"type":"string"},"type":"array"},"jobCountryCodeOr":{"description":"2-letter ISO country code of the location of the job. Can pass more than 1","items":{"type":"string"},"type":"array"},"jobDescriptionContainsNot":{"description":"Exclude jobs whose description contains any of these whole words using word boundaries (\\b). Case-insensitive by default, except for the patterns that are uppercase - in that case we'll respect it. Only finds complete words (e.g., searching 'quality' won't match 'inequality'). Results will exclude jobs whose description contains any of these words.","items":{"type":"string"},"type":"array"},"jobDescriptionContainsOr":{"description":"Search for whole words in job descriptions using word boundaries (\\b). Case-insensitive by default, except for the patterns that are uppercase - in that case we'll respect it. Only finds complete words (e.g., searching 'quality' won't match 'inequality'). Results will include jobs whose description contains any of these words.","items":{"type":"string"},"type":"array"},"jobDescriptionPatternAnd":{"description":"Regex patterns that must ALL match the job description (AND logic). Use (?i) at the start of a pattern to make it case-insensitive. Results will only include jobs whose description matches every pattern in this list.","items":{"type":"string"},"type":"array"},"jobDescriptionPatternCaseSensitiveOr":{"description":"Deprecated. Use job_description_pattern_or instead, which now behaves identically.","items":{"type":"string"},"type":"array"},"jobDescriptionPatternIsCaseInsensitive":{"description":"Deprecated. Has no effect.","type":"boolean"},"jobDescriptionPatternNot":{"description":"Regex patterns to look for in job descriptions. Case-sensitive. Results will include jobs whose description don't match any of these patterns. Use (?i) at the start of a pattern to make it case-insensitive. Can pass more than one.","items":{"type":"string"},"type":"array"},"jobDescriptionPatternOr":{"description":"Regex patterns to look for in job descriptions. Case-sensitive. Results will include jobs whose description matches any of these patterns. Use (?i) at the start of a pattern to make it case-insensitive. Can pass more than one.","items":{"type":"string"},"type":"array"},"jobIdNot":{"description":"Exclude jobs with these IDs.","items":{"type":"integer"},"type":"array"},"jobIdOr":{"description":"Get jobs with these IDs only.","items":{"type":"integer"},"type":"array"},"jobIds":{"description":"Get jobs with these IDs only. Deprecated parameter, use job_id_or instead.","items":{"type":"integer"},"type":"array"},"jobKeywordSlugAnd":{"description":"Will return jobs where all of these keyword slugs appear. Case sensitive. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"jobKeywordSlugNot":{"description":"Will return jobs where none of these keyword slugs appear. Case sensitive. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"jobKeywordSlugOr":{"description":"Will return jobs where any of these keyword slugs appear. Case sensitive. Check out all the keywords we track at GET /v0/catalog/keywords","items":{"type":"string"},"type":"array"},"jobLocationNot":{"description":"Filter jobs by location. Returns jobs whose locations DO NOT match ANY of the specified location criteria. Each location criteria is specified using a JobLocationFilter object. (You can find location IDs using the locations catalog endpoint)","items":{"type":"string"},"type":"array"},"jobLocationOr":{"description":"Filter jobs by location. Returns jobs whose locations match ANY of the specified location criteria. Each location criteria is specified using a JobLocationFilter object. (You can find location IDs using the locations catalog endpoint)","items":{"type":"string"},"type":"array"},"jobLocationPatternNot":{"description":"Regex patterns to exclude job locations. Case-insensitive. Searches both the location field and the enhanced locations array (using normalized city and state name fields within each location element). Jobs matching ANY of the provided patterns will be EXCLUDED from results. Use this to filter out specific locations.","items":{"type":"string"},"type":"array"},"jobLocationPatternOr":{"description":"Regex patterns to match job locations. Case-insensitive. Searches both the location field and the enhanced locations array (using normalized city and state name fields within each location element). Jobs matching ANY of the provided patterns will be returned. Use this to find jobs in specific cities, states, or regions.","items":{"type":"string"},"type":"array"},"jobSeniorityOr":{"description":"Will return jobs where the seniority is any of the ones passed here","items":{"type":"string"},"type":"array"},"jobTechnologySlugAnd":{"description":"Will return jobs where all of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track with the technologies endpoint.","items":{"type":"string"},"type":"array"},"jobTechnologySlugNot":{"description":"Will return jobs where none of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track with the technologies endpoint.","items":{"type":"string"},"type":"array"},"jobTechnologySlugOr":{"description":"Will return jobs where any of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track with the technologies endpoint. If you pass more than one technology, we will return jobs that mentnion all of the technologies.","items":{"type":"string"},"type":"array"},"jobTitleNot":{"description":"Natural language patterns to match job titles. Case-insensitive. Only jobs with title that do not match any of these patterns will be returned. Uses Postgres full text search.","items":{"type":"string"},"type":"array"},"jobTitleOr":{"description":"Natural language patterns to match job titles. Case-insensitive. Only jobs with title that match any of these patterns will be returned. Uses Postgres full text search.","items":{"type":"string"},"type":"array"},"jobTitlePatternAnd":{"description":"Regex patterns to match job titles. Case-insensitive. Only jobs with title that match all of these patterns will be returned.","items":{"type":"string"},"type":"array"},"jobTitlePatternNot":{"description":"Regex patterns to match job titles. Case-insensitive. Jobs whose job title doesn't match any of the patterns will be returned.","items":{"type":"string"},"type":"array"},"jobTitlePatternOr":{"description":"Regex patterns to match job titles. Case-insensitive. Jobs whose job title matches of the filters will be returned.","items":{"type":"string"},"type":"array"},"lastFundingRoundDateGte":{"description":"Only return companies whose last funding round date is after or on this date. Format: 'YYYY-MM-DD'","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"lastFundingRoundDateLte":{"description":"Only return companies whose last funding round date is before or on this date. Format: 'YYYY-MM-DD'","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"limit":{"default":25,"description":"Rows to return on this page, up to TheirStack's maximum of 500. Every row returned is billed.","maximum":148,"minimum":1,"type":"integer"},"maxEmployeeCount":{"description":"Maximum number of employees in a company","type":"integer"},"maxEmployeeCountOrNull":{"description":"Maximum number of employees in a company. If we don't have company size information, we will return it as well.","type":"integer"},"maxFundingUsd":{"description":"Maximum company funding, in USD","type":"integer"},"maxRevenueUsd":{"description":"Maximum company revenue, in USD","type":"integer"},"maxSalaryUsd":{"description":"Maximum annual salary in USD. For example, 150000 means $150,000.","type":"number"},"minEmployeeCount":{"description":"Minimum number of employees in a company","type":"integer"},"minEmployeeCountOrNull":{"description":"Minimum number of employees in a company. If we don't have company size information, we will return it as well.","type":"integer"},"minFundingUsd":{"description":"Minimum company funding, in USD","type":"integer"},"minRevenueUsd":{"description":"Minimum company revenue, in USD","type":"integer"},"minSalaryUsd":{"description":"Minimum annual salary in USD. For example, 100000 means $100,000.","type":"number"},"offset":{"description":"Number of results to skip. Required for offset-based pagination.","type":"integer"},"onlyJobsWithHiringManagers":{"description":"Only return jobs with a hiring manager. If True, only return jobs with a hiring manager. If False, only return jobs without a hiring manager. If None, return all jobs.","type":"boolean"},"onlyJobsWithReportsTo":{"description":"Only return jobs where we identified the role the hired person would report to. Deprecated field, use reports_to_exists instead.","type":"boolean"},"onlyYcCompanies":{"description":"Only return YC companies","type":"boolean"},"orderBy":{"description":"List of column objects. You can pass several columns to order by, in order of priority. Only `field` is required, `desc` is True by default.","items":{"type":"string"},"type":"array"},"page":{"description":"Page number. Required when using page-based pagination.","type":"integer"},"postedAtGte":{"description":"ISO 8601 date string (yyyy-mm-dd). Only jobs published in this date or after will be returned.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"postedAtLte":{"description":"ISO 8601 date string (yyyy-mm-dd). Only jobs published in this date or before will be returned.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"postedAtMaxAgeDays":{"description":"Date posted max age in days. If 0, only return jobs posted today. If 1, from today and yesterday, etc.","type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"propertyExistsAnd":{"items":{"type":"string"},"type":"array"},"propertyExistsOr":{"description":"Return jobs that have any of these fields not null. For example, if you pass ['final_url'], it will return jobs that have a final_url set. This field also support chaining of fields. For example, if you pass ['company_object.domain', 'company_object.linkedin_url'], it will return jobs that have a company domain or a company linkedin_url set.","items":{"type":"string"},"type":"array"},"remote":{"description":"True: only show remote jobs. False: only show non-remote jobs. None: show all jobs.","type":"boolean"},"reportsToExists":{"description":"Only return jobs where we identified the role the hired person would report to. If True, only return jobs where we identified the role the hired person would report to. If False, only return jobs where we didn't identify the role the hired person would report to. If None, return all jobs.","type":"boolean"},"scraperNamePatternOr":{"description":"Regex patterns to match job sources. Case-insensitive.","items":{"type":"string"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"urlDomainNot":{"description":"Exclude jobs if their URL domain (from `url` or `source_url`) is in the provided case-insensitive list. For example, ['greenhouse.io', 'workable.com'] will exclude URLs containing 'greenhouse.io' or 'workable.com'. Refer to our list of sources at https://theirstack.com/en/docs/data/job/sources.","items":{"type":"string"},"type":"array"},"urlDomainOr":{"description":"Include jobs only if their URL domain (from `url` or `source_url`) is in the provided case-insensitive list. For example, ['greenhouse.io', 'workable.com'] will match URLs containing 'greenhouse.io' or 'workable.com'. Refer to our list of sources at https://theirstack.com/en/docs/data/job/sources.","items":{"type":"string"},"type":"array"}},"title":"Job Search - TheirStack input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matching rows plus TheirStack's result counters.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"jobs":{"description":"Matching job posts, each carrying the hiring company's firmographic record.","items":{"properties":{"avgAnnualSalaryUsd":{"description":"Midpoint of the posted annual salary, converted to USD.","type":["number","null"]},"cities":{"description":"Every city the post covers.","items":{"type":"string"},"type":["array","null"]},"closedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the post closed. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"company":{"description":"The hiring company's full TheirStack firmographic record.","properties":{"alexaRanking":{"description":"Alexa traffic rank for the company website.","type":"integer"},"annualRevenueReadable":{"description":"Estimated annual revenue as a display string, e.g. 4.2M.","type":"string"},"annualRevenueUsd":{"description":"Estimated annual revenue in USD.","type":"number"},"apolloId":{"description":"Apollo's identifier for the same company.","type":"string"},"city":{"description":"Headquarters city.","type":"string"},"companyId":{"description":"TheirStack's own company identifier.","type":"string"},"companyKeywords":{"description":"Keywords TheirStack assigns the company.","items":{"type":"string"},"type":"array"},"companyTags":{"description":"Tags TheirStack assigns the company.","items":{"type":"string"},"type":"array"},"country":{"description":"Headquarters country.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"domain":{"description":"Primary company domain.","type":"string"},"employeeCount":{"description":"Employees TheirStack currently counts.","type":"integer"},"employeeCountRange":{"description":"Employee headcount band, e.g. 201-500.","type":"string"},"foundedYear":{"description":"Year the company was founded.","type":"integer"},"fundingStage":{"description":"Most recent funding stage, e.g. series_b.","type":"string"},"hasBlurredData":{"description":"True when TheirStack redacted part of the record on this plan.","type":"boolean"},"image":{"description":"Company logo URL.","format":"uri","type":"string"},"industry":{"description":"Company industry.","type":"string"},"industryId":{"description":"TheirStack's identifier for that industry.","type":"string"},"investors":{"description":"Investors TheirStack records for the company.","items":{"type":"string"},"type":"array"},"isRecruitingAgency":{"description":"True when TheirStack classifies the company as a recruiting agency rather than a direct employer.","type":"boolean"},"keywordSlugs":{"description":"Keyword slugs found in the company's job posts. These are the values the keyword filters take.","items":{"type":"string"},"type":"array"},"lastFundingRoundReadable":{"description":"Most recent round size as a display string, e.g. $15M.","type":"string"},"lastFundingRoundUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the most recent funding round. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"linkedinId":{"description":"Company LinkedIn numeric id.","type":"string"},"linkedinUrl":{"description":"Company LinkedIn page URL.","format":"uri","type":"string"},"longDescription":{"description":"Company description as the company writes it.","type":"string"},"name":{"description":"Company name.","type":"string"},"numBuyingIntentTopics":{"description":"Distinct buying-intent topics detected in the company's job posts.","type":"integer"},"numJobs":{"description":"Job posts TheirStack holds for the company, all time.","type":"integer"},"numJobsLast30Days":{"description":"Job posts published in the last 30 days.","type":"integer"},"numKeywords":{"description":"Distinct keywords detected in the company's job posts.","type":"integer"},"numTechnologies":{"description":"Distinct technologies detected in the company's job posts.","type":"integer"},"possibleDomains":{"description":"Every domain TheirStack associates with the company.","items":{"type":"string"},"type":"array"},"postalCode":{"description":"Headquarters postal code.","type":"string"},"publiclyTradedExchange":{"description":"Exchange the company lists on.","type":"string"},"publiclyTradedSymbol":{"description":"Stock ticker, for listed companies.","type":"string"},"seoDescription":{"description":"Meta description from the company's website.","type":"string"},"technologyNames":{"description":"Human-readable names for those technologies.","items":{"type":"string"},"type":"array"},"technologySlugs":{"description":"Technology slugs found in the company's job posts. These are the values the technology filters take.","items":{"type":"string"},"type":"array"},"totalFundingUsd":{"description":"Total capital raised, in USD.","type":"number"},"url":{"description":"Company website URL.","format":"uri","type":"string"},"ycBatch":{"description":"Y Combinator batch, e.g. W20, for companies that went through it.","type":"string"}},"type":["object","null"]},"companyDomain":{"description":"Hiring company domain.","type":["string","null"]},"companyName":{"description":"Hiring company name.","type":["string","null"]},"continents":{"description":"Every continent the post covers.","items":{"type":"string"},"type":["array","null"]},"countries":{"description":"Every country the post covers.","items":{"type":"string"},"type":["array","null"]},"country":{"description":"Country name.","type":["string","null"]},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":["string","null"]},"countryCodes":{"description":"Every country code the post covers.","items":{"type":"string"},"type":["array","null"]},"description":{"description":"Full job description text.","type":["string","null"]},"discoveredUtc":{"description":"UTC epoch timestamp in seconds (Unix time) TheirStack first saw the post. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"easyApply":{"description":"True when the post supports one-click apply.","type":["boolean","null"]},"employmentStatuses":{"description":"Employment types, e.g. full_time.","items":{"type":"string"},"type":["array","null"]},"finalUrl":{"description":"URL the post redirects to, when it does.","format":"uri","type":["string","null"]},"hasBlurredData":{"description":"True when TheirStack redacted part of the record on this plan.","type":["boolean","null"]},"hybrid":{"description":"True for a hybrid role.","type":["boolean","null"]},"jobId":{"description":"TheirStack's own identifier for the post.","type":["string","null"]},"keywordSlugs":{"description":"Keyword slugs found in the post.","items":{"type":"string"},"type":["array","null"]},"latitude":{"description":"Latitude of the posted location.","type":["number","null"]},"location":{"description":"Location as posted.","type":["string","null"]},"locations":{"description":"Every resolved location the post covers, with TheirStack's geographic breakdown.","items":{"properties":{"address":{"description":"Street address, when the post gives one.","type":"string"},"admin1Code":{"description":"First-level administrative division code.","type":"string"},"admin1Name":{"description":"First-level administrative division name.","type":"string"},"admin2Code":{"description":"Second-level administrative division code.","type":"string"},"admin2Name":{"description":"Second-level administrative division name.","type":"string"},"city":{"description":"City.","type":"string"},"continent":{"description":"Continent code, e.g. NA.","type":"string"},"country":{"description":"Country name.","type":"string"},"countryCode":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"displayName":{"description":"Location as one display string.","type":"string"},"featureCode":{"description":"GeoNames feature code for the place.","type":"string"},"latitude":{"description":"Latitude.","type":"number"},"locationId":{"description":"TheirStack's identifier for the place.","type":"string"},"longitude":{"description":"Longitude.","type":"number"},"name":{"description":"Location name.","type":["string","null"]},"postalCode":{"description":"Postal code.","type":"string"},"state":{"description":"State or region.","type":"string"},"stateCode":{"description":"State or region code.","type":"string"},"type":{"description":"Granularity of the place, e.g. city, state, country.","type":"string"}},"required":["name"],"type":"object"},"type":["array","null"]},"longLocation":{"description":"Long form of the location.","type":["string","null"]},"longitude":{"description":"Longitude of the posted location.","type":["number","null"]},"managerRoles":{"description":"Manager roles TheirStack extracted from the post.","items":{"type":"string"},"type":["array","null"]},"matchingPhrases":{"description":"Phrases from your pattern filters that matched this post.","items":{"type":"string"},"type":["array","null"]},"matchingWords":{"description":"Words from your pattern filters that matched this post.","items":{"type":"string"},"type":["array","null"]},"maxAnnualSalary":{"description":"Upper bound of the posted annual salary, in the posted currency.","type":["number","null"]},"maxAnnualSalaryUsd":{"description":"Upper bound of the posted annual salary, converted to USD.","type":["number","null"]},"minAnnualSalary":{"description":"Lower bound of the posted annual salary, in the posted currency.","type":["number","null"]},"minAnnualSalaryUsd":{"description":"Lower bound of the posted annual salary, converted to USD.","type":["number","null"]},"normalizedTitle":{"description":"TheirStack's normalized form of the title.","type":["string","null"]},"postalCode":{"description":"Postal code.","type":["string","null"]},"postedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the job was posted. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"remote":{"description":"True for a fully remote role.","type":["boolean","null"]},"reposted":{"description":"True when the post is a repost of an earlier one.","type":["boolean","null"]},"repostedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the post was last reposted. Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"salaryCurrency":{"description":"Currency the posted salary is in.","type":["string","null"]},"salaryString":{"description":"Salary exactly as the post states it.","type":["string","null"]},"seniority":{"description":"Seniority band TheirStack assigns, e.g. mid_level.","type":["string","null"]},"shortLocation":{"description":"Short form of the location.","type":["string","null"]},"sourceUrl":{"description":"URL TheirStack found the post at.","format":"uri","type":["string","null"]},"stateCode":{"description":"State or region code.","type":["string","null"]},"technologySlugs":{"description":"Technology slugs found in the post.","items":{"type":"string"},"type":["array","null"]},"title":{"description":"Job title as posted.","type":["string","null"]},"url":{"description":"URL of the job post.","format":"uri","type":["string","null"]}},"required":["jobId","title"],"type":"object"},"type":"array"},"totalCompanies":{"description":"Distinct companies matching the filters. TheirStack computes it only when you send includeTotalResults.","type":"integer"},"totalResults":{"description":"Rows matching the filters across all pages. TheirStack computes it only when you send includeTotalResults, and omits it otherwise.","type":"integer"},"truncatedCompanies":{"description":"Companies TheirStack withheld because the plan's result ceiling was reached.","type":"integer"},"truncatedResults":{"description":"Rows TheirStack withheld because the plan's result ceiling was reached.","type":"integer"}},"required":["jobs"],"type":"object"}]},"found":{"description":"False when nothing matched the filters.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Job Search - TheirStack output","type":"object","x-anyapi-serve-imperfect-records":true},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Job Search - TheirStack","tags":["job-search"],"x-mint":{"href":"/api-reference/job-search/theirstack"},"x-payment-info":{"price":{"currency":"USD","max":"9.945600","min":"0.000000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"9.946600","min":"0.001000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"9.945600","min":"0.000000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/levels.jobs":{"post":{"description":"Search Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, posting date and apply link. Returns up to 20 jobs per call, grouped by company; filter by location and sort by relevance, date or pay.\n\n**Price:** \\$0.85 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [Levels.fyi Jobs pricing and uptime](https://getanyapi.com/api/levels/jobs) - live USD price, lane routing, and measured 30-day uptime. [Every Levels endpoint](https://getanyapi.com/api/levels).","operationId":"levels_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"location":"united-states","query":"software engineer"},"schema":{"additionalProperties":false,"example":{"limit":10,"location":"united-states","query":"software engineer"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of jobs to return (1-20, default 20). Levels.fyi groups jobs by company, up to 3 per company, so several results can come from one employer.","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"Levels.fyi location slug as it appears in Levels.fyi URLs, e.g. united-states. Not a free-text city name; omit it to search everywhere.","pattern":"^[a-z0-9][a-z0-9-]{0,127}$","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job title, keywords or company name to search, e.g. software engineer or google.","maxLength":512,"minLength":1,"type":"string"},"sortBy":{"default":"relevance","description":"Sort order: best match (relevance), most recently posted (date), or highest total compensation (compensation).","enum":["relevance","date","compensation"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Levels.fyi Jobs input","type":"object","x-aliases":{"q":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matching jobs, or null when Levels.fyi returned none.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Jobs in Levels.fyi's order, grouped by company. Populated whenever the provider has data for the entity.","items":{"properties":{"applyUrl":{"description":"URL that starts the application, usually the employer's own careers page or a job board.","type":["string","null"]},"company":{"description":"Hiring company name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"companySlug":{"description":"Levels.fyi company slug, e.g. google; null when the source did not send one.","type":["string","null"]},"createdUtc":{"description":"When the job was posted. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"isSponsored":{"description":"Whether the listing is a paid placement on Levels.fyi.","type":["boolean","null"]},"jobId":{"description":"Levels.fyi job id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"location":{"description":"Job location as Levels.fyi shows it, e.g. San Jose, CA. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"logoUrl":{"description":"Company logo image URL.","type":["string","null"]},"remote":{"description":"Whether Levels.fyi marks the job as remote; null when it does not say.","type":["boolean","null"]},"salaryCurrency":{"description":"ISO 4217 currency of the salary and compensation figures, e.g. USD.","type":["string","null"]},"salaryMax":{"description":"High end of the base salary range in salaryCurrency per salaryUnit. null when Levels.fyi shows no salary for the job. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"salaryMin":{"description":"Low end of the base salary range in salaryCurrency per salaryUnit. null when Levels.fyi shows no salary for the job. Populated whenever the provider has data for the entity.","type":["number","null"],"x-anyapi-must-populate":true},"salarySource":{"description":"Where the base salary range comes from, as Levels.fyi labels it, e.g. Levels.fyi base salary. null when the job has no salary range.","type":["string","null"]},"salaryUnit":{"description":"Pay period of the salary and compensation figures, e.g. YEAR.","type":["string","null"]},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"totalCompensationMax":{"description":"High end of the total compensation range (base, stock and bonus). Some ranges are Levels.fyi estimates. null when Levels.fyi shows none.","type":["number","null"]},"totalCompensationMin":{"description":"Low end of the total compensation range (base, stock and bonus). Some ranges are Levels.fyi estimates. null when Levels.fyi shows none.","type":["number","null"]},"totalCompensationSource":{"description":"Where the total compensation range comes from, as Levels.fyi labels it, e.g. Levels.fyi total compensation. Some ranges are Levels.fyi estimates rather than figures the employer posted. null when the job has no total compensation range.","type":["string","null"]},"url":{"description":"Levels.fyi job listing URL. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"workplaceTypes":{"description":"Where the job is worked as Levels.fyi lists it, e.g. office or remote. null when Levels.fyi does not say.","items":{"type":"string"},"type":["array","null"]}},"required":["jobId","title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"total":{"description":"Total number of jobs Levels.fyi matches for the search, beyond the ones returned.","type":["integer","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"Whether Levels.fyi returned jobs for the search.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Levels.fyi Jobs output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"Levels.fyi Jobs","tags":["levels"],"x-mint":{"href":"/api-reference/levels/jobs"},"x-payment-info":{"price":{"amount":"0.000850","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001850","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000850","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.ad":{"post":{"description":"Look up a single LinkedIn Ad Library ad by URL and get the advertiser, headline, creative text, format, CTA, run dates, and impressions as clean JSON.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Ad Details pricing and uptime](https://getanyapi.com/api/linkedin/ad) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_ad","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/ad-library/detail/1487405616"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/ad-library/detail/1487405616"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"LinkedIn Ad Library ad URL (e.g. \"https://www.linkedin.com/ad-library/detail/666281156\").","type":"string"}},"required":["url"],"title":"LinkedIn ad details input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"adType":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiser":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserLinkedinPage":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserLogo":{"description":"Advertiser logo image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"cta":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"description":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"destinationUrl":{"type":"string"},"endDate":{"description":"ISO 8601 date.","type":"string"},"headline":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"type":"string"},"image":{"type":"string"},"startDate":{"description":"ISO 8601 date.","type":"string"},"totalImpressions":{"type":"string"},"url":{"description":"Canonical LinkedIn Ad Library URL for this ad.","type":"string"},"videoUrl":{"description":"Playable video URL for a video ad, or empty string. The query string is a signed token, so keep the URL intact.","type":"string"}},"required":["id","advertiser","advertiserLinkedinPage","headline","description","adType","cta","destinationUrl","image","startDate","endDate","totalImpressions"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn ad details output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Ad Details","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/ad"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.ads":{"post":{"description":"Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).\n\n**Price:** billed per result - \\$0.11 per 1,000 requests base + \\$0.61 per 1,000 results, capped at \\$12.30 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Ads Library pricing and uptime](https://getanyapi.com/api/linkedin/ads) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_ads","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"url":"https://www.linkedin.com/company/stripe"},"schema":{"additionalProperties":false,"example":{"limit":3,"url":"https://www.linkedin.com/company/stripe"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.","maximum":20,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"LinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035).","type":"string"}},"required":["url"],"title":"LinkedIn ads library input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Ad records from the LinkedIn Ad Library. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn ad: advertiser, creative text, format, and ad library URL.","properties":{"advertiser":{"description":"Advertiser (company) name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserLogo":{"description":"Advertiser logo image URL.","type":"string"},"format":{"description":"Ad format (e.g. SINGLE_IMAGE, VIDEO).","type":"string"},"id":{"description":"LinkedIn ad id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Ad creative image URL.","type":"string"},"text":{"description":"Ad creative body text.","type":"string"},"url":{"description":"Canonical LinkedIn Ad Library detail URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one ad was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn ads library output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Ads Library","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/ads"},"x-payment-info":{"price":{"currency":"USD","max":"0.012300","min":"0.000110","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.013300","min":"0.001110","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.012300","min":"0.000110","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.ads_search":{"post":{"description":"Search the LinkedIn Ad Library by company or keyword and list matching ads (advertiser, headline, creative text, format, CTA, and run dates) with pagination.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Ad Search pricing and uptime](https://getanyapi.com/api/linkedin/ads-search) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_ads_search","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"company":"microsoft"},"schema":{"additionalProperties":false,"description":"LinkedIn accepts dates from one year ago through yesterday in UTC. Dates outside that window are adjusted only when your range overlaps it; the response hint names the adjusted dates. Reversed ranges and ranges with no accepted day are rejected before the search.","example":{"company":"microsoft"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"company":{"description":"Company name to search (e.g. \"microsoft\").","type":"string"},"companyId":{"description":"LinkedIn company identifier.","type":"string"},"countries":{"description":"Comma-separated two-letter country codes (e.g. \"US,CA,MX\").","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's `nextCursor`; omit for the first page.","type":"string"},"endDate":{"description":"Search end date in YYYY-MM-DD format. Today or a later date is moved back to yesterday in UTC when your range overlaps LinkedIn's accepted dates. When you send startDate without endDate, the search ends yesterday in UTC, the latest day LinkedIn accepts.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"keyword":{"description":"Keyword term for the ad search.","type":"string"},"paginationToken":{"deprecated":true,"description":"Legacy pagination alias. Prefer `cursor`; omit both fields for the first page.","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"startDate":{"description":"Search start date in YYYY-MM-DD format. An earlier date is moved up to one year ago in UTC when your range overlaps LinkedIn's accepted dates.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"}},"title":"LinkedIn ad search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"ads":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"adType":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiser":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"advertiserLinkedinPage":{"type":"string"},"advertiserLogo":{"description":"Advertiser logo image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"cta":{"type":"string"},"description":{"description":"Ad text. LinkedIn's search results show a preview cut at about 120 characters ending in \"...\" on some ads; linkedin.ad returns the full text.","type":"string"},"destinationUrl":{"type":"string"},"endDate":{"type":"string"},"headline":{"type":"string"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"startDate":{"type":"string"},"totalImpressions":{"type":"string"},"url":{"description":"Canonical LinkedIn Ad Library URL for this ad.","type":"string"}},"required":["id","advertiser","advertiserLinkedinPage","headline","description","adType","cta","destinationUrl","startDate","endDate","totalImpressions"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"type":["string","null"]},"totalAds":{"description":"Total matching ads LinkedIn reports for the search. LinkedIn gives it on the first page only; on later pages it is 0, meaning not given, so keep the first page's total.","type":"integer"}},"required":["nextCursor","totalAds","ads"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn ad search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Ad Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/ads-search"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.article":{"post":{"description":"Read a public LinkedIn article or newsletter issue by URL, including its full body text, author, publication time, and engagement counts.\n\n**Price:** billed per result - \\$5.65 per 1,000 requests base + \\$0.00 per 1,000 results, capped at \\$5.65 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Article pricing and uptime](https://getanyapi.com/api/linkedin/article) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_article","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/pulse/artificial-intelligence-primer-stephen-dover"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/pulse/artificial-intelligence-primer-stephen-dover"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Public LinkedIn article or newsletter issue URL, e.g. https://www.linkedin.com/pulse/your-article-slug. Pair it with the attachmentUrl returned by linkedin.search_posts_full to read the article behind a post.","format":"uri","minLength":1,"type":"string"}},"required":["url"],"title":"LinkedIn Article input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"author":{"description":"Display name of the person or organization that published the article. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorFollowers":{"description":"Follower count of the author at capture time.","type":"integer"},"authorUrl":{"description":"Canonical LinkedIn profile or company URL of the author.","format":"uri","type":"string"},"body":{"description":"Full body text of the article as plain text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"comments":{"description":"Total comments on the article.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"description":{"description":"Short summary of the article, as LinkedIn presents it in previews.","type":"string"},"image":{"description":"Cover image URL of the article.","format":"uri","type":"string"},"reactions":{"description":"Total reactions on the article.","type":"integer"},"title":{"description":"Title of the article. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Kind of LinkedIn publication, e.g. article or issue (a newsletter edition).","type":"string"},"updatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"url":{"description":"Canonical URL of the article. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["url","title","body"],"type":"object"}]},"found":{"description":"False when the URL does not resolve to a readable LinkedIn article.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Article output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Article","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/article"},"x-payment-info":{"price":{"currency":"USD","max":"0.005650","min":"0.005650","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.006650","min":"0.006650","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.005650","min":"0.005650","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.comment_reactions":{"post":{"description":"List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.\n\n**Price:** \\$2.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Comment Reactions pricing and uptime](https://getanyapi.com/api/linkedin/comment-reactions) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_comment_reactions","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510768837462745088%29\u0026dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510768837462745088%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510768837462745088%29\u0026dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510768837462745088%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"Which page of up to 100 reactions to return, starting at 1 (default 1). Each page is billed as one request; totalPages in the response says how many there are.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with \"Copy link to comment\" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A post URL without dashCommentUrn, or a reply's URL (carrying replyUrn), is refused as invalid input, with no charge.","not":{"pattern":"[?\u0026](?:replyUrn|dashReplyUrn)="},"pattern":"^https?://(?:[A-Za-z0-9-]+\\.)?linkedin\\.com/.+[?\u0026]dashCommentUrn=","type":"string"}},"required":["url"],"title":"LinkedIn comment reactions input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The comment reactions result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Reactions on the comment, one record per reactor, newest first.","items":{"properties":{"actor":{"description":"The reactor - the person or company that reacted.","properties":{"id":{"description":"LinkedIn member or company id of the reactor. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Profile picture URL of the reactor.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn profile or company URL of the reactor. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"name":{"description":"Full name of the reactor (or company name). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"Reactor's current job title / headline (or follower count for a company). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name"],"type":"object"},"commentUrn":{"description":"LinkedIn URN of the comment that was reacted to, naming its post and the comment id (e.g. urn:li:comment:(activity:7510715600319467520,7510768837462745088)).","type":"string"},"id":{"description":"LinkedIn identifier of the reaction.","type":"string"},"reactionType":{"description":"Reaction kind (e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT).","type":"string"}},"required":["reactionType","actor"],"type":"object"},"type":"array"},"page":{"description":"The page this response holds, starting at 1.","type":"integer"},"totalPages":{"description":"How many pages of up to 100 reactions the comment has.","type":"integer"},"totalResults":{"description":"How many reactions the comment has in total, across every page.","type":"integer"}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the comment was found with at least one reaction on the requested page.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn comment reactions output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Comment Reactions","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/comment-reactions"},"x-payment-info":{"price":{"amount":"0.002600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.comment_replies":{"post":{"description":"List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.\n\n**Price:** \\$2.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Comment Replies pricing and uptime](https://getanyapi.com/api/linkedin/comment-replies) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_comment_replies","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29\u0026dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29\u0026dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with \"Copy link to comment\" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A reply's URL returns the thread it belongs to. A post URL without dashCommentUrn is refused as invalid input, with no charge.","pattern":"^https?://(?:[A-Za-z0-9-]+\\.)?linkedin\\.com/.+[?\u0026]dashCommentUrn=","type":"string"}},"required":["url"],"title":"LinkedIn comment replies input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The comment replies result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Up to the 10 newest replies to the comment, newest first. Populated whenever the provider has data for the entity.","items":{"properties":{"actor":{"description":"The person or company that replied.","properties":{"id":{"description":"LinkedIn identifier of the replier.","type":"string"},"image":{"description":"Profile picture URL of the replier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"linkedinUrl":{"description":"Canonical LinkedIn URL of the replier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the replier. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"Replier's headline or job title as displayed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Replier kind, e.g. 'profile' or 'company'.","type":"string"}},"type":"object"},"commentary":{"description":"Full text of the reply. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"contentAnnotations":{"description":"Structured mentions and links embedded in the reply text.","items":{"properties":{"hyperlink":{"description":"Canonical hyperlink attached to the annotation, when present.","format":"uri","type":"string"},"length":{"description":"Length of the annotated text span.","minimum":0,"type":"integer"},"profileFirstName":{"description":"First name of a mentioned profile, when present.","type":"string"},"profileHandle":{"description":"Public LinkedIn handle of a mentioned profile, when present.","type":"string"},"profileId":{"description":"LinkedIn identifier of a mentioned profile, when present.","type":"string"},"profileLastName":{"description":"Last name of a mentioned profile, when present.","type":"string"},"profileUrl":{"description":"Canonical LinkedIn URL of a mentioned profile, when present.","format":"uri","type":"string"},"start":{"description":"Zero-based start offset of the annotation in the reply text.","minimum":0,"type":"integer"},"textLink":{"description":"Canonical text link attached to the annotation, when present.","format":"uri","type":"string"},"type":{"description":"Kind of content annotation.","type":"string"}},"type":"object"},"type":"array"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"edited":{"description":"Whether the reply has been edited.","type":"boolean"},"engagement":{"description":"Engagement metrics for the reply.","properties":{"likes":{"description":"Number of reactions on the reply.","type":"integer"},"reactions":{"description":"Per-reaction-type breakdown of the reactions on the reply.","items":{"properties":{"count":{"description":"Number of reactions of this type.","type":"integer"},"type":{"description":"Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"id":{"description":"Unique identifier of the reply. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"postId":{"description":"Identifier of the post the comment belongs to (e.g. activity:7510715600319467520).","type":"string"},"url":{"description":"Canonical permalink URL of the reply. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","commentary"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the comment was found with at least one reply.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn comment replies output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Comment Replies","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/comment-replies"},"x-payment-info":{"price":{"amount":"0.002600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.company":{"post":{"description":"Fetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office locations, funding data, tagline, logo, website, and specialities.\n\n**Price:** \\$1.10 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 5 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company pricing and uptime](https://getanyapi.com/api/linkedin/company) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_company","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/company/stripe"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/company/stripe"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `city` or `postalCode`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["city","companyType","foundedOn","fundingData","line1","pageVerified","postalCode","similarOrganizations"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn company page URL.","type":"string"}},"required":["url"],"title":"LinkedIn company input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"companyType":{"description":"Company type, e.g. Privately Held, Public Company.","type":["string","null"]},"description":{"description":"Company about/description text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"employeeCount":{"description":"Reported total employee count. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"employeeCountRange":{"description":"LinkedIn size bucket the company falls in.","properties":{"end":{"description":"Upper bound of the employee-count bucket; null when the source does not report it.","type":["integer","null"]},"start":{"description":"Lower bound of the employee-count bucket; null when the source does not report it.","type":["integer","null"]}},"type":"object"},"followerCount":{"description":"LinkedIn page follower count. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"foundedOn":{"description":"Founding date (year populated when known).","properties":{"year":{"description":"Year the company was founded.","type":"integer"}},"type":"object"},"fundingData":{"description":"Funding summary sourced from Crunchbase, when available.","properties":{"companyCrunchbaseUrl":{"description":"Crunchbase profile URL for the company.","type":"string"},"lastFundingType":{"description":"Type of the most recent funding round.","type":"string"},"numFundingRounds":{"description":"Total number of funding rounds; null when the source does not report it.","type":["integer","null"]}},"type":["object","null"]},"id":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"industry":{"description":"Primary industry.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn company page URL.","type":"string"},"locations":{"description":"Company office locations, including headquarters.","items":{"properties":{"city":{"description":"City.","type":"string"},"country":{"description":"ISO country code.","type":"string"},"headquarter":{"description":"True when this location is the headquarters.","type":"boolean"},"line1":{"description":"Street address line.","type":"string"},"postalCode":{"description":"Postal code.","type":"string"}},"type":"object"},"type":"array"},"logoUrl":{"description":"Company logo image URL.","type":"string"},"name":{"description":"Company name.","type":"string"},"pageVerified":{"description":"Whether LinkedIn has verified the company page.","type":["boolean","null"]},"similarOrganizations":{"description":"Similar organizations surfaced by LinkedIn.","items":{},"type":["array","null"]},"specialities":{"description":"Company-declared specialities.","items":{},"type":"array"},"tagline":{"description":"Company tagline/slogan.","type":"string"},"universalName":{"description":"LinkedIn universal (vanity) name for the company.","type":"string"},"website":{"description":"Company website URL.","type":"string"}},"required":["name","description","employeeCount","followerCount","industry","website","tagline","logoUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/company"},"x-payment-info":{"price":{"amount":"0.001100","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002100","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001100","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.company_employees":{"post":{"description":"List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.\n\n**Price:** \\$6.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company Employees pricing and uptime](https://getanyapi.com/api/linkedin/company-employees) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_company_employees","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"company":"stripe","limit":3},"schema":{"additionalProperties":false,"example":{"company":"stripe","limit":3},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"company":{"description":"Company name or LinkedIn company URL (e.g. google or https://www.linkedin.com/company/google/).","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"jobTitle":{"description":"Optional job-title filter supporting boolean operators (e.g. CEO OR CTO).","type":"string"},"limit":{"description":"Maximum number of results to return (1-10, default 10).","maximum":10,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `openToWork` or `premium`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on an employee who genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["city","companyId","companyUrl","country","countryCode","createdUtc","creator","firstName","image","influencer","lastName","openToWork","premium"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["company"],"title":"LinkedIn company employees input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Employee records for the company. Populated whenever the provider has data for the entity.","items":{"description":"An employee: name, headline, location, handle, and LinkedIn profile URL.","properties":{"city":{"description":"City of the member, as LinkedIn words it.","type":"string"},"companyId":{"description":"LinkedIn's numeric id of the member's current company, as a string.","type":"string"},"companyUrl":{"description":"Canonical LinkedIn URL of the member's current company.","type":"string"},"country":{"description":"Country name of the member.","type":"string"},"countryCode":{"description":"Two-letter country code of the member.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the profile was created. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"creator":{"description":"Whether the member is in LinkedIn creator mode.","type":"boolean"},"firstName":{"description":"First name.","type":"string"},"handle":{"description":"Public profile identifier (the vanity slug in the URL). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Profile picture URL.","type":"string"},"influencer":{"description":"Whether LinkedIn marks the member as an influencer.","type":"boolean"},"jobTitle":{"description":"The employee's current role or headline.","type":"string"},"lastName":{"description":"Last name.","type":"string"},"location":{"description":"The employee's location as a single string (city, region, country).","type":"string"},"name":{"description":"Full name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openToWork":{"description":"Whether the member shows the Open To Work badge.","type":"boolean"},"premium":{"description":"Whether the member has LinkedIn Premium.","type":"boolean"},"url":{"description":"Canonical LinkedIn profile URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one employee was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company employees output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company Employees","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/company-employees"},"x-payment-info":{"price":{"amount":"0.006000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.007000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.006000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.company_posts":{"post":{"description":"List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company Posts pricing and uptime](https://getanyapi.com/api/linkedin/company-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_company_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/company/stripe"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/company/stripe"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeQuotePosts":{"description":"Include quote posts (posts shared with an added comment). Defaults to true; set false to exclude them.","type":"boolean"},"includeReposts":{"description":"Include reposts (posts shared without an added comment). Defaults to true; set false to exclude them.","type":"boolean"},"limit":{"default":10,"description":"Maximum number of posts to return.","maximum":50,"minimum":1,"type":"integer"},"postedLimit":{"description":"Only return posts published within this window (default any).","enum":["any","1h","24h","week","month","3months","6months","year"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn company page URL.","type":"string"}},"required":["url"],"title":"LinkedIn company posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company posts result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The company's recent posts. Populated whenever the provider has data for the entity.","items":{"properties":{"articleImage":{"description":"Cover image URL of the attached article. The query string is a signed token, so keep the URL intact.","type":"string"},"articleLinkLabel":{"description":"Accessible link label LinkedIn renders for the attached article.","type":"string"},"articleSubtitle":{"description":"Subtitle or source domain of the attached article.","type":"string"},"articleTitle":{"description":"Title of the article attached to the post.","type":"string"},"articleUrl":{"description":"Destination URL of the attached article.","type":"string"},"author":{"description":"The post author (a company or a profile).","properties":{"followers":{"description":"Author follower count as displayed text (e.g. '1,543,793 followers'). Absent when the author is a person, whose card shows a headline instead.","type":"string"},"handle":{"description":"Public identifier (vanity handle) of the author.","type":"string"},"id":{"description":"LinkedIn identifier of the author.","type":"string"},"image":{"description":"Author avatar or company logo image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn URL of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Author kind, e.g. 'company' or 'profile'.","type":"string"},"universalName":{"description":"URL-safe company/profile handle, when present. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"type":"object"},"contentAttributes":{"description":"Inline mentions and entity references in the post text.","items":{"type":"object"},"type":"array"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"engagement":{"description":"Engagement metrics for the post.","properties":{"comments":{"description":"Number of comments on the post.","type":"integer"},"likes":{"description":"Total reaction count on the post. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"reactions":{"description":"Per-reaction-type breakdown of the reaction total.","items":{"properties":{"count":{"description":"Number of reactions of this type.","type":"integer"},"type":{"description":"Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.","type":"string"}},"type":"object"},"type":"array"},"shares":{"description":"Number of shares/reposts of the post.","type":"integer"}},"type":"object"},"id":{"description":"Unique identifier of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"postImages":{"description":"Images attached to the post.","items":{"type":"object"},"type":"array"},"postVideo":{"description":"Video attached to the post, or null when absent.","type":["object","null"]},"repostAuthorName":{"description":"Display name of the account that reposted this post.","type":"string"},"repostAuthorUniversalName":{"description":"URL-safe handle of the account that reposted this post.","type":"string"},"repostAuthorUrl":{"description":"Canonical LinkedIn URL of the account that reposted this post.","type":"string"},"repostCreatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) of the repost. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"shareUrl":{"description":"Shareable LinkedIn URL for the post.","type":"string"},"text":{"description":"Full text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the company posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company Posts","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/company-posts"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.company_posts_thin":{"post":{"description":"Post text and link only. No engagement counts, author details, media, or reaction breakdown - for those use linkedin.company_posts.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company Posts (basic) pricing and uptime](https://getanyapi.com/api/linkedin/company-posts-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_company_posts_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/company/stripe"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/company/stripe"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"description":"Page number for pagination.","minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn company page URL.","type":"string"}},"required":["url"],"title":"LinkedIn company posts (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The company posts result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The company's recent posts. Populated whenever the provider has data for the entity.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"Unique identifier of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"text":{"description":"Text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the company posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company posts (basic) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company Posts (basic)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/company-posts-thin"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.company_thin":{"post":{"description":"Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company (basic) pricing and uptime](https://getanyapi.com/api/linkedin/company-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_company_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/company/stripe"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/company/stripe"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `companyType` or `coverImage`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a company page that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["companyType","coverImage"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn company page URL.","type":"string"}},"required":["url"],"title":"LinkedIn company (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"companyType":{"description":"Company type, e.g. Privately Held, Public Company.","type":["string","null"]},"coverImage":{"description":"Company page cover image URL. The query string is a signed token, so keep the URL intact.","type":["string","null"],"x-anyapi-domain":"licdn.com"},"description":{"description":"Company about/description text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"employeeCount":{"description":"Reported employee count.","type":"integer"},"followerCount":{"description":"LinkedIn page follower count.","type":"integer"},"foundedYear":{"description":"Year the company was founded, or 0 when unknown.","type":"integer"},"id":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"industry":{"description":"Primary industry. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"linkedinUrl":{"description":"Canonical LinkedIn company page URL.","type":"string","x-anyapi-domain":"linkedin.com"},"logoUrl":{"description":"Company logo image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"licdn.com","x-anyapi-must-populate":true},"name":{"description":"Company name.","type":"string"},"tagline":{"description":"Company tagline/slogan. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"universalName":{"description":"LinkedIn universal (vanity) name for the company.","type":"string"},"website":{"description":"Company website URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name","description","employeeCount","industry","website","tagline","logoUrl"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company (basic) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company (basic)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/company-thin"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.email":{"post":{"description":"Find the deliverability-validated work email behind a LinkedIn profile URL or public ID. Returns each discovered email with its deliverability, validation status, and quality score, plus the person's name and headline.\n\n**Price:** billed per result - \\$11.00 per 1,000 requests base + \\$0.00 per 1,000 results, capped at \\$11.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Email Finder pricing and uptime](https://getanyapi.com/api/linkedin/email) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_email","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"profileUrl":"https://www.linkedin.com/in/satyanadella"},"schema":{"additionalProperties":false,"example":{"profileUrl":"https://www.linkedin.com/in/satyanadella"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"profileUrl":{"description":"LinkedIn profile URL or public identifier (the last part of the URL) to find the deliverability-validated work email for.","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["profileUrl"],"title":"LinkedIn email finder input","type":"object","x-aliases":{"url":"profileUrl"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile with its discovered emails, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"about":{"description":"About/summary text of the profile.","type":"string"},"avatarUrl":{"description":"URL of the profile avatar image.","type":"string"},"city":{"description":"City of the profile owner.","type":"string"},"connectionsCount":{"description":"Number of connections on the profile.","type":"integer"},"country":{"description":"Country of the profile owner.","type":"string"},"countryCode":{"description":"Two-letter country code of the profile owner.","type":"string"},"coverImage":{"description":"Profile cover (banner) image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"creator":{"description":"Whether the member is in LinkedIn creator mode.","type":"boolean"},"emails":{"description":"Deliverability-validated work emails discovered for the profile. Populated whenever the provider has data for the entity.","items":{"description":"A discovered email with its deliverability and validation signals.","properties":{"deliverable":{"description":"True when the email passed deliverability checks (including SMTP).","type":"boolean"},"email":{"description":"Discovered work email address. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"qualityScore":{"description":"Confidence score for the email, 0-100.","type":"integer"},"status":{"description":"Validation status of the email (e.g. valid). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"validEmailServer":{"description":"True when the domain has a valid mail server.","type":"boolean"}},"required":["email"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"firstName":{"description":"First name on the LinkedIn profile.","type":"string"},"followerCount":{"description":"Number of followers of the profile.","type":"integer"},"handle":{"description":"Public identifier (vanity handle) of the profile.","type":"string"},"headline":{"description":"Profile headline.","type":"string"},"hiring":{"description":"Whether the member shows the Hiring badge.","type":"boolean"},"id":{"description":"LinkedIn member identifier.","type":"string"},"influencer":{"description":"Whether LinkedIn marks the member as an influencer.","type":"boolean"},"lastName":{"description":"Last name on the LinkedIn profile.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn profile URL.","type":"string"},"location":{"description":"Location as LinkedIn displays it.","type":"string"},"openToWork":{"description":"Whether the member shows the Open To Work badge.","type":"boolean"},"premium":{"description":"Whether the member has LinkedIn Premium.","type":"boolean"},"state":{"description":"State or region of the profile owner.","type":"string"},"verified":{"description":"Whether LinkedIn has verified the member's identity.","type":"boolean"}},"required":["emails"],"type":"object"}]},"found":{"description":"True when at least one email was discovered for the profile.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn email finder output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Email Finder","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/email"},"x-payment-info":{"price":{"currency":"USD","max":"0.011000","min":"0.011000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"currency":"USD","max":"0.012000","min":"0.012000","minimumUsd":"0.001000","mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"currency":"USD","max":"0.011000","min":"0.011000","minimumUsd":null,"mode":"dynamic","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.group":{"post":{"description":"Fetch one LinkedIn group by URL or id: name, description, rules, member count, logo and cover image, creation date, visibility and join settings, and its admins.\n\n**Price:** \\$1.30 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Group pricing and uptime](https://getanyapi.com/api/linkedin/group) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_group","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/groups/1898033"},"schema":{"additionalProperties":false,"anyOf":[{"required":["url"]},{"required":["groupId"]}],"example":{"url":"https://www.linkedin.com/groups/1898033"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"groupId":{"description":"Numeric LinkedIn group id (e.g. 1898033), the number in the group URL. Send this or url.","minLength":1,"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033). Send this or groupId.","minLength":1,"type":"string"}},"title":"LinkedIn group input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The group record, or null when no group matches.","oneOf":[{"type":"null"},{"description":"A LinkedIn group: identity, about text, size, images, settings, and admins.","properties":{"adminCount":{"description":"Total number of group admins.","type":["integer","null"]},"admins":{"description":"Group admins LinkedIn shows on the group page.","items":{"description":"One group admin.","properties":{"firstName":{"description":"Admin first name.","type":"string"},"headline":{"description":"Admin profile headline.","type":"string"},"id":{"description":"LinkedIn member id of the admin.","type":"string"},"image":{"description":"Admin profile picture URL. The query string is a signed token, so keep the URL intact.","type":"string"},"lastName":{"description":"Admin last name.","type":"string"},"url":{"description":"Canonical LinkedIn profile URL of the admin.","type":"string"}},"type":"object"},"type":"array"},"coverImage":{"description":"Group cover (hero) image URL. The query string is a signed token, so keep the URL intact.","type":["string","null"]},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":["number","null"]},"description":{"description":"Group about text.","type":["string","null"]},"id":{"description":"Numeric LinkedIn group id, as a string.","type":"string"},"image":{"description":"Group logo image URL. The query string is a signed token, so keep the URL intact.","type":["string","null"]},"invitationLevel":{"description":"Who may invite new members, as LinkedIn reports it (e.g. ADMIN, ALL).","type":["string","null"]},"memberCount":{"description":"Number of group members.","type":["integer","null"]},"name":{"description":"Group name.","type":"string"},"postApprovalEnabled":{"description":"True when admins must approve posts before they appear.","type":["boolean","null"]},"publicVisibility":{"description":"True when the group is publicly visible (listed in search), false when unlisted.","type":["boolean","null"]},"rules":{"description":"Group rules as written by its admins.","type":["string","null"]},"url":{"description":"Canonical LinkedIn group URL.","type":"string"}},"required":["id","name","url","description","rules","memberCount","image","coverImage","createdUtc","invitationLevel","publicVisibility","postApprovalEnabled","adminCount","admins"],"type":"object"}]},"found":{"description":"True when the group exists.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn group output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Group","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/group"},"x-payment-info":{"price":{"amount":"0.001300","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002300","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001300","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.group_posts":{"post":{"description":"List the posts in a LinkedIn group by group URL, newest first: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media. One call returns a page of about 100 posts; pass page to go further back.\n\n**Price:** \\$2.60 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Group Posts pricing and uptime](https://getanyapi.com/api/linkedin/group-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_group_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/groups/1898033"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/groups/1898033"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"Which page of about 100 posts to return, starting at 1 (default 1). Page 2 continues where page 1 ended, going further back in time. Each page is billed as one request.","minimum":1,"type":"integer"},"postedLimit":{"description":"Only return posts published within this window (default any). The window is applied to the page, so a page can come back with fewer posts or none.","enum":["any","1h","24h","week","month","3months","6months","year"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).","type":"string"}},"required":["url"],"title":"LinkedIn group posts input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The group posts, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Posts in the group, newest first. A post the group admins pinned can come first on page 1. Populated whenever the provider has data for the entity.","items":{"properties":{"articleDescription":{"description":"Description excerpt of the attached article, when present.","type":"string"},"articleImage":{"description":"Cover image URL of the attached article. The query string is a signed token, so keep the URL intact.","type":"string"},"articleLinkLabel":{"description":"Accessible link label LinkedIn renders for the attached article.","type":"string"},"articleSubtitle":{"description":"Subtitle or source domain of the attached article.","type":"string"},"articleTitle":{"description":"Title of the article attached to the post.","type":"string"},"articleUrl":{"description":"Destination URL of the attached article.","type":"string"},"author":{"description":"The member who posted in the group.","properties":{"groupAdmin":{"description":"Whether LinkedIn labels the author as an admin of this group.","type":"boolean"},"handle":{"description":"Public identifier (vanity handle) of the author.","type":"string"},"headline":{"description":"Profile headline of the author (the tagline under the name).","type":"string"},"id":{"description":"LinkedIn identifier of the author.","type":"string"},"image":{"description":"Author profile picture URL. The query string is a signed token, so keep the URL intact.","type":"string"},"linkedinUrl":{"description":"LinkedIn profile URL of the author, with tracking query params stripped. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Author kind, e.g. profile.","type":"string"},"website":{"description":"Website URL the author shows on their profile, when present.","type":"string"}},"type":"object"},"contentAttributes":{"description":"Inline links, mentions and entity references in the post text, each with its character offset.","items":{"type":"object"},"type":"array"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"documentImage":{"description":"Cover image URL of the attached document's first page, when present. The query string is a signed token, so keep the URL intact.","format":"uri","type":"string"},"documentPageCount":{"description":"Number of pages in the attached document, when present.","minimum":0,"type":"integer"},"documentTitle":{"description":"Title of the document (PDF carousel) attached to the post, when present.","type":"string"},"documentUrl":{"description":"Download URL of the attached document as a PDF, when present. The query string is a signed token that expires, so keep the URL intact.","format":"uri","type":"string"},"edited":{"description":"Whether the post was edited after it was published.","type":"boolean"},"engagement":{"description":"Engagement metrics for the post.","properties":{"comments":{"description":"Number of comments on the post.","type":"integer"},"likes":{"description":"Total reaction count on the post. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"reactions":{"description":"Per-reaction-type breakdown of the reaction total.","items":{"properties":{"count":{"description":"Number of reactions of this type.","type":"integer"},"type":{"description":"Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.","type":"string"}},"type":"object"},"type":"array"},"shares":{"description":"Number of shares/reposts of the post.","type":"integer"}},"type":"object"},"id":{"description":"Unique identifier of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"newsletterTitle":{"description":"Title of the LinkedIn newsletter associated with the post, when present.","type":"string"},"newsletterUrl":{"description":"Canonical URL of the LinkedIn newsletter associated with the post, when present.","format":"uri","type":"string"},"pinned":{"description":"Whether the group admins pinned the post to the top of the group.","type":"boolean"},"pollClosed":{"description":"Whether the attached poll is closed.","type":"boolean"},"pollOptions":{"description":"Options and public vote counts for an attached poll.","items":{"properties":{"text":{"description":"Poll option text.","type":"string"},"votes":{"description":"Votes recorded for this option.","minimum":0,"type":"integer"}},"required":["text","votes"],"type":"object"},"type":"array"},"pollQuestion":{"description":"Question asked by an attached LinkedIn poll.","type":"string"},"pollTotalVotes":{"description":"Total votes recorded by the attached poll.","minimum":0,"type":"integer"},"postImages":{"description":"Images attached to the post.","items":{"type":"object"},"type":"array"},"postVideo":{"description":"Video attached to the post, or null when absent.","type":["object","null"]},"repostArticleDescription":{"description":"Description excerpt of the reposted post's article, when present.","type":"string"},"repostArticleImage":{"description":"Image URL of the reposted post's article, when present.","format":"uri","type":"string"},"repostArticleLinkLabel":{"description":"Accessible display label for the reposted post's article link, when present.","type":"string"},"repostArticleSubtitle":{"description":"Subtitle or publisher label of the reposted post's article, when present.","type":"string"},"repostArticleTitle":{"description":"Title of the article attached to the reposted post, when present.","type":"string"},"repostArticleUrl":{"description":"Canonical URL of the reposted post's article, when present.","format":"uri","type":"string"},"repostAuthorHandle":{"description":"Public LinkedIn profile handle of the reposted post's author, when present.","type":"string"},"repostAuthorHeadline":{"description":"Headline or follower summary of the reposted post's author, when present.","type":"string"},"repostAuthorId":{"description":"Stable LinkedIn identifier of the reposted post's author, when present.","type":"string"},"repostAuthorImage":{"description":"Image URL of the reposted post's author, when present.","format":"uri","type":"string"},"repostAuthorName":{"description":"Display name of the reposted post's author, when present.","type":"string"},"repostAuthorType":{"description":"Author kind for the reposted post, when present.","type":"string"},"repostAuthorUniversalName":{"description":"Universal LinkedIn name of the reposted post's company author, when present.","type":"string"},"repostAuthorUrl":{"description":"Canonical LinkedIn URL of the reposted post's author, when present.","format":"uri","type":"string"},"repostCreatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the reposted post was published. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"repostEngagement":{"description":"Engagement metrics for the reposted post, when present.","properties":{"comments":{"description":"Number of comments on the reposted post.","type":"integer"},"likes":{"description":"Total reaction count on the reposted post.","type":"integer"},"shares":{"description":"Number of shares/reposts of the reposted post.","type":"integer"}},"type":"object"},"repostId":{"description":"Unique identifier of the reposted post, when present.","type":"string"},"repostImages":{"description":"Images attached to the reposted post.","items":{"properties":{"height":{"description":"Height of the reposted image in pixels.","minimum":0,"type":"integer"},"url":{"description":"URL of an image attached to the reposted post.","format":"uri","type":"string"},"width":{"description":"Width of the reposted image in pixels.","minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"type":"array"},"repostText":{"description":"Text content of the reposted post, when present.","type":"string"},"repostUrl":{"description":"Canonical URL of the reposted post, when present.","format":"uri","type":"string"},"repostVideoThumbnail":{"description":"Video thumbnail image URL of the reposted post, when present.","format":"uri","type":"string"},"repostVideoUrl":{"description":"Video stream URL of the reposted post, when present. The query string is a signed token, so keep the URL intact.","format":"uri","type":"string"},"shareUrl":{"description":"Shareable LinkedIn URL for the post.","type":"string"},"text":{"description":"Full text content of the post. Empty for a repost shared without added text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether the group returned any posts.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn group posts output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Group Posts","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/group-posts"},"x-payment-info":{"price":{"amount":"0.002600","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003600","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002600","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.job":{"post":{"description":"Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Job pricing and uptime](https://getanyapi.com/api/linkedin/job) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_job","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/jobs/view/4431721875/"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/jobs/view/4431721875/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn job posting URL, e.g. https://www.linkedin.com/jobs/view/4431721875/.","type":"string"}},"required":["url"],"title":"LinkedIn job input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The job posting record, or null when not found.","oneOf":[{"type":"null"},{"description":"A single LinkedIn job posting with full detail: title, description, salary, applicant count, seniority, apply links, hiring team, and the hiring company.","properties":{"applicantTrackingSystem":{"description":"Applicant tracking system behind the posting (e.g. Workday, Lever, Greenhouse), when LinkedIn reports one.","type":"string"},"applicants":{"description":"Number of applicants reported by LinkedIn. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"applyUrl":{"description":"External company apply URL when the job applies off-site.","type":"string"},"benefits":{"description":"Listed benefits.","items":{"type":"string"},"type":"array"},"city":{"description":"City of the job location.","type":"string"},"company":{"description":"Hiring company details.","properties":{"description":{"description":"Company About text.","type":"string"},"employeeCount":{"description":"Number of employees LinkedIn reports for the company.","type":"integer"},"followerCount":{"description":"Number of followers of the company page.","type":"integer"},"id":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","type":"string","x-anyapi-domain":"linkedin.com"},"logo":{"description":"Company logo image URL.","type":"string","x-anyapi-domain":"licdn.com"},"name":{"description":"Company name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"universalName":{"description":"Company LinkedIn universal (vanity) name.","type":"string"},"website":{"description":"Company website.","type":"string"}},"type":"object"},"country":{"description":"Country of the job location.","type":"string"},"countryCode":{"description":"Two-letter country code of the job location.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the job was posted. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"descriptionText":{"description":"Full job description as plain text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"easyApplyUrl":{"description":"LinkedIn Easy Apply URL when available.","type":"string","x-anyapi-domain":"linkedin.com"},"employmentType":{"description":"Employment type (e.g. full_time, contract, part_time).","type":"string"},"experienceLevel":{"description":"Seniority / experience level (e.g. Mid-Senior level, Entry level).","type":"string"},"expireUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the posting expires. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"hiringTeam":{"description":"LinkedIn members named on the posting as the hiring contacts.","items":{"description":"One named hiring contact.","properties":{"linkedinUrl":{"description":"Canonical LinkedIn profile URL.","type":"string","x-anyapi-domain":"linkedin.com"},"name":{"description":"Member name.","type":"string"},"position":{"description":"Member headline or job title.","type":"string"}},"type":"object"},"type":"array"},"id":{"description":"LinkedIn job posting id.","type":"string"},"industries":{"description":"Industries associated with the role.","items":{"type":"string"},"type":"array"},"jobState":{"description":"Posting state reported by LinkedIn (e.g. LISTED, CLOSED).","type":"string"},"location":{"description":"Job location (city, region, or country).","type":"string"},"remote":{"description":"Whether LinkedIn flags the role as remote-allowed.","type":"boolean"},"salary":{"description":"Salary range when disclosed by the poster.","properties":{"max":{"description":"Maximum salary.","type":"number"},"min":{"description":"Minimum salary.","type":"number"},"text":{"description":"Salary as displayed (e.g. '300,000 - 330,000 USD').","type":"string"}},"type":"object"},"state":{"description":"State or region of the job location.","type":"string"},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn job posting URL.","type":"string","x-anyapi-domain":"linkedin.com"},"views":{"description":"Number of views LinkedIn reports for the posting.","type":"integer"},"workplaceType":{"description":"Workplace type (e.g. remote, on_site, hybrid).","type":"string"}},"required":["title","url"],"type":"object"}]},"found":{"description":"Whether the job posting was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn job output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Job","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/job"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.jobs":{"post":{"description":"Search LinkedIn job listings by title and location - full records with description, salary, applicant count, seniority, company details, and benefits. Up to 25 jobs per request.\n\n**Price:** \\$19.50 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Jobs pricing and uptime](https://getanyapi.com/api/linkedin/jobs) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_jobs","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"location":"United States","query":"software engineer","workplaceType":"remote"},"schema":{"additionalProperties":false,"example":{"limit":3,"location":"United States","query":"software engineer","workplaceType":"remote"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"company":{"description":"Filter to a specific company by name (e.g. Google).","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of job listings.","type":"string"},"easyApply":{"description":"When true, only return jobs offering LinkedIn Easy Apply.","type":"boolean"},"employmentType":{"description":"Filter by employment type.","enum":["full-time","part-time","contract","internship","temporary"],"type":"string"},"experienceLevel":{"description":"Filter by required seniority/experience level.","enum":["internship","entry","associate","mid-senior","director","executive"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Accepted for compatibility and ignored: each call returns one full page of up to 25 jobs at one flat price per call; follow nextCursor for more.","maximum":25,"minimum":1,"type":"integer"},"location":{"description":"City, region, or country to search within (e.g. United States, San Francisco).","type":"string"},"postedLimit":{"description":"Only jobs posted within this window (past hour, 24 hours, week, or month).","enum":["1h","24h","week","month"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job title or keywords to search. Supports LinkedIn boolean operators.","type":"string"},"salary":{"description":"Filter by minimum base salary band (US dollars).","enum":["40k+","60k+","80k+","100k+","120k+","140k+","160k+","180k+","200k+"],"type":"string"},"sortBy":{"description":"Sort order: most recent (date) or best match (relevance).","enum":["date","relevance"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"under10Applicants":{"description":"When true, only return jobs with fewer than 10 applicants (lower competition).","type":"boolean"},"workplaceType":{"description":"Filter by workplace type (remote, hybrid, or onsite).","enum":["remote","hybrid","onsite"],"type":"string"}},"required":["query"],"title":"LinkedIn Jobs input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Full job listing records for the search. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn job listing with full detail: title, description, salary, applicant count, seniority, company, and benefits.","properties":{"applicantTrackingSystem":{"description":"Applicant tracking system behind the external apply link (e.g. Greenhouse).","type":"string"},"applicants":{"description":"Number of applicants reported by LinkedIn. Populated whenever the provider has data for the entity.","type":"integer","x-anyapi-must-populate":true},"applyUrl":{"description":"External company apply URL when the job applies off-site.","type":"string"},"benefits":{"description":"Listed benefits.","items":{"type":"string"},"type":"array"},"city":{"description":"City of the job location.","type":"string"},"company":{"description":"Hiring company details.","properties":{"description":{"description":"Company About text.","type":"string"},"employeeCount":{"description":"Number of employees LinkedIn reports for the company.","type":"integer"},"followerCount":{"description":"Number of followers of the company page.","type":"integer"},"id":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn company URL.","type":"string"},"logo":{"description":"Company logo image URL.","type":"string"},"name":{"description":"Company name.","type":"string"},"universalName":{"description":"Company LinkedIn universal (vanity) name.","type":"string"},"website":{"description":"Company website.","type":"string"}},"type":"object"},"country":{"description":"Country of the job location.","type":"string"},"countryCode":{"description":"Two-letter country code of the job location.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the job was posted. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"descriptionText":{"description":"Full job description as plain text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"easyApplyUrl":{"description":"LinkedIn Easy Apply URL when available.","type":"string"},"employmentType":{"description":"Employment type (e.g. full_time, contract, part_time).","type":"string"},"experienceLevel":{"description":"Seniority / experience level (e.g. Mid-Senior level, Entry level).","type":"string"},"expireUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the posting expires. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"LinkedIn job listing id.","type":"string"},"industries":{"description":"Industries associated with the role.","items":{"type":"string"},"type":"array"},"jobState":{"description":"Posting state reported by LinkedIn (e.g. LISTED, CLOSED).","type":"string"},"location":{"description":"Job location (city, region, or country).","type":"string"},"remote":{"description":"Whether LinkedIn flags the role as remote-allowed.","type":"boolean"},"salary":{"description":"Salary range when disclosed by the poster.","properties":{"max":{"description":"Maximum salary; null when the posting shows none.","type":["number","null"]},"min":{"description":"Minimum salary; null when the posting shows none.","type":["number","null"]},"text":{"description":"Salary as displayed (e.g. '300,000 - 330,000 USD').","type":"string"}},"type":"object"},"state":{"description":"State or region of the job location.","type":"string"},"title":{"description":"Job title.","type":"string"},"url":{"description":"Canonical LinkedIn job listing URL.","type":"string"},"views":{"description":"Number of views LinkedIn reports for the posting.","type":"integer"},"workplaceType":{"description":"Workplace type (e.g. remote, on_site, hybrid).","type":"string"}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of job listings, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one job listing was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Jobs output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Jobs","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/jobs"},"x-payment-info":{"price":{"amount":"0.019500","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.020500","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.019500","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.jobs_thin":{"post":{"description":"Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.\n\n**Price:** \\$0.59 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Jobs (index) pricing and uptime](https://getanyapi.com/api/linkedin/jobs-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_jobs_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"location":"United States","query":"software engineer","workplaceType":"remote"},"schema":{"additionalProperties":false,"example":{"limit":3,"location":"United States","query":"software engineer","workplaceType":"remote"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyId":{"description":"Filter to a specific company by its LinkedIn numeric company id.","type":"string"},"cursor":{"description":"Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of job listings.","type":"string"},"employmentType":{"description":"Filter by employment type.","enum":["full-time","part-time","contract","internship","temporary"],"type":"string"},"experienceLevel":{"description":"Filter by required seniority/experience level.","enum":["internship","entry","associate","mid-senior","director","executive"],"type":"string"},"geoId":{"description":"LinkedIn geo id to target a precise location (e.g. 103644278 for the United States); more exact than the free-text location.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Accepted for compatibility and ignored: each call returns one full source page (10 or 25 jobs depending on source); follow nextCursor for more.","maximum":25,"minimum":1,"type":"integer"},"location":{"description":"City, region, or country to search within.","type":"string"},"postedLimit":{"description":"Only jobs posted within this window (past 24 hours, week, or month).","enum":["24h","week","month"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Job title or keywords to search.","type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `logoUrl`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["logoUrl"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"workplaceType":{"description":"Filter by workplace type (remote, hybrid, or onsite).","enum":["remote","hybrid","onsite"],"type":"string"}},"required":["query"],"title":"LinkedIn Jobs (index) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Job listing index records for the search. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn job listing index entry: title, company, location, posting date, and the listing URL.","properties":{"company":{"description":"Hiring company name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"companyUrl":{"description":"Canonical LinkedIn company URL.","type":"string","x-anyapi-domain":"linkedin.com"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"LinkedIn job listing id.","type":"string"},"location":{"description":"Job location (city, region). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"logoUrl":{"description":"Hiring company logo image URL.","type":"string","x-anyapi-domain":"licdn.com"},"title":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn job listing URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"linkedin.com","x-anyapi-must-populate":true}},"required":["title","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of job listings, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one job listing was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Jobs (index) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Jobs (index)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/jobs-thin"},"x-payment-info":{"price":{"amount":"0.000590","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001590","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000590","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.post":{"post":{"description":"Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).\n\n**Price:** \\$0.64 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 5 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Post pricing and uptime](https://getanyapi.com/api/linkedin/post) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_post","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `image`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["authorImage","image"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn post or article URL.","type":"string"}},"required":["url"],"title":"LinkedIn post input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The post result, or null when not found.","oneOf":[{"type":"null"},{"properties":{"author":{"description":"Name of the post author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"authorImage":{"description":"Author avatar or company logo image URL, or null when the serving source does not carry one. The query string is a signed token, so keep the URL intact.","type":["string","null"],"x-anyapi-domain":"licdn.com"},"authorUrl":{"description":"LinkedIn URL of the post author.","type":"string","x-anyapi-domain":"linkedin.com"},"comments":{"description":"Number of comments on the post.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"image":{"description":"First image attached to the post, or null when the serving source does not carry one. The query string is a signed token, so keep the URL intact.","type":["string","null"],"x-anyapi-domain":"licdn.com"},"likes":{"description":"Number of likes on the post.","type":"integer"},"text":{"description":"Text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"title":{"description":"Title of the post.","type":"string"},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-domain":"linkedin.com","x-anyapi-must-populate":true}},"required":["url","title","text","author","likes","comments","createdUtc"],"type":"object"}]},"found":{"description":"Whether the post was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn post output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/post"},"x-payment-info":{"price":{"amount":"0.000640","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001640","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000640","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.post_comments":{"post":{"description":"List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Post Comments pricing and uptime](https://getanyapi.com/api/linkedin/post-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_post_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Maximum number of comments to return.","maximum":100,"minimum":1,"type":"integer"},"postedLimit":{"description":"Only return comments posted within this window (default any).","enum":["any","24h","week","month","3months","6months","year"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full URL of the LinkedIn post to list comments for.","type":"string"}},"required":["url"],"title":"LinkedIn post comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The post comments result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"The post's comments. Populated whenever the provider has data for the entity.","items":{"properties":{"actor":{"description":"The commenter (a profile or a company).","properties":{"id":{"description":"LinkedIn identifier of the commenter.","type":"string"},"image":{"description":"Profile picture URL of the commenter. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"linkedinUrl":{"description":"Canonical LinkedIn URL of the commenter. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the commenter. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"Commenter's headline or job title as displayed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Commenter kind, e.g. 'profile' or 'company'.","type":"string"}},"type":"object"},"commentary":{"description":"Full text of the comment. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"edited":{"description":"Whether the comment has been edited.","type":"boolean"},"engagement":{"description":"Engagement metrics for the comment.","properties":{"comments":{"description":"Number of replies to the comment.","type":"integer"},"likes":{"description":"Number of likes on the comment.","type":"integer"}},"type":"object"},"id":{"description":"Unique identifier of the comment. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pinned":{"description":"Whether the comment is pinned on the post.","type":"boolean"},"url":{"description":"Canonical permalink URL of the comment. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","commentary"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether comments were found for the post.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn post comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post Comments","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/post-comments"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.post_reactions":{"post":{"description":"List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Post Reactions pricing and uptime](https://getanyapi.com/api/linkedin/post-reactions) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_post_reactions","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":5,"url":"https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG"},"schema":{"additionalProperties":false,"example":{"limit":5,"url":"https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"description":"Maximum number of reactions to return (1-100, default 100).","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `postId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["postId"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"URL of the LinkedIn post to list reactions for (a /posts/...-activity-... or /feed/update/urn:li:activity:... link).","minLength":1,"type":"string"}},"required":["url"],"title":"LinkedIn Post Reactions input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Reactions on the post, one record per reactor.","items":{"properties":{"actor":{"description":"The reactor - the person or company that reacted.","properties":{"id":{"description":"LinkedIn member or company id of the reactor. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"linkedinUrl":{"description":"Canonical LinkedIn profile or company URL of the reactor. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"name":{"description":"Full name of the reactor (or company name). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pictureUrl":{"description":"Profile picture URL of the reactor.","type":"string"},"position":{"description":"Reactor's current job title / headline (or follower count for a company). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["name"],"type":"object"},"id":{"description":"LinkedIn identifier of the reaction.","type":"string"},"postId":{"description":"LinkedIn URN of the post that was reacted to.","type":["string","null"]},"reactionType":{"description":"Reaction kind (e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT).","type":"string"}},"required":["reactionType","actor"],"type":"object"},"type":"array"}},"required":["items"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Post Reactions output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post Reactions","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/post-reactions"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.post_transcript":{"post":{"description":"Get the spoken transcript of a LinkedIn video post by URL.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Post Transcript pricing and uptime](https://getanyapi.com/api/linkedin/post-transcript) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_post_transcript","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/posts/artificial-analysis_gemini-35-flash-is-a-step-forward-for-google-activity-7465082408409870337-4Pm-"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/posts/artificial-analysis_gemini-35-flash-is-a-step-forward-for-google-activity-7465082408409870337-4Pm-"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"The full URL of the LinkedIn post to get the video transcript from.","type":"string"}},"required":["url"],"title":"LinkedIn Post Transcript input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"properties":{"transcript":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"transcriptNotAvailable":{"type":"boolean"},"url":{"type":"string"}},"required":["url","transcript","transcriptNotAvailable"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Post Transcript output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post Transcript","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/post-transcript"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile":{"post":{"description":"Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile pricing and uptime](https://getanyapi.com/api/linkedin/profile) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/in/patrickcollison"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/in/patrickcollison"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `topSkills` or `workplaceType`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["endorsements","positions","schoolId","topSkills","workplaceType"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn profile URL.","type":"string"}},"required":["url"],"title":"LinkedIn profile input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile result, or null when not found.","oneOf":[{"type":"null"},{"properties":{"about":{"description":"About/summary text of the profile.","type":"string"},"certifications":{"description":"Licenses and certifications.","items":{"properties":{"issuedAt":{"description":"Issue date text.","type":"string"},"issuedBy":{"description":"Issuing organization.","type":"string"},"title":{"description":"Certification title.","type":"string"}},"type":"object"},"type":"array"},"city":{"description":"City of the profile owner.","type":"string"},"connectionsCount":{"description":"Number of connections.","type":"integer"},"country":{"description":"Country of the profile owner.","type":"string"},"countryCode":{"description":"Two-letter country code of the profile owner.","type":"string"},"coverImage":{"description":"Profile cover (banner) image URL. The query string is a signed token, so keep the URL intact.","type":"string","x-anyapi-domain":"licdn.com"},"creator":{"description":"Whether the member is in LinkedIn creator mode.","type":"boolean"},"currentPosition":{"description":"The member's current role(s).","items":{"properties":{"companyId":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"companyLinkedinUrl":{"description":"Company LinkedIn URL.","type":"string","x-anyapi-domain":"linkedin.com"},"companyName":{"description":"Company name.","type":"string"},"duration":{"description":"Human-readable tenure, e.g. '12 yrs 6 mos'.","type":"string"},"location":{"description":"Role location.","type":"string"},"position":{"description":"Job title.","type":"string"}},"type":"object"},"type":"array"},"education":{"description":"Education entries.","items":{"properties":{"degree":{"description":"Degree earned.","type":"string"},"endDate":{"description":"End date text.","type":"string"},"fieldOfStudy":{"description":"Field of study.","type":"string"},"school":{"description":"School name.","type":"string"},"schoolId":{"description":"LinkedIn's numeric school id, as a string.","type":["string","null"]},"schoolUrl":{"description":"School LinkedIn URL.","type":"string","x-anyapi-domain":"linkedin.com"},"startDate":{"description":"Start date text.","type":"string"}},"required":["school"],"type":"object"},"type":"array"},"experience":{"description":"Full work experience with titles, descriptions, dates, and per-role skills. Populated whenever the provider has data for the entity.","items":{"properties":{"companyId":{"description":"LinkedIn's numeric company id, as a string.","type":"string"},"companyLinkedinUrl":{"description":"Company LinkedIn URL.","type":"string","x-anyapi-domain":"linkedin.com"},"companyName":{"description":"Company name.","type":"string"},"description":{"description":"Role description.","type":"string"},"duration":{"description":"Human-readable tenure, e.g. '3 yrs 2 mos'.","type":"string"},"employmentType":{"description":"Employment type, e.g. 'Full-time'.","type":"string"},"endDate":{"description":"End date text, e.g. 'Present'.","type":"string"},"location":{"description":"Role location.","type":"string"},"position":{"description":"Job title. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"skills":{"description":"Skills associated with this role.","items":{},"type":["array","null"]},"startDate":{"description":"Start date text, e.g. 'Feb 2014'.","type":"string"},"workplaceType":{"description":"Workplace type, e.g. 'Remote' or 'On-site'.","type":["string","null"]}},"required":["position"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"firstName":{"description":"First name of the profile owner.","type":"string"},"followerCount":{"description":"Number of followers.","type":"integer"},"headline":{"description":"Professional headline shown under the name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hiring":{"description":"Whether the member shows the Hiring badge.","type":"boolean"},"honorsAndAwards":{"description":"Honors and awards.","items":{"properties":{"description":{"description":"Award description.","type":["string","null"]},"issuedAt":{"description":"Issue date text.","type":"string"},"issuedBy":{"description":"Issuing organization.","type":"string"},"title":{"description":"Award title.","type":"string"}},"type":"object"},"type":"array"},"id":{"description":"LinkedIn member identifier.","type":"string"},"influencer":{"description":"Whether LinkedIn marks the member as an influencer.","type":"boolean"},"languages":{"description":"Languages, as returned by LinkedIn when present.","items":{},"type":"array"},"lastName":{"description":"Last name of the profile owner.","type":"string"},"location":{"description":"Location of the profile owner.","type":"string"},"openToWork":{"description":"Whether the member is open to work.","type":"boolean"},"photo":{"description":"URL of the profile photo.","type":"string","x-anyapi-domain":"licdn.com"},"premium":{"description":"Whether the member has LinkedIn Premium.","type":"boolean"},"projects":{"description":"Projects, as returned by LinkedIn when present.","items":{},"type":"array"},"publicIdentifier":{"description":"LinkedIn public identifier (the /in/ handle).","type":"string"},"publications":{"description":"Publications.","items":{"properties":{"description":{"description":"Publication description.","type":["string","null"]},"publishedText":{"description":"Publisher and/or date text as shown on LinkedIn.","type":"string"},"title":{"description":"Publication title.","type":"string"}},"type":"object"},"type":"array"},"skills":{"description":"The member's skills: an object per skill, or a bare skill name when LinkedIn shows no endorsed-skills section.","items":{"properties":{"endorsements":{"description":"Endorsement count as LinkedIn shows it, e.g. '23 endorsements'. Null from a source that does not read endorsements; name it in requireFields to be served by one that does.","type":["string","null"]},"name":{"description":"Skill name.","type":"string"},"positions":{"description":"Where the skill was used or who endorsed it, as LinkedIn shows it, e.g. 'Endorsed by 3 colleagues at Rippling'. Null from a source that does not read them; name it in requireFields to be served by one that does.","items":{"type":"string"},"type":["array","null"]}}},"type":"array"},"state":{"description":"State or region of the profile owner.","type":"string"},"topSkills":{"description":"The member's top skills, as free-form strings when present.","items":{},"type":["array","null"]},"url":{"description":"Canonical LinkedIn profile URL.","type":"string","x-anyapi-domain":"linkedin.com"},"verified":{"description":"Whether the profile is identity-verified.","type":"boolean"}},"required":["firstName","lastName","headline","url"],"type":"object"}]},"found":{"description":"Whether the profile was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn profile output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile_comments":{"post":{"description":"List the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile Comments pricing and uptime](https://getanyapi.com/api/linkedin/profile-comments) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile_comments","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/in/jeffweiner08"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/in/jeffweiner08"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Maximum number of comments to return.","maximum":100,"minimum":1,"type":"integer"},"postedLimit":{"description":"Only return comments posted within this window (default any).","enum":["any","24h","week","month"],"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `edited` or `isAuthor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["edited","isAuthor"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full URL of the LinkedIn member profile whose comments on other people's posts should be listed.","type":"string"}},"required":["url"],"title":"LinkedIn profile comments input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile comments result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Comments this member left on other people's posts, newest first, each with the post it was left on. Populated whenever the provider has data for the entity.","items":{"properties":{"actor":{"description":"The member who left the comment (a profile or a company).","properties":{"id":{"description":"LinkedIn identifier of the commenter.","type":"string"},"image":{"description":"Profile picture URL of the commenter. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"linkedinUrl":{"description":"Canonical LinkedIn URL of the commenter. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the commenter. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"position":{"description":"Commenter's headline or job title as displayed. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"Commenter kind, e.g. 'profile' or 'company'.","type":"string"}},"type":"object"},"commentary":{"description":"Full text of the comment the member left. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"edited":{"description":"Whether the comment has been edited. Null when the serving source does not report it.","type":["boolean","null"]},"engagement":{"description":"Engagement metrics for the comment.","properties":{"comments":{"description":"Number of replies to the comment.","minimum":0,"type":"integer"},"likes":{"description":"Number of likes on the comment.","minimum":0,"type":"integer"},"shares":{"description":"Number of shares of the comment.","minimum":0,"type":"integer"}},"type":"object"},"id":{"description":"Unique identifier of the comment. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"isAuthor":{"description":"Whether the commenter is also the author of the post. Null when the serving source does not report it.","type":["boolean","null"]},"post":{"description":"The post the comment was left on, so the comment can be read in context. Populated whenever the provider has data for the entity.","properties":{"author":{"description":"Author of the post that was commented on.","properties":{"headline":{"description":"Public headline or company follower summary for the post author.","type":"string"},"image":{"description":"Profile or company image URL of the post author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"name":{"description":"Display name of the post author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"profileUrl":{"description":"Canonical LinkedIn profile or company URL of the post author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"publicIdentifier":{"description":"LinkedIn public identifier (vanity slug) of the post author, for example \"williamhgates\". Stable across lanes, unlike the raw id.","type":"string"}},"type":"object"},"engagement":{"description":"Public engagement totals on the post that was commented on.","properties":{"comments":{"description":"Total comment count on the post.","minimum":0,"type":"integer"},"reactions":{"description":"Total reaction count on the post.","minimum":0,"type":"integer"},"reposts":{"description":"Total repost or share count on the post.","minimum":0,"type":"integer"}},"type":"object"},"id":{"description":"Unique identifier of the LinkedIn post that was commented on.","type":"string"},"postedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the post was published. Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"text":{"description":"Text content of the post that was commented on. Empty when the post carries no commentary of its own, such as a bare reshare or an image-only post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn URL of the post that was commented on. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"url":{"description":"Canonical permalink URL of the comment. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["id","commentary"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether comments by this member were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn profile comments output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile Comments","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile-comments"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile_posts_full":{"post":{"description":"Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.\n\n**Price:** \\$5.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 3 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile Posts (full) pricing and uptime](https://getanyapi.com/api/linkedin/profile-posts-full) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile_posts_full","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates/"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"contextCountry":{"description":"Regional LinkedIn context used when retrieving posts.","enum":["any","US","GB","DE","FR"],"type":"string"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"includeQuotePosts":{"default":true,"description":"Whether to include quote posts that add commentary to shared content.","type":"boolean"},"includeReposts":{"default":true,"description":"Whether to include reposts that share content without added commentary.","type":"boolean"},"limit":{"default":10,"description":"Most posts to return (1-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to `limit` posts in one call with no nextCursor.","maximum":100,"minimum":1,"type":"integer"},"postedLimit":{"description":"Only return posts published within this relative time window.","enum":["any","1h","24h","week","month","3months","6months","year"],"type":"string"},"postedLimitDate":{"description":"Only return posts published on or after this date or timestamp, using a JavaScript-compatible date-time string.","minLength":1,"type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.","items":{"enum":["nextCursor"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full URL of the public LinkedIn profile whose posts should be returned.","format":"uri","type":"string"}},"required":["url"],"title":"LinkedIn Profile Posts (full) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The enriched profile posts result, or null when no posts were found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Recent enriched posts published by the profile. Populated whenever the provider has data for the entity.","items":{"properties":{"articleDescription":{"description":"Description excerpt of the attached article, when present.","type":"string"},"articleImage":{"description":"Image URL of the attached article, when present.","format":"uri","type":"string"},"articleImageHeight":{"description":"Height of the attached article image in pixels.","minimum":0,"type":"integer"},"articleImageWidth":{"description":"Width of the attached article image in pixels.","minimum":0,"type":"integer"},"articleLinkLabel":{"description":"Accessible display label for the attached article link, when present.","type":"string"},"articleSubtitle":{"description":"Subtitle or publisher label of the attached article, when present.","type":"string"},"articleTitle":{"description":"Title of the attached article, when present.","type":"string"},"articleUrl":{"description":"Canonical URL of the attached article, when present.","format":"uri","type":"string"},"author":{"description":"Detailed identity and publication information for the post author. Populated whenever the provider has data for the entity.","properties":{"handle":{"description":"Public LinkedIn profile handle of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"headline":{"description":"Professional headline or follower summary displayed for the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"Stable LinkedIn identifier of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Profile or company image URL of the author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"imageHeight":{"description":"Height of the author image in pixels.","minimum":0,"type":"integer"},"imageWidth":{"description":"Width of the author image in pixels.","minimum":0,"type":"integer"},"name":{"description":"Display name of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"profileUrl":{"description":"Canonical LinkedIn profile or company URL of the author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"type":{"description":"Author kind, such as profile or company. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"universalName":{"description":"Universal LinkedIn name used for company authors, when present.","type":"string"},"website":{"description":"Publication or website URL displayed by the author.","format":"uri","type":"string"},"websiteLabel":{"description":"Display label for the author's publication or website link.","type":"string"}},"type":"object","x-anyapi-must-populate":true},"contentAnnotations":{"description":"Structured mentions and links embedded in the post text.","items":{"properties":{"companyId":{"description":"LinkedIn identifier of a mentioned company, when present.","type":"string"},"companyName":{"description":"Display name of a mentioned company, when present.","type":"string"},"companyUrl":{"description":"Canonical LinkedIn URL of a mentioned company, when present.","format":"uri","type":"string"},"hyperlink":{"description":"Canonical hyperlink attached to the annotation, when present.","format":"uri","type":"string"},"length":{"description":"Length of the annotated text span.","minimum":0,"type":"integer"},"profileFirstName":{"description":"First name of a mentioned profile, when present.","type":"string"},"profileHandle":{"description":"Public LinkedIn handle of a mentioned profile, when present.","type":"string"},"profileId":{"description":"LinkedIn identifier of a mentioned profile, when present.","type":"string"},"profileLastName":{"description":"Last name of a mentioned profile, when present.","type":"string"},"profileUrl":{"description":"Canonical LinkedIn URL of a mentioned profile, when present.","format":"uri","type":"string"},"start":{"description":"Zero-based start offset of the annotation in the post text.","minimum":0,"type":"integer"},"textLink":{"description":"Canonical text link attached to the annotation, when present.","format":"uri","type":"string"},"type":{"description":"Kind of content annotation.","type":"string"}},"type":"object"},"type":"array"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"engagement":{"description":"Engagement totals and reaction breakdown for the post. Populated whenever the provider has data for the entity.","properties":{"breakdown":{"description":"Counts grouped by LinkedIn reaction type.","items":{"properties":{"count":{"description":"Number of reactions of this type.","minimum":0,"type":"integer"},"type":{"description":"LinkedIn reaction type.","type":"string"}},"required":["type","count"],"type":"object"},"type":"array"},"comments":{"description":"Total number of comments on the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true},"reactions":{"description":"Total number of reactions on the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true},"reposts":{"description":"Total number of reposts or shares of the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"id":{"description":"Unique identifier of the LinkedIn post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"Images attached to the post.","items":{"properties":{"height":{"description":"Height of the image in pixels.","minimum":0,"type":"integer"},"url":{"description":"URL of the attached image.","format":"uri","type":"string"},"width":{"description":"Width of the image in pixels.","minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"type":"array"},"newsletterTitle":{"description":"Title of the LinkedIn newsletter associated with the post, when present.","type":"string"},"newsletterUrl":{"description":"Canonical URL of the LinkedIn newsletter associated with the post, when present.","format":"uri","type":"string"},"publicationUrl":{"description":"Canonical LinkedIn feed publication URL for the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"repostArticleDescription":{"description":"Description excerpt of the reposted post's article, when present.","type":"string"},"repostArticleImage":{"description":"Image URL of the reposted post's article, when present.","format":"uri","type":"string"},"repostArticleImageHeight":{"description":"Height of the reposted post's article image in pixels.","minimum":0,"type":"integer"},"repostArticleImageWidth":{"description":"Width of the reposted post's article image in pixels.","minimum":0,"type":"integer"},"repostArticleLinkLabel":{"description":"Accessible display label for the reposted post's article link, when present.","type":"string"},"repostArticleSubtitle":{"description":"Subtitle or publisher label of the reposted post's article, when present.","type":"string"},"repostArticleTitle":{"description":"Title of the article attached to the reposted post, when present.","type":"string"},"repostArticleUrl":{"description":"Canonical URL of the reposted post's article, when present.","format":"uri","type":"string"},"repostAuthorHandle":{"description":"Public LinkedIn profile handle of the reposted post's author, when present.","type":"string"},"repostAuthorHeadline":{"description":"Headline or follower summary of the reposted post's author, when present.","type":"string"},"repostAuthorId":{"description":"Stable LinkedIn identifier of the reposted post's author, when present.","type":"string"},"repostAuthorImage":{"description":"Image URL of the reposted post's author, when present.","format":"uri","type":"string"},"repostAuthorName":{"description":"Display name of the reposted post's author, when present.","type":"string"},"repostAuthorType":{"description":"Author kind for the reposted post, when present.","type":"string"},"repostAuthorUniversalName":{"description":"Universal LinkedIn name of the reposted post's company author, when present.","type":"string"},"repostAuthorUrl":{"description":"Canonical LinkedIn URL of the reposted post's author, when present.","format":"uri","type":"string"},"repostCreatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the reposted post was published. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"repostId":{"description":"Unique identifier of the reposted post, when present.","type":"string"},"repostImages":{"description":"Images attached to the reposted post.","items":{"properties":{"height":{"description":"Height of the reposted image in pixels.","minimum":0,"type":"integer"},"url":{"description":"URL of an image attached to the reposted post.","format":"uri","type":"string"},"width":{"description":"Width of the reposted image in pixels.","minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"type":"array"},"repostText":{"description":"Text content of the reposted post, when present.","type":"string"},"repostUrl":{"description":"Canonical URL of the reposted post, when present.","format":"uri","type":"string"},"socialContent":{"description":"LinkedIn visibility and action flags for the post.","properties":{"hideCommentAction":{"description":"Whether LinkedIn hides the comment action.","type":"boolean"},"hideCommentsCount":{"description":"Whether LinkedIn hides the comment count.","type":"boolean"},"hideReactAction":{"description":"Whether LinkedIn hides the react action.","type":"boolean"},"hideReactionsCount":{"description":"Whether LinkedIn hides the reaction count.","type":"boolean"},"hideRepostsCount":{"description":"Whether LinkedIn hides the repost count.","type":"boolean"},"hideSendAction":{"description":"Whether LinkedIn hides the send action.","type":"boolean"},"hideShareAction":{"description":"Whether LinkedIn hides the share action.","type":"boolean"},"hideSocialActivityCounts":{"description":"Whether LinkedIn hides social activity counts.","type":"boolean"},"hideViewsCount":{"description":"Whether LinkedIn hides the view count.","type":"boolean"},"shareUrl":{"description":"Canonical LinkedIn share URL for the post.","format":"uri","type":"string"},"showContributionExperience":{"description":"Whether LinkedIn enables the contribution experience.","type":"boolean"},"showSocialDetail":{"description":"Whether LinkedIn shows social detail.","type":"boolean"}},"type":"object"},"text":{"description":"Text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"type":{"description":"LinkedIn record type reported for the post.","type":"string"},"url":{"description":"Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoThumbnail":{"description":"Thumbnail URL of the attached video, when present.","format":"uri","type":"string"},"videoUrl":{"description":"URL of the attached video, when present.","format":"uri","type":"string"}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"Whether profile posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Profile Posts (full) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile Posts (full)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile-posts-full"},"x-payment-info":{"price":{"amount":"0.005000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.006000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.005000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile_posts_thin":{"post":{"description":"Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.\n\n**Price:** \\$5.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile Posts (basic) pricing and uptime](https://getanyapi.com/api/linkedin/profile-posts-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile_posts_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates/"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates/"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response's nextCursor.","type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Most posts to return (10-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to `limit` posts in one call with no nextCursor.","maximum":100,"minimum":10,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. 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.","items":{"enum":["nextCursor"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full URL of the public LinkedIn profile whose posts should be returned.","format":"uri","type":"string"}},"required":["url"],"title":"LinkedIn Profile Posts (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile posts result, or null when no posts were found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Recent posts published by the profile. Populated whenever the provider has data for the entity.","items":{"properties":{"articleImage":{"description":"Image URL of the attached article, when present.","format":"uri","type":"string"},"articleSubtitle":{"description":"Subtitle or publisher label of the attached article, when present.","type":"string"},"articleTitle":{"description":"Title of the attached article, when present.","type":"string"},"articleUrl":{"description":"Canonical URL of the attached article, when present.","format":"uri","type":"string"},"author":{"description":"Portable details about the post author. Populated whenever the provider has data for the entity.","properties":{"handle":{"description":"Public LinkedIn handle of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"headline":{"description":"Professional headline displayed for the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Profile image URL of the author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"profileUrl":{"description":"Canonical LinkedIn profile URL of the author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"engagement":{"description":"Portable engagement totals for the post. Populated whenever the provider has data for the entity.","properties":{"comments":{"description":"Total number of comments on the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true},"reactions":{"description":"Total number of reactions on the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true},"reposts":{"description":"Total number of reposts or shares of the post. Populated whenever the provider has data for the entity.","minimum":0,"type":"integer","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"id":{"description":"Unique identifier of the LinkedIn post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"images":{"description":"Images attached to the post.","items":{"properties":{"url":{"description":"URL of an attached image.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"type":"array"},"repostArticleImage":{"description":"Cover image URL of the article attached to the reposted post. The query string is a signed token, so keep the URL intact.","type":"string"},"repostArticleSubtitle":{"description":"Subtitle or source domain of the article attached to the reposted post.","type":"string"},"repostArticleTitle":{"description":"Title of the article attached to the reposted post, when present.","type":"string"},"repostArticleUrl":{"description":"Canonical URL of the article attached to the reposted post, when present.","format":"uri","type":"string"},"repostAuthorHeadline":{"description":"Headline or follower line of the author of the reposted post.","type":"string"},"repostAuthorImage":{"description":"Avatar or logo image URL of the author of the reposted post. The query string is a signed token, so keep the URL intact.","type":"string"},"repostAuthorUrl":{"description":"Canonical LinkedIn URL of the author of the reposted post.","format":"uri","type":"string"},"repostCreatedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) when the reposted post was published. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"repostId":{"description":"Unique identifier of the reposted post, when present.","type":"string"},"repostText":{"description":"Text content of the reposted post, when present.","type":"string"},"repostUrl":{"description":"Canonical URL of the reposted post, when present.","format":"uri","type":"string"},"text":{"description":"Text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"videoThumbnail":{"description":"Thumbnail URL of the attached video, when present.","format":"uri","type":"string"},"videoUrl":{"description":"URL of the attached video, when present.","format":"uri","type":"string"}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when there are no more. Pass it back as cursor to continue.","type":["string","null"]}},"required":["items"],"type":"object"}]},"found":{"description":"Whether profile posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Profile Posts (basic) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile Posts (basic)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile-posts-thin"},"x-payment-info":{"price":{"amount":"0.005000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.006000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.005000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile_reactions":{"post":{"description":"List the posts a LinkedIn member has reacted to - the reaction, its timestamp, and the full post it was made on with author and engagement.\n\n**Price:** \\$2.90 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile Reactions pricing and uptime](https://getanyapi.com/api/linkedin/profile-reactions) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile_reactions","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates"},"schema":{"additionalProperties":false,"example":{"limit":10,"url":"https://www.linkedin.com/in/williamhgates"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":100,"description":"Maximum number of reactions to return. One upstream page holds 100.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full URL of the LinkedIn member profile whose reactions to list, for example https://www.linkedin.com/in/williamhgates.","type":"string"}},"required":["url"],"title":"LinkedIn profile reactions input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile reactions result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Posts the member has reacted to, newest first. One record per reaction, carrying both the reaction itself and the post it was made on. Populated whenever the provider has data for the entity.","items":{"properties":{"action":{"description":"LinkedIn's own display sentence for the reaction, for example \"Bill Gates likes this\" or \"Ali Abdaal liked Tobi Odutola's comment on this\". It is the only place the reaction kind appears on this endpoint, it names the member and sometimes a third party, and it distinguishes a reaction on the post from a reaction on a comment. It is free English text, not an enum: parse it only if you accept that LinkedIn may reword it. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"actor":{"description":"The member who reacted - the profile that was asked about. Populated whenever the provider has data for the entity.","properties":{"id":{"description":"LinkedIn member identifier of the reactor.","type":"string"},"image":{"description":"Profile picture URL of the reactor.","format":"uri","type":"string"},"linkedinUrl":{"description":"Canonical LinkedIn profile URL of the reactor. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"LinkedIn activity identifier of the reaction event itself. This is not the identifier of the post that was reacted to - that is post.id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"post":{"description":"The post the member reacted to. Populated whenever the provider has data for the entity.","properties":{"author":{"description":"Public author identity attached to the post. Populated whenever the provider has data for the entity.","properties":{"headline":{"description":"Public headline for a person, or the follower summary for a company. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"LinkedIn identifier for the author.","type":"string"},"image":{"description":"Public profile or company image URL for the author.","format":"uri","type":"string"},"name":{"description":"Display name of the author. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"profileUrl":{"description":"Canonical LinkedIn profile or company URL for the author. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true},"publicIdentifier":{"description":"LinkedIn public identifier (vanity slug) for the author, for example \"williamhgates\". Absent for company authors, which carry universalName instead.","type":"string"},"type":{"description":"Author kind, such as profile or company.","type":"string"},"universalName":{"description":"Universal LinkedIn name used for company authors, when present.","type":"string"}},"type":"object","x-anyapi-must-populate":true},"engagement":{"description":"Public engagement totals attached to the post. Populated whenever the provider has data for the entity.","properties":{"breakdown":{"description":"Reaction counts on the post grouped by LinkedIn reaction type.","items":{"properties":{"count":{"description":"Number of reactions of this type.","minimum":0,"type":"integer"},"type":{"description":"LinkedIn reaction type.","type":"string"}},"required":["type","count"],"type":"object"},"type":"array"},"comments":{"description":"Total comment count.","minimum":0,"type":"integer"},"reactions":{"description":"Total reaction count.","minimum":0,"type":"integer"},"reposts":{"description":"Total repost or share count.","minimum":0,"type":"integer"}},"type":"object","x-anyapi-must-populate":true},"id":{"description":"LinkedIn activity identifier of the post that was reacted to. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"postedUtc":{"description":"UTC epoch timestamp in seconds (Unix time) the post was published. Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"repostId":{"description":"Unique identifier of the post this one reshares, when it is a reshare.","type":"string"},"text":{"description":"Text content of the post. Empty string when the post carries no commentary of its own, such as a bare reshare or an image-only post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"type":"object","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn feed URL of the reaction event. Use post.url for the post itself. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-must-populate":true}},"required":["id","action"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"Whether reactions were found for the profile.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn profile reactions output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile Reactions","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile-reactions"},"x-payment-info":{"price":{"amount":"0.002900","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.003900","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.002900","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.profile_thin":{"post":{"description":"Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.\n\n**Price:** \\$0.80 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Profile (basic) pricing and uptime](https://getanyapi.com/api/linkedin/profile-thin) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_profile_thin","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"url":"https://www.linkedin.com/in/williamhgates"},"schema":{"additionalProperties":false,"example":{"url":"https://www.linkedin.com/in/williamhgates"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `headline` or `recentPosts`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["activityType","articles","companyLinkedinUrl","companyName","connections","createdUtc","current","currentPosition","headline","id","position","publicIdentifier","recentPosts","text","url"],"type":"string"},"type":"array","uniqueItems":true},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"url":{"description":"Full LinkedIn person profile URL, carrying the profile id after /in/, for example https://www.linkedin.com/in/williamhgates. Any other LinkedIn URL names no person, so it is rejected instead of charged: send a company page to linkedin.company_thin or linkedin.company, and a post to linkedin.post.","pattern":"/in/[^/?#]+","type":"string"}},"required":["url"],"title":"LinkedIn profile (basic) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The profile result, or null when not found.","oneOf":[{"type":"null"},{"properties":{"about":{"description":"About/summary text of the profile.","type":"string"},"articles":{"description":"The profile's published articles, or null when the serving source does not publish them.","items":{"properties":{"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"headline":{"description":"Headline of the article.","type":"string"},"url":{"description":"Canonical URL of the article.","type":"string"}},"required":["headline"],"type":"object"},"type":["array","null"]},"avatarUrl":{"description":"URL of the profile avatar image.","type":"string"},"connections":{"description":"Connections count as LinkedIn's public label shows it, capped at \"500+\" (for example \"8\" or \"500+\"). Null when the serving source does not publish it.","type":["string","null"]},"currentPosition":{"description":"The member's current role as the serving source reports it: one entry, or an empty list when the profile shows no current employer. Null when the serving source does not publish it.","items":{"properties":{"companyLinkedinUrl":{"description":"Company LinkedIn URL, or null when the serving source does not publish it.","type":["string","null"]},"companyName":{"description":"Company name.","type":"string"},"position":{"description":"Job title, or null when the serving source does not publish it or the profile hides it.","type":["string","null"]}},"required":["companyName"],"type":"object"},"type":["array","null"]},"education":{"description":"Education entries.","items":{"properties":{"endDate":{"description":"End date of study.","type":"string"},"school":{"description":"Name of the school.","type":"string"},"schoolUrl":{"description":"URL of the school page.","type":"string"},"startDate":{"description":"Start date of study.","type":"string"}},"required":["school"],"type":"object"},"type":"array"},"experience":{"description":"Work experience entries: company and dates, plus the job title and whether the role is current when the serving source publishes them. Populated whenever the provider has data for the entity.","items":{"properties":{"company":{"description":"Name of the company.","type":"string"},"companyUrl":{"description":"URL of the company page.","type":"string"},"current":{"description":"Whether this is a current role, or null when the serving source does not say.","type":["boolean","null"]},"endDate":{"description":"End date of the role.","type":"string"},"position":{"description":"Job title, or null when the serving source does not publish it or the profile hides it.","type":["string","null"]},"startDate":{"description":"Start date of the role.","type":"string"}},"required":["company"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"followers":{"description":"Number of followers.","type":"integer"},"headline":{"description":"Profile headline, or null when the serving source does not publish it.","type":["string","null"]},"location":{"description":"Location of the profile owner.","type":"string"},"name":{"description":"Full name of the profile owner.","type":"string"},"publicIdentifier":{"description":"LinkedIn public identifier (the /in/ handle), or null when the serving source does not publish it.","type":["string","null"]},"recentPosts":{"description":"The profile's recent posts, or null when the serving source does not publish them.","items":{"properties":{"activityType":{"description":"Type of activity for the post.","type":"string"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"id":{"description":"Unique identifier of the post.","type":"string"},"text":{"description":"Text content of the post.","type":"string"},"url":{"description":"Canonical URL of the post.","type":"string"}},"required":["id"],"type":"object"},"type":["array","null"]}},"required":["name"],"type":"object"}]},"found":{"description":"Whether the profile was found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `unavailable`: the platform did not show this to the source: it may not exist, or it may be visible only to signed-in users. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found","unavailable"],"type":"string"}},"required":["found","data"],"title":"LinkedIn profile (basic) output","type":"object","x-anyapi-result-list":false},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile (basic)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/profile-thin"},"x-payment-info":{"price":{"amount":"0.000800","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.001800","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.000800","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_companies":{"post":{"description":"Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.\n\n**Price:** \\$5.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Company Search pricing and uptime](https://getanyapi.com/api/linkedin/search-companies) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_companies","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"limit":3,"query":"fintech"},"schema":{"additionalProperties":false,"example":{"limit":3,"query":"fintech"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":20,"description":"Maximum number of results to return (1-20, default 20).","maximum":20,"minimum":1,"type":"integer"},"location":{"description":"Optional location filter, written out in full (e.g. United Kingdom or San Francisco).","type":"string"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search LinkedIn companies for (e.g. marketing agency).","type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"LinkedIn company search input","type":"object","x-aliases":{"keyword":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching company records. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn company: name, URL, industry, location, follower count, and description.","properties":{"description":{"description":"Company summary / about text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"followersText":{"description":"Follower count as a display string (e.g. 105K followers). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"handle":{"description":"Company universal name (the vanity slug in the URL). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"LinkedIn company id. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Company logo image URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"industry":{"description":"Company industry. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"location":{"description":"Company location as a single string (city, region). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"name":{"description":"Company name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn company URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one company was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn company search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Company Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-companies"},"x-payment-info":{"price":{"amount":"0.005000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.006000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.005000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_groups":{"post":{"description":"Search LinkedIn groups by keyword, 10 per page: group name, URL, member count, summary, and logo.\n\n**Price:** \\$1.30 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Group Search pricing and uptime](https://getanyapi.com/api/linkedin/search-groups) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_groups","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"query":"python"},"schema":{"additionalProperties":false,"example":{"query":"python"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"page":{"default":1,"description":"Which page of up to 10 groups to return, starting at 1 (1-100, default 1). Each page is billed as one request.","maximum":100,"minimum":1,"type":"integer"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"Keyword to search LinkedIn groups for (e.g. python or sales).","minLength":1,"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"LinkedIn group search input","type":"object","x-aliases":{"keyword":"query"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching group records. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn group: name, URL, member count, summary, and logo.","properties":{"description":{"description":"Group summary text.","type":"string"},"id":{"description":"Numeric LinkedIn group id, as a string. Pass it to the LinkedIn Group API as groupId for the full record. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Group logo image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"membersText":{"description":"Member count as a display string (e.g. 648K members).","type":"string"},"name":{"description":"Group name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical LinkedIn group URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","name","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"page":{"description":"The page this response holds, starting at 1.","type":["integer","null"]},"totalPages":{"description":"How many pages of up to 10 groups the search can reach.","type":["integer","null"]},"totalResults":{"description":"How many groups match the search in total, including those past the last reachable page.","type":["integer","null"]}},"required":["items","page","totalPages","totalResults"],"type":"object"}]},"found":{"description":"True when at least one group was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn group search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Group Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-groups"},"x-payment-info":{"price":{"amount":"0.001300","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002300","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001300","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_leads":{"post":{"description":"LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles.\n\n**Price:** \\$70.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Sales Navigator Lead Search pricing and uptime](https://getanyapi.com/api/linkedin/search-leads) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_leads","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"currentCompanies":["Google"],"query":"engineer"},"schema":{"additionalProperties":false,"anyOf":[{"required":["query"]},{"required":["salesNavUrl"]}],"example":{"currentCompanies":["Google"],"query":"engineer"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyHeadcount":{"description":"Filter by current company size (employee count). Codes: A=Self-Employed, B=1-10, C=11-50, D=51-200, E=201-500, F=501-1,000, G=1,001-5,000, H=5,001-10,000, I=10,001+.","items":{"enum":["A","B","C","D","E","F","G","H","I"],"type":"string"},"type":"array"},"companyHeadquarterLocations":{"description":"Filter by the location of the person's current company headquarters, by place name (e.g. ['United States']). Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"currentCompanies":{"description":"Filter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR). Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"excludeCompanyHeadquarterLocations":{"description":"Exclude people whose current company is headquartered in any of these locations. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"excludeCurrentCompanies":{"description":"Exclude people who currently work at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"excludeCurrentJobTitles":{"description":"Exclude people whose current job title matches any of these. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"excludeFunctionIds":{"description":"Exclude these job functions (same codes as functionIds). Up to 30 values.","items":{"enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26"],"type":"string"},"maxItems":30,"type":"array"},"excludeLocations":{"description":"Exclude people in any of these locations, by place name. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"excludePastCompanies":{"description":"Exclude people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"excludePastJobTitles":{"description":"Exclude people who held any of these past job titles. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"excludeSchools":{"description":"Exclude people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"excludeSeniorityLevelIds":{"description":"Exclude these seniority levels (same codes as seniorityLevelIds). Up to 20 values.","items":{"enum":["100","110","120","130","200","210","220","300","310","320"],"type":"string"},"maxItems":20,"type":"array"},"firstNames":{"description":"Filter to people whose first name matches any of these. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"functionIds":{"description":"Filter by job function. Codes: 1=Accounting, 2=Administrative, 3=Arts and Design, 4=Business Development, 5=Community and Social Services, 6=Consulting, 7=Education, 8=Engineering, 9=Entrepreneurship, 10=Finance, 11=Healthcare Services, 12=Human Resources, 13=Information Technology, 14=Legal, 15=Marketing, 16=Media and Communication, 17=Military and Protective Services, 18=Operations, 19=Product Management, 20=Program and Project Management, 21=Purchasing, 22=Quality Assurance, 23=Real Estate, 24=Research, 25=Sales, 26=Customer Success and Support.","items":{"enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26"],"type":"string"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"jobTitle":{"description":"Optional current job title filter (e.g. 'Software Engineer'). Commas are not allowed in a value.","pattern":"^[^,]*$","type":"string"},"lastNames":{"description":"Filter to people whose last name matches any of these. Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"location":{"description":"Optional location filter (e.g. 'San Francisco'). Commas are not allowed in a value.","pattern":"^[^,]*$","type":"string"},"page":{"default":1,"description":"Which page of up to 25 leads to return, starting at 1 (1-100, default 1). Also pages through a salesNavUrl search. Each page is billed as one request.","maximum":100,"minimum":1,"type":"integer"},"pastCompanies":{"description":"Filter to people who previously worked at any of these companies, by name. Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"pastJobTitles":{"description":"Filter by a past job title the person held (e.g. ['Product Manager']). Commas are not allowed in a value. Up to 70 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":70,"type":"array"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"profileLanguages":{"description":"Filter by the profile's primary language.","items":{"enum":["Arabic","English","Spanish","Portuguese","Chinese","French","Italian","Russian","German","Dutch","Turkish","Tagalog","Polish","Korean","Japanese","Malay","Norwegian","Danish","Romanian","Swedish","Bahasa Indonesia","Czech"],"type":"string"},"type":"array"},"query":{"description":"Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.","type":"string"},"recentlyChangedJobs":{"description":"When true, only return people who recently changed jobs (a strong sales/recruiting signal).","type":"boolean"},"recentlyPostedOnLinkedIn":{"description":"When true, only return people who recently posted on LinkedIn (an activity signal).","type":"boolean"},"salesNavUrl":{"description":"Alternatively, a LinkedIn Sales Navigator lead-search URL you built in Sales Navigator (e.g. https://www.linkedin.com/sales/search/people?query=(keywords%3Aengineer)). When set it overrides query and every other filter on this request; only page still applies.","pattern":"^https://(?:www\\.)?linkedin\\.com/sales/","type":"string"},"schools":{"description":"Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.","items":{"pattern":"^[^,]*$","type":"string"},"maxItems":50,"type":"array"},"seniorityLevelIds":{"description":"Filter by seniority level. Codes: 100=In Training, 110=Entry Level, 120=Senior, 130=Strategic, 200=Entry Level Manager, 210=Experienced Manager, 220=Director, 300=Vice President, 310=CXO, 320=Owner/Partner.","items":{"enum":["100","110","120","130","200","210","220","300","310","320"],"type":"string"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"yearsAtCurrentCompanyIds":{"description":"Filter by tenure at the current company. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.","items":{"enum":["1","2","3","4","5"],"type":"string"},"type":"array"},"yearsOfExperienceIds":{"description":"Filter by total years of experience. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.","items":{"enum":["1","2","3","4","5"],"type":"string"},"type":"array"}},"title":"LinkedIn Sales Navigator lead search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing matched.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matching leads, up to 25 per page. Populated whenever the provider has data for the entity.","items":{"description":"A LinkedIn lead: name, current positions, location, summary, and photo, plus a profile URL you can pass to linkedin.profile for the full record.","properties":{"about":{"description":"Profile summary text, when the member wrote one.","type":"string"},"currentPositions":{"description":"Current roles. Populated whenever the provider has data for the entity.","items":{"description":"One current role.","properties":{"companyId":{"description":"LinkedIn company id.","type":"string"},"companyLinkedinUrl":{"description":"LinkedIn company page URL.","type":"string"},"companyName":{"description":"Company name.","type":"string"},"startedOn":{"description":"When the role started, as `month` (1-12, when shown) and `year`.","type":"object"},"tenureAtCompany":{"description":"Time at this company, as `numYears` and `numMonths`.","type":"object"},"tenureAtPosition":{"description":"Time in this role, as `numYears` and `numMonths`.","type":"object"},"title":{"description":"Job title.","type":"string"}},"type":"object"},"type":"array","x-anyapi-must-populate":true},"firstName":{"description":"Member's first name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"id":{"description":"LinkedIn member id, the last segment of `url`.","type":"string"},"image":{"description":"Profile picture URL. The query string is a signed token, so keep the URL intact. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"lastName":{"description":"Member's last name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"location":{"description":"Member's location as a single string (city, region, country). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openProfile":{"description":"Whether the member accepts messages from people outside their network.","type":"boolean"},"premium":{"description":"Whether the member has a LinkedIn Premium subscription.","type":"boolean"},"url":{"description":"LinkedIn profile URL in its member-id form (https://www.linkedin.com/in/ACwAAA...). It opens the profile on LinkedIn, and passing it as `url` to linkedin.profile returns the full record. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["url"],"type":"object"},"type":"array","x-anyapi-must-populate":true},"page":{"description":"The page this response holds, starting at 1.","type":"integer"},"totalPages":{"description":"How many pages of up to 25 leads the search has.","type":"integer"},"totalResults":{"description":"How many leads match the search in total, across every page.","type":"integer"}},"required":["items"],"type":"object"}]},"found":{"description":"True when the page returned at least one lead.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Sales Navigator lead search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Sales Navigator Lead Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-leads"},"x-payment-info":{"price":{"amount":"0.070000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.071000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.070000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_posts":{"post":{"description":"Search public LinkedIn posts by keyword (text, link, publish date). Results come from search-engine matches over public LinkedIn posts and work best with English keywords.\n\n**Price:** \\$1.20 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Post Search pricing and uptime](https://getanyapi.com/api/linkedin/search-posts) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_posts","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"datePosted":"last-week","query":"hiring"},"schema":{"additionalProperties":false,"example":{"datePosted":"last-week","query":"hiring"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"cursor":{"description":"Pagination cursor from a previous response.","type":"string"},"datePosted":{"description":"Filter by recency. One of last-hour, last-day, last-week, last-month, last-year.","enum":["last-hour","last-day","last-week","last-month","last-year"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"The post search query.","type":"string"},"requireCursor":{"deprecated":true,"description":"Deprecated. Every source for this search returns a nextCursor, so this changes nothing about the price or which source serves you; it stays accepted so callers that already send it keep working.","type":"boolean"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"LinkedIn post search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The search result, or null when not found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"nextCursor":{"description":"Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.","type":["string","null"]},"posts":{"description":"Posts matching the search query. Populated whenever the provider has data for the entity.","items":{"properties":{"authorName":{"description":"Display name of the post's author. Empty when the upstream omits it.","type":"string"},"authorUrl":{"description":"Canonical profile URL of the post's author, with tracking query params stripped. Empty when the upstream omits it.","type":"string"},"avatarUrl":{"description":"URL of the post author's profile avatar image.","type":"string"},"commentCount":{"description":"Total number of comments on the post.","type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"id":{"description":"The post's LinkedIn activity ID, as a string. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"reactionCount":{"description":"Total number of reactions on the post.","type":"integer"},"text":{"description":"Text content of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts"],"type":"object"}]},"found":{"description":"Whether matching posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn post search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-posts"},"x-payment-info":{"price":{"amount":"0.001200","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.002200","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.001200","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_posts_full":{"post":{"description":"Search public LinkedIn posts with rich author, engagement, attachment, and poll details.\n\n**Price:** \\$4.00 per 1,000 requests (flat per request - same cost regardless of results returned).\n\n**Routing:** 4 independent lanes are available in execution order. A failed attempt uses the next lane only when the request's payment authorizes that lane's price; the normalized schema stays the same.\n\n**Catalog:** [LinkedIn Post Search (full) pricing and uptime](https://getanyapi.com/api/linkedin/search-posts-full) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_posts_full","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"datePosted":"last-week","limit":10,"query":"artificial intelligence","sort":"relevance"},"schema":{"additionalProperties":false,"example":{"datePosted":"last-week","limit":10,"query":"artificial intelligence","sort":"relevance"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"authorCompanyNames":{"description":"Only return posts by people associated with these company names.","items":{"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"authorIndustryIds":{"description":"Only return posts by authors associated with these LinkedIn industry IDs.","items":{"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"authorKeywords":{"description":"Only return posts whose author profile headline or job title contains at least one of these keywords.","minLength":1,"type":"string"},"authorUrls":{"description":"Only return posts authored by these LinkedIn profile or company URLs.","items":{"format":"uri","type":"string"},"maxItems":10,"type":"array"},"contentType":{"description":"Only return posts carrying this content type.","enum":["all","videos","images","jobs","live-videos","documents","collaborative-articles"],"type":"string"},"datePosted":{"default":"last-day","description":"Only return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.","enum":["last-hour","last-day","last-week","last-month","last-three-months","last-six-months","last-year"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"limit":{"default":10,"description":"Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.","maximum":100,"minimum":1,"type":"integer"},"mentioningMemberUrls":{"description":"Only return posts mentioning these LinkedIn member profile URLs.","items":{"format":"uri","type":"string"},"maxItems":10,"type":"array"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"query":{"description":"LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.","minLength":1,"type":"string"},"requireFields":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `attachmentType` or `pollOptions`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","items":{"enum":["attachmentDescription","attachmentImage","attachmentSubtitle","attachmentTitle","attachmentType","attachmentUrl","pollClosed","pollOptions","pollQuestion","pollTotalVotes"],"type":"string"},"type":"array","uniqueItems":true},"sort":{"default":"relevance","description":"Order results by search relevance or publication date.","enum":["relevance","date"],"type":"string"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"LinkedIn Post Search (full) input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The matching LinkedIn posts, or null when no result was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"posts":{"description":"LinkedIn posts matching the search query. Populated whenever the provider has data for the entity.","items":{"properties":{"attachmentDescription":{"description":"Short description of the attached content, as LinkedIn shows it on the preview card. Best effort on article attachments: depending on the search it may be absent, so treat it as optional. To read an article's content reliably, pass attachmentUrl to the linkedin.article endpoint.","type":"string"},"attachmentImage":{"description":"Image URL associated with the attachment.","format":"uri","type":"string","x-anyapi-domain":"licdn.com"},"attachmentSubtitle":{"description":"Subtitle of the attached structured content.","type":"string"},"attachmentTitle":{"description":"Title of the attached article, job, or other structured content.","type":"string"},"attachmentType":{"description":"Kind of structured content attached to the post, such as article, job, poll, video, or document.","type":"string"},"attachmentUrl":{"description":"Destination URL of the attachment with tracking parameters removed; a video keeps the signed query it needs to play, and a YouTube link keeps its video id. When attachmentType is article, pass this URL to the linkedin.article endpoint to read the article's full body text.","format":"uri","type":"string"},"author":{"description":"Public author identity attached to the post. Populated whenever the provider has data for the entity.","properties":{"headline":{"description":"Public headline or company follower summary for the author.","type":"string"},"id":{"description":"LinkedIn identifier for the author.","type":"string"},"image":{"description":"Public profile or company image URL for the author.","format":"uri","type":"string","x-anyapi-domain":"licdn.com"},"name":{"description":"Display name of the author.","type":"string"},"profileUrl":{"description":"Canonical LinkedIn profile or company URL for the author.","format":"uri","type":"string","x-anyapi-domain":"linkedin.com"},"publicIdentifier":{"description":"LinkedIn public identifier (vanity slug) for the author, for example \"williamhgates\". Stable across lanes, unlike the raw id.","type":"string"},"type":{"description":"Kind of LinkedIn entity that authored the post, derived from the author URL.","enum":["person","company","showcase"],"type":"string"}},"type":"object","x-anyapi-must-populate":true},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.","type":"number","x-anyapi-must-populate":true},"engagement":{"description":"Public engagement totals attached to the post. Populated whenever the provider has data for the entity.","properties":{"breakdown":{"description":"Reaction counts grouped by LinkedIn reaction type.","items":{"properties":{"count":{"description":"Number of reactions of this type.","minimum":0,"type":"integer"},"type":{"description":"LinkedIn reaction type.","type":"string"}},"required":["type","count"],"type":"object"},"type":"array"},"comments":{"description":"Total comment count.","minimum":0,"type":"integer"},"reactions":{"description":"Total reaction count.","minimum":0,"type":"integer"},"reposts":{"description":"Total repost or share count.","minimum":0,"type":"integer"}},"type":"object","x-anyapi-must-populate":true},"id":{"description":"Stable LinkedIn activity identifier for the post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"pollClosed":{"description":"Whether the attached poll is closed.","type":"boolean"},"pollOptions":{"description":"Options and public vote counts for an attached poll.","items":{"properties":{"text":{"description":"Poll option text.","type":"string"},"votes":{"description":"Votes recorded for this option.","minimum":0,"type":"integer"}},"required":["text","votes"],"type":"object"},"type":"array"},"pollQuestion":{"description":"Question asked by an attached LinkedIn poll.","type":"string"},"pollTotalVotes":{"description":"Total votes recorded by the attached poll.","minimum":0,"type":"integer"},"text":{"description":"Text content of the post. Empty string when the post carries no commentary of its own, such as a bare article share or an image-only post. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Canonical URL of the LinkedIn post. Populated whenever the provider has data for the entity.","format":"uri","type":"string","x-anyapi-domain":"linkedin.com","x-anyapi-must-populate":true}},"required":["id","url","text","createdUtc","author","engagement"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["posts"],"type":"object"}]},"found":{"description":"Whether matching LinkedIn posts were found.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn Post Search (full) output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Post Search (full)","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-posts-full"},"x-payment-info":{"price":{"amount":"0.004000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rails":[{"headers":{"challenge":["PAYMENT-REQUIRED"],"credential":["PAYMENT-SIGNATURE","X-PAYMENT"],"receipt":["PAYMENT-RESPONSE","X-PAYMENT-RESPONSE"]},"pricing":{"amount":"0.005000","currency":"USD","minimumUsd":"0.001000","mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"},"rail":"x402","settlement":{"onExecutionFailure":"released","onUnknownFinalization":"indeterminate","timing":"after_execution"}},{"headers":{"challenge":["WWW-Authenticate"],"credential":["Authorization"],"receipt":["Payment-Receipt"]},"pricing":{"amount":"0.004000","currency":"USD","minimumUsd":null,"mode":"fixed","quoteBasis":"floor"},"protocol":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"},"rail":"mpp","settlement":{"onExecutionFailure":"charged_undelivered","onVerificationError":"indeterminate","timing":"before_execution"}}]}}},"/v1/run/linkedin.search_profiles":{"post":{"description":"Search LinkedIn profiles by keyword with optional location and job-title filters. Each match returns a full profile record: name, headline, location, current position, work experience, education, and skills, plus the profile URL, handle, and id. For a cheaper name/headline/URL-only search use linkedin.search_profiles_thin; add emails with linkedin.search_profiles_email.\n\n**Price:** billed per result - \\$88.00 per 1,000 requests base + \\$4.40 per 1,000 results, capped at \\$198.00 per 1,000 requests.\n\n**Routing:** one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail's settlement policy.\n\n**Catalog:** [LinkedIn Profile Search pricing and uptime](https://getanyapi.com/api/linkedin/search-profiles) - live USD price, lane routing, and measured 30-day uptime. [Every Linkedin endpoint](https://getanyapi.com/api/linkedin).","operationId":"linkedin_search_profiles","parameters":[{"description":"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.","in":"query","name":"fields","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_items","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"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.","in":"query","name":"summary","required":false,"schema":{"type":"boolean"}},{"description":"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.","in":"query","name":"jq","required":false,"schema":{"type":"string"}},{"description":"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.","in":"query","name":"max_cost_usd","required":false,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"currentCompanies":["Google"],"limit":3,"query":"engineer"},"schema":{"additionalProperties":false,"example":{"currentCompanies":["Google"],"limit":3,"query":"engineer"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. We recommend leaving it out. Setting it to false is experimental (its behavior may change) and ties the request to the sources listed in `source`: only they may serve, the request is refused with no charge if none of them can, and no other source rescues it when they fail. To control cost, set `max_cost_usd` instead: the REST query parameter or MCP `run_api` argument, on requests paid from your AnyAPI wallet. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"companyHeadcount":{"description":"Filter by current company size (employee count). Codes: A=Self-Employed, B=1-10, C=11-50, D=51-200, E=201-500, F=501-1,000, G=1,001-5,000, H=5,001-10,000, I=10,001+.","items":{"enum":["A","B","C","D","E","F","G","H","I"],"type":"string"},"type":"array"},"companyHeadquarterLocations":{"description":"Filter by the location of the person's current company headquarters, by place name (e.g. ['United States']).","items":{"type":"string"},"type":"array"},"currentCompanies":{"description":"Filter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR).","items":{"type":"string"},"type":"array"},"excludeCompanyHeadquarterLocations":{"description":"Exclude people whose current company is headquartered in any of these locations.","items":{"type":"string"},"type":"array"},"excludeCurrentCompanies":{"description":"Exclude people who currently work at any of these companies, by name.","items":{"type":"string"},"type":"array"},"excludeCurrentJobTitles":{"description":"Exclude people whose current job title matches any of these.","items":{"type":"string"},"type":"array"},"excludeFunctionIds":{"description":"Exclude these job functions (same codes as functionIds).","items":{"enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26"],"type":"string"},"type":"array"},"excludeLocations":{"description":"Exclude people in any of these locations, by place name.","items":{"type":"string"},"type":"array"},"excludePastCompanies":{"description":"Exclude people who previously worked at any of these companies, by name.","items":{"type":"string"},"type":"array"},"excludePastJobTitles":{"description":"Exclude people who held any of these past job titles.","items":{"type":"string"},"type":"array"},"excludeSchools":{"description":"Exclude people who attended any of these schools, by name.","items":{"type":"string"},"type":"array"},"excludeSeniorityLevelIds":{"description":"Exclude these seniority levels (same codes as seniorityLevelIds).","items":{"enum":["100","110","120","130","200","210","220","300","310","320"],"type":"string"},"type":"array"},"firstNames":{"description":"Filter to people whose first name matches any of these.","items":{"type":"string"},"type":"array"},"functionIds":{"description":"Filter by job function. Codes: 1=Accounting, 2=Administrative, 3=Arts and Design, 4=Business Development, 5=Community and Social Services, 6=Consulting, 7=Education, 8=Engineering, 9=Entrepreneurship, 10=Finance, 11=Healthcare Services, 12=Human Resources, 13=Information Technology, 14=Legal, 15=Marketing, 16=Media and Communication, 17=Military and Protective Services, 18=Operations, 19=Product Management, 20=Program and Project Management, 21=Purchasing, 22=Quality Assurance, 23=Real Estate, 24=Research, 25=Sales, 26=Customer Success and Support.","items":{"enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26"],"type":"string"},"type":"array"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. 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.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"jobTitle":{"description":"Optional current job title filter (e.g. 'Software Engineer').","type":"string"},"lastNames":{"description":"Filter to people whose last name matches any of these.","items":{"type":"string"},"type":"array"},"limit":{"description":"Maximum number of full profiles to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less.","maximum":25,"minimum":1,"type":"integer"},"location":{"description":"Optional location filter (e.g. 'San Francisco').","type":"string"},"pastCompanies":{"description":"Filter to people who previously worked at any of these companies, by name.","items":{"type":"string"},"type":"array"},"pastJobTitles":{"description":"Filter by a past job title the person held (e.g. ['Product Manager']).","items":{"type":"string"},"type":"array"},"preferLatencyUnderMs":{"description":"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.","minimum":1,"type":"integer"},"profileLanguages":{"description":"Filter by the profile's primary language.","items":{"enum":["Arabic","English","Spanish","Portuguese","Chinese","French","Italian","Russian","German","Dutch","Turkish","Tagalog","Polish","Korean","Japanese","Malay","Norwegian","Danish","Romanian","Swedish","Bahasa Indonesia","Czech"],"type":"string"},"type":"array"},"query":{"description":"Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').","type":"string"},"recentlyChangedJobs":{"description":"When true, only return people who recently changed jobs (a strong sales/recruiting signal).","type":"boolean"},"recentlyPostedOnLinkedIn":{"description":"When true, only return people who recently posted on LinkedIn (an activity signal).","type":"boolean"},"schools":{"description":"Filter to people who attended any of these schools, by name.","items":{"type":"string"},"type":"array"},"seniorityLevelIds":{"description":"Filter by seniority level. Codes: 100=In Training, 110=Entry Level, 120=Senior, 130=Strategic, 200=Entry Level Manager, 210=Experienced Manager, 220=Director, 300=Vice President, 310=CXO, 320=Owner/Partner.","items":{"enum":["100","110","120","130","200","210","220","300","310","320"],"type":"string"},"type":"array"},"source":{"description":"Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"yearsAtCurrentCompanyIds":{"description":"Filter by tenure at the current company. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.","items":{"enum":["1","2","3","4","5"],"type":"string"},"type":"array"},"yearsOfExperienceIds":{"description":"Filter by total years of experience. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.","items":{"enum":["1","2","3","4","5"],"type":"string"},"type":"array"}},"required":["query"],"title":"LinkedIn profile search input","type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"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.","type":"string"},"items":{"description":"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.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"description":"The results wrapper, or null when nothing was found.","oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"items":{"description":"Matched profile records. Populated whenever the provider has data for the entity.","items":{"description":"A full LinkedIn profile: name, headline, location, about, current position, work experience, education, and skills, plus the profile URL, handle, and id.","properties":{"about":{"description":"Profile about / summary text. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"city":{"description":"City of the member.","type":"string"},"connectionsCount":{"description":"Number of connections on the profile.","type":"integer"},"country":{"description":"Country of the member.","type":"string"},"countryCode":{"description":"Two-letter country code of the member.","type":"string"},"coverImage":{"description":"Profile cover (banner) image URL. The query string is a signed token, so keep the URL intact.","type":"string"},"creator":{"description":"Whether the member is in LinkedIn creator mode.","type":"boolean"},"currentPosition":{"description":"Current role(s). Each entry is an open object with the position title, company, dates, and location; shape can vary by profile.","items":{"type":"object"},"type":"array"},"education":{"description":"Education history. Each entry is an open object with school, degree, and field of study; shape can vary by profile.","items":{"type":"object"},"type":"array"},"experience":{"description":"Full work history. Each entry is an open object with the position title, company, dates, and location; shape can vary by profile. Populated whenever the provider has data for the entity.","items":{"type":"object"},"type":"array","x-anyapi-must-populate":true},"firstName":{"description":"Member's first name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"followerCount":{"description":"Number of followers of the profile.","type":"integer"},"handle":{"description":"Public profile identifier (the vanity slug in the URL). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"headline":{"description":"Profile headline (the tagline under the name). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hiring":{"description":"Whether the member shows the Hiring badge.","type":"boolean"},"id":{"description":"LinkedIn member URN id for the profile.","type":"string"},"image":{"description":"Profile picture URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"influencer":{"description":"Whether LinkedIn marks the member as an influencer.","type":"boolean"},"lastName":{"description":"Member's last name. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"location":{"description":"Member's location as a single string (city, region, country). Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"openToWork":{"description":"Whether the member has the Open to Work flag set.","type":"boolean"},"premium":{"description":"Whether the member has a LinkedIn Premium subscription.","type":"boolean"},"skills":{"description":"Listed skills, one object per skill with its name and, when the source has them, the endorsements label and related positions.","items":{},"type":"array"},"state":{"description":"State or region of the member.","type":"string"},"url":{"description":"Canonical LinkedIn profile URL. Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"verified":{"description":"Whether LinkedIn has verified the member's identity.","type":"boolean"}},"required":["id","url"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["items"],"type":"object"}]},"found":{"description":"True when at least one profile was returned.","type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"LinkedIn profile search output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"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.","type":"string"},"source":{"description":"The source that served this run. Its `id` is the value `source` and `ignoreSources` accept; leave `source` out to keep automatic routing and failover. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}}},"description":"Normalized result.","headers":{"Idempotency-Replayed":{"description":"Present only when the request carried an Idempotency-Key this gateway honored. \"false\" means the key was claimed and the run executed freshly; \"true\" means it replayed a prior identical run and was NOT charged again. Absent means either no key was sent or this gateway does not honor keys, so a retry could be charged twice.","schema":{"enum":["false","true"],"type":"string"}},"PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}},"Payment-Receipt":{"description":"Inline mpp payment receipt.","schema":{"type":"string"}},"X-PAYMENT-RESPONSE":{"description":"Inline x402 payment receipt.","schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Input did not match the schema, or the upstream rejected the request."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing or invalid API key."},"402":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequiredError"},{"$ref":"#/components/schemas/TrialCapReached"}]}},"application/problem+json":{"schema":{"properties":{"challengeId":{"minLength":1,"type":"string"},"status":{"const":402,"type":"integer"}},"required":["status","challengeId"],"type":"object"}}},"description":"Insufficient wallet balance or spend cap, or an inline-payment challenge. Agent trials receive a trial_cap_reached continuation with a live RFC 8628 device authorization.","headers":{"PAYMENT-REQUIRED":{"description":"Inline x402 payment challenge.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Inline mpp payment challenge.","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This API key's access (run only or read only) does not allow this operation."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unknown API. A target that does not exist is not a 404: the call succeeds with `output.found` false and `data` null."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Idempotency collision. Codes: idempotency_in_progress means retry after the Retry-After delay; idempotency_conflict means use a new key for different request semantics; idempotency_needs_review means stop retrying and contact AnyAPI support with X-Anyapi-Request-Id."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The request was well formed but this API cannot serve the requested target site; the body's `alternatives` array lists the AnyAPI APIs that can."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The upstream was rate limited; resend the same request, with the same cursor if one was sent, after Retry-After seconds. Inspect `payment` when present before deciding whether to retry."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An internal error prevented completion. Inspect payment when present before retrying."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Every provider failed with a server/transport error, or inline payment settlement could not be confirmed; inspect `payment` when present before retrying."}},"security":[{"bearerAuth":[]},{"apiKeyAuth":[]},{}],"summary":"LinkedIn Profile Search","tags":["linkedin"],"x-mint":{"href":"/api-reference/linkedin/search-profiles"},"x-payment-info":{"price":{"currency":"USD","max":"0.198000","min":"0.088000","mode":"dynamic"},"protocols":[{"x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","scheme":"exact"}},{"mpp":{"asset":"0x20c000000000000000000000b9537d11c60e8b50","currency":"USD","intent":"charge","method":"tempo","network":"tempo","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","rail":"tempo","scheme":"exact"}}],"rai