Built for agents that are not allowed to guess
The Agent Source API verifies and resolves sources for AI agents as clean JSON.
6 active endpoints, on 0, 1, 2 and 3 credit tiers.
- POST/agent-source/v1/source_url
- POST/agent-source/v1/official_source
- POST/agent-source/v1/verify_claim
- POST/agent-source/v1/pricing_lookup
- POST/agent-source/v1/pricing_compare
- POST/agent-source/v1/providers
What Source Verification endpoints does ReefAPI ship?
6 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.
Source Verification API
3 of 6 endpoints, ready to run
The official URL for what you need, the vendor's other official domains, and the registry evidence that the domain really is theirs.
{ "ok": true, "meta": { "api": "agent-source", "endpoint": "official_source", "mode": "live", "latency_ms": 244, "record_count": 1, "cache_hit": false }, "data": { "entity": "Anthropic", "provider": "anthropic", "matched": true, "need_type": "docs", "official_url": "https://docs.claude.com/en/home", "official_domains": [ "anthropic.com", "docs.claude.com", "docs.anthropic.com" ], "why_official": { "domain_match": true, "official_domain": "anthropic.com", "domain_age_days": 9096, "registrar": "MarkMonitor Inc.", "created": "2001-10-02T18:10:32Z" }, "all_sources": { "pricing": "https://docs.claude.com/en/docs/about-claude/pricing", "docs": "https://docs.claude.com/en/home", "changelog": "https://docs.claude.com/en/release-notes/api", "status": "https://status.anthropic.com/", "legal": "https://www.anthropic.com/legal/commercial-terms", "model_card": "https://docs.claude.com/en/docs/about-claude/models/overview" }, "disclaimer": "official_source & pricing answer ONLY for a curated whitelist of major developer/AI/cloud providers (OpenAI, Anthropic, Google Gemini, xAI, OpenRouter, AWS, GCP, Azure). 'find the official source for any entity on the internet' is deliberately NOT claimed (honesty over coverage). The whitelist expands only with maintainer sign-off.", "subcalls": [ { "api": "domain-intel", "action": "whois", "status": "ok", "latency_ms": 224.4 } ] } }
How the Source Verification API works
Source Verification is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 184 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and cache hits cost nothing.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
Stopping an agent from citing a page that is not the vendor's
An agent asked for a vendor's pricing will happily cite a blog post, a reseller or a two-year-old comparison table. The failure is invisible until someone checks the number.
{"entity": "Anthropic", "need_type": "pricing"}Returns the official page along with the registry evidence for the domain — its age, its registrar, and the fact that it matches the vendor's known domains.
{"providers": ["openai", "anthropic"]}Normalised to input and output per million tokens across vendors, each row carrying the URL it was read from and when.
The agent gets a figure it can cite and a source it can name, instead of a number with no provenance. Cheapest input and cheapest output are computed for you.
curl -X POST https://api.reefapi.com/agent-source/v1/official_source \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"entity":"OpenAI","need_type":"pricing"}'{
"ok": true,
"data": { … },
"meta": {
"api": "agent-source",
"endpoint": "official_source",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}The curated provider whitelist, measured provider by provider
official_source and the pricing actions answer only for a fixed whitelist, which the providers action returns in full. All eight resolve official URLs, but structured pricing rows are a separate question, and the parse surface behind each provider determines whether you get rows at all. The pricing column below is what a live call returned on 2026-08-26, not what the capability flag claims.
| Provider key | Official URLs | pricing_lookup measured 2026-08-26 | Parse surface |
|---|---|---|---|
| anthropic | Yes, 6 need types | 13 model rows | html_proximity |
| gemini | Yes, 6 need types | Rows returned, with the same model name repeating once per price tier | html_table |
| openrouter | Yes, 6 need types | Rows returned, with output rates that are not a fixed multiple of input, e.g. 0.16 in and 0.47 out | json_api |
| openai | Yes, 6 need types | pricing_available false, count 0 | html_proximity |
| xai | Yes, 6 need types | pricing_available false, count 0 | html_proximity |
| aws, gcp, azure | Yes, 6 need types | pricing_available false by design, with normalization_notes explaining that model prices live in sprawling compute-SKU pages | unstructured |
The six need_type values are pricing, docs, changelog, status, legal and model_card, plus 'all' to get every URL at once. Aliases are generous: 'claude', 'opus' and 'gpt-5' all resolve to their provider key. An entity outside the whitelist is not an error, it returns ok:true with matched:false, official_url null and a suggestion listing the supported keys.
Why this is a whitelist, and what that costs
Measured across the supported vendors. The first two rows are the whole design and its price.
Official-source and pricing answer for a small set of vendors we maintain, with a handful of those supporting pricing. Ask about anyone else and it says so rather than guessing. That is the trade: this endpoint is narrow on purpose, because the thing it sells is that the answer is right, and a heuristic that finds a plausible official page for any company on earth is exactly the failure it exists to prevent. The provider list is itself an endpoint, so you can check coverage before you call.
The response carries why it considers a domain official: the vendor's known domains, whether the answer matches one, and the domain's registration age and registrar pulled live from the registry. A ten-year-old domain registered to the company is a different claim from a page that merely says the company's name, and the difference is in the payload.
Every price comes with the URL it was read from and when it was last seen, and everything is normalised to the same unit and currency so vendors are comparable. Model pricing changes without announcement; a figure with no timestamp is a figure you cannot defend.
A subcalls block lists the internal lookups used to build the answer, with the status and latency of each. When an answer is thinner than expected you can see which step returned less, instead of re-deriving it from the outside.
Every response repeats what the endpoint does and does not cover. An agent that reads only the payload still gets the caveat, which is the only place a caveat is any use.
What people build with Source Verification
The jobs this data is most often used for.
endpoints
credits per call
AI agents call verify_claim to check a statement against an official source.
Agents use source_url to resolve and validate a canonical link before citing it.
Pricing agents use pricing_lookup and pricing_compare to ground cost claims.
What Source Verification data costs
The cheapest call here is 0 credits, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
Full pricing →- 1,000 free credits on signup, no card
- One key, all 184 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/agent-source/v1/official_source \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"entity":"OpenAI","need_type":"pricing"}'import requests
r = requests.post(
"https://api.reefapi.com/agent-source/v1/official_source",
headers={"x-api-key": REEF_KEY},
json={
"entity": "OpenAI",
"need_type": "pricing"
},
)
print(r.json()["data"])Have a question? We got answers.
The questions people actually ask before wiring up Source Verification.
Get a free key →Does a 'supported' verdict from verify_claim mean the claim is true?▾
No. It means the phrase and the number both appear on that page, close together. Two measured calls against the same Anthropic pricing page prove the limit: 'Claude Opus 4.1 input is $15 per million tokens' returned supported at confidence 0.9, and 'Claude Opus 4.1 output is $30 per million tokens' also returned supported at 0.9, because $30 sits in the same price row even though it is not the output rate. The payload says it plainly in its own note: this is a source-evidence check, not a truth oracle. Always read the evidence snippets, which show exactly which text was matched.
How reliable is output_per_1m_usd?▾
It depends on the parse surface, and the response tells you which one was used. On providers parsed with html_proximity, normalization_notes states that input is the first price found and output is inferred from a 1.5x-to-8x band, which can pick the wrong column on a page that lists cache and batch tiers side by side. Every row also carries prices_found_usd with all the nearby rates, so on a measured Opus 4.1 row you can see the full set 15, 18.75, 30, 1.5 and 75. Bill from prices_found_usd and source_url, not from the single output number.
Why does the same model appear several times in pricing rows?▾
Because a provider's pricing table lists one row per tier, and the parser keeps them all rather than picking a winner. A measured comparison filtered to 'flash' returned gemini-3.1-flash repeatedly, at four different input rates: 0.125, 0.25, 0.45 and 1.5 per million tokens, which are the context and modality tiers listed on that page. cheapest_input and cheapest_output pick the lowest row, so they will report the cheapest tier of a model and not its standard rate. De-duplicate on model plus price before you show anything to a user.
What happens when I ask about a provider that is not on the list?▾
You get an honest empty answer rather than a guess. A measured official_source call for 'some-random-startup-xyz' returned ok:true with provider null, matched false, official_url null, an empty all_sources object and a suggestion listing the eight supported keys. The disclaimer in the payload states that finding the official source for any entity on the internet is deliberately not claimed, and that the whitelist only grows with maintainer sign-off.
official_source says reachable:false but the page opens in my browser. Which is right?▾
The page is fine. verify:true on official_source runs a lightweight reachability probe that can report false on hosts that answer redirects unusually. A measured source_url call on the very same URL, https://openai.com/api/pricing/, returned accessible true with status_code 200 after two hops. When reachability matters, use source_url, which gives you the full redirect chain with a status code per hop.
Why did source_url return a different URL than the one I sent?▾
It follows the redirect chain to the end, including any locale rewrite the site performs on your request. The measured chain from https://openai.com/api/pricing/ was 308 to https://openai.com/business/pricing/#api, then 302 to https://openai.com/tr-TR/business/pricing/, which returned 200. Read final_url and final_domain rather than the URL you sent, and note that official.is_official is decided on the final domain, which is why that redirected page still scored true for openai.
The freshness block says staleness 'unknown'. What should I read instead?▾
It means the page published neither a date nor a usable archive snapshot. In a measured call, metadata.published_at, updated_at, title and canonical were all null, archive.available was false, and staleness fell back to 'unknown'. Modern marketing pages frequently ship no dateable metadata at all. When you need a timestamp on a price, use last_seen_at from pricing_lookup, which records when the page was actually read, rather than trying to infer the page's own age.
How do I get an official URL for AWS, GCP or Azure pricing?▾
Use official_source, which resolves them normally, and skip pricing_lookup for those three. A measured pricing_lookup on aws returned ok:true with pricing_available false, an empty models array, and normalization_notes explaining that model pricing there lives inside compute-SKU pages with no stable structured slice, so it is out of scope. The official pricing URL still comes back, along with why_official showing the domain match, its age in days and the registrar.
What is the Source Verification API?▾
Source Verification API is a ReefAPI endpoint group for source verification It returns live JSON through POST requests under /agent-source/v1.
Is the Source Verification API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. Source Verification calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Source Verification login or account?▾
No login to Source Verification is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Source Verification data?▾
The page example is captured from a live source_url call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Source Verification API use?▾
Source Verification actions currently cost 1-3 credits per successful call. Failed or blocked calls are free, and all APIs draw from one credit pool.
Can I call Source Verification from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call agent-source actions with the same key, credit pool and JSON envelope used by normal REST requests.
19 Utilities & AI APIs on the same key
One key, one credit pool, one response envelope. If you are pulling Source Verification, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 183 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-08-30.