Raw endpoints
Provider + endpoint addressing for the long tail: the provider's own request and payload, settled on the provider's measured cost after the run.
Two tiers share one front door. Capabilities are the routed product: one name, normalized input and output, a quote before the run, several providers behind it, waterfall failover. Raw endpoints are the long tail: one provider's own endpoint, called with the provider's own request shape, answered with the provider's own payload. No routing, no normalization, no fixed price.
Use a capability when one exists (discover tells you which capability wraps an endpoint). Use a raw endpoint when you need a provider field the capability does not expose, or a job the catalog has not wrapped yet.
Where they come from
Endpoints are imported from the providers' own catalogs, not hand-written: DataForSEO's OpenAPI specification (every live endpoint plus the free reference data), the Apify store (public actors that allow agentic use and bill per event or per compute, filtered to actors people actually run), and the OpenAPI specifications of TikHub, Exa and Firecrawl. Providers without a machine-readable catalog have hand-maintained manifests: LeadMagic, Hunter, Tomba, MillionVerifier, PredictLeads, ScrapeCreators, Apollo, Findymail, RB2B, and the US and French public sources below.
RB2B is website visitor identification: /ip_to_company gives the company behind a visitor's IP address, /ip_to_hem the hashed email seen on it, and /hem_to_business_profile the person behind that hash (name, title, employer, LinkedIn URL). Four more endpoints turn a hashed email or a LinkedIn slug into a LinkedIn URL, a profile or a mobile number. Coverage is mostly US. Each lookup has a fixed price; one with no record found is a free no_match, and the same call again within 12 hours is answered from the run log (repeated misses).
USAspending, USAJOBS, Grants.gov and the Federal Register are public federal APIs at no charge: their endpoints hold nothing and settle at $0. They cover award records with incumbents and contract end dates by agency and office, federal job postings open and closed, grant opportunities with the agency contact on each, and the requests for information, notices and rules an agency publishes before it buys.
French public data works the same way, at no charge: Recherche d'entreprises (the company register, searched by NAF code, departement and headcount band), BODACC (legal announcements: creations, sales, director changes, insolvency proceedings), DECP (public contracts awarded since 2019, with the winner's SIRET), BOAMP (tender notices) and France Travail (job postings). Recherche d'entreprises keys each company on its SIREN, which BODACC and DECP carry too.
Some providers are never exposed raw: fal (its terms prohibit it; use creative.*), AgentMail, Mailivery and Name.com (inboxes, warm-ups and domains live in the platform account and are owned per workspace; use email.* and domain.*), Unipile (connected LinkedIn, Instagram, WhatsApp and Gmail accounts; use their capabilities), Supermemory (memory.*) and Bloomberry (company.technologies). GET /v1/catalog/providers/{provider} gives the reason in endpoints.reason, and a run is refused with provider_not_available.
That same provider record carries endpoints.count and endpoints.status: live (runs now), ready (listed, platform account pending), excluded, or unknown (the provider has no raw endpoints). Each provider page on the site shows the same count.
Addressing
provider + endpoint
dataforseo + /v3/serp/google/organic/live/advanced. apify + /apidojo/tweet-scraper. tikhub + /api/v1/tiktok/app/v3/fetch_video_comments. The endpoint is the provider's own path; discover and the provider listing return it verbatim.
List and discover
GET /v1/catalog/providers/{provider}/endpoints?q=backlinks&limit=50&offset=0
One provider's endpoints, free and without a key: q filters on the path and title, limit is up to 200 (default 50), and next_offset reads the next page (null on the last). total counts every endpoint the provider serves, whatever q filters.
POST /v1/discover searches capabilities and endpoints together. Every item has kind (capability or endpoint), a relevance score and a health verdict; capabilities outrank endpoints on equal relevance, and a live capability that wraps an endpoint always ranks above it. Restrict with "kind": "endpoint" or "provider": "dataforseo", and read the response's hints.
routergrowth discover -q "tiktok video comments" --kind endpoint
routergrowth endpoints -p dataforseo -q backlinks # one provider's list, substring filter
Inspect
{"provider": "dataforseo", "endpoint": "/v3/serp/google/organic/live/advanced"}
Returns the provider's contract: input with pathParams, queryParams, body (properties, required) and bodyType, an example, the cost model, billing (the hold for the example input and how the call settles), health, wrapped_by (capabilities that call this endpoint), a ready-to-run run.cli and run.http, and hints. Apify actors load their input schema from the actor's build on first inspect.
input.bodyType |
Meaning |
|---|---|
task |
DataForSEO: input is one task object (or an array of up to 10); the request body is the array |
actor_ |
Apify: input is the actor's input object |
json |
input is the JSON body |
null |
a GET endpoint: input holds its query parameters, the ones queryParams lists |
Run
{
"provider": "dataforseo",
"endpoint": "/v3/serp/google/organic/live/advanced",
"input": {"keyword": "best crm", "location_code": 2840, "language_code": "en"},
"routing": {"max_cost": "0.05"}
}
path fills {placeholders} in the endpoint ({"domain": "example.com"}), query adds query parameters. The response has the run's usual shape with kind: "endpoint", capability: null, endpoint set, and result.data holding the provider's payload untouched (result.raw: true, with result.http_status).
How a raw run bills
There is no quote. Instead:
- Hold. Before the call, the wallet holds the rate-card estimate with headroom when the provider publishes rates, or a fixed default amount when it does not.
routing.max_costlowers the hold; set it on every raw call. Where the price is fixed or set by the input (RB2B's lookups, DataForSEO rows, depth and search operators), amax_costunder the estimate is refused withcost_limit_exceededbefore the call. - Settle. After the call, the charge is priced on the provider's measured cost when the provider reports it (DataForSEO reports every task's cost; Apify reports
usageTotalUsd), on the rate-card estimate otherwise. The charge never exceeds the hold, and never exceedsmax_cost. - Release. Provider errors, timeouts and HTTP 4xx/5xx release the hold in full. A measured cost of zero charges nothing.
Apify books a run's per-event charges a few seconds after the run ends, so an Apify run settles in two steps. When the call returns, it charges the larger of what Apify has reported so far and the rate card for the items delivered. A few minutes later, RouterGrowth reads Apify's final bill for that run and adjusts the charge to it: one more usage_charge entry on the run, either the rest of the charge or the overcharge returned, still within the hold and max_cost. GET /v1/runs/{id} shows the final charge once it is in.
An Apify actor that stops at its timeout or at your cap after collecting items is not a failure: the run succeeds with the items it collected and settles on what Apify measured, never above max_cost. result.data.run.status shows where it stopped (TIMED-OUT, ABORTED), and the attempt's detail starts with partial:. With no items, the hold is released.
Apify actors that bill per event run under a hard charge cap set from your hold (maxTotalChargeUsd), enforced by Apify. Apify refuses a cap under its minimum, so these actors need a max_cost of at least the figure inspect's hints give.
Raw runs never fall back to another provider: there is nothing equivalent to fall back to.
Controls
The daily spend guard applies to raw runs like any other. The per-run ceiling earns its keep on this tier, where a provider without a rate card takes a default hold: with per_run_limit set, any single run whose hold would exceed it ends blocked with cost_limit_exceeded and a controls entry naming the control. It is off unless you set it; null turns it off again. POST /v1/spend-guard sets the whole guard, so send the daily cap's values with it:
{"enabled": true, "daily_limit": "25", "per_run_limit": "1"}
See Spend guard.
Health
Every endpoint and every capability offer carries health: healthy (confirmed within the last hour), stable (strong 30-day record), degraded, outage, or unknown (not enough data, common for low-traffic endpoints, not a warning), with latency_ms_p50, the typical latency in milliseconds. For Apify actors with no measurements of our own, the actor's published 30-day run stats set the verdict. Use health to break ties between two endpoints that both fit, never to skip one that is unknown.
Promotion
A raw endpoint that many workspaces call is the next candidate for a routed capability, with a quote and a second provider behind it. If you rely on one, say so with a feedback report.
Reading this as an agent? This page as markdown: /docs/api/endpoints.md · every page: /docs/llms.txt