Skip to navigation

Flash API

Send a URL and the questions you have about it. Get one verdict per question, and what to do about it.

Flash checks a URL before your agent opens it, pays it or passes it on. The whole API is one request:

POST /v1/scan url + objectives → verdicts + policies
  • Verdicts answer the scan’s questions, one entry each in verdicts. Every scan answers safety, which says whether to touch the URL at all, and lists it first.
  • Objectives are sharper questions: who runs the site, whether they are reputable, and which brands the page presents. Each objective you ask for gets its own entry, about its own subject.
  • Policies turn the verdicts into one action. policies.merchant says whether to open, pay or onboard.

Should my agent open this?

Ask for safety alone. Its verdict is the answer. A scan that leaves objectives out also answers the objectives your plan includes.

POST /v1/scan
{
"url": "https://example.com/",
"objectives": ["safety"]
}
{
"objectives": ["safety"],
"verdicts": [
{
"objective": "safety",
"subject": {
"kind": "url",
"value": "https://example.com/"
},
"verdict": "safe",
"confidence": 0.94,
"reason": null,
"summary": "The page is live, and independent sources back it up."
}
]
}

Who runs this site, and can I trust them?

Ask two objectives in one scan. Flash scans the page once and answers each objective in its own entry.

POST /v1/scan
{
"url": "https://www.example.net/",
"objectives": ["domain_ownership", "entity_reputation"]
}
{
"objectives": ["safety", "domain_ownership", "entity_reputation"],
"verdicts": [
{
"objective": "safety",
"subject": {
"kind": "url",
"value": "https://www.example.net/"
},
"verdict": "safe",
"confidence": 0.93,
"reason": null,
"summary": "The page is live, and independent sources back it up."
},
{
"objective": "domain_ownership",
"subject": {
"kind": "domain",
"value": "example.net"
},
"verdict": "verified",
"confidence": 0.9,
"reason": null,
"summary": "Example Net Ltd runs example.net: its certificate is issued to that name."
},
{
"objective": "entity_reputation",
"subject": {
"kind": "entity",
"value": "lei:5299000EXAMPLE0NET77",
"name": "Example Net Ltd"
},
"verdict": "reputable",
"confidence": 0.8,
"reason": null,
"summary": "Example Net Ltd, which runs example.net, has an established public record and nothing against it."
}
]
}

Who is this page pretending to be?

The same request on a phishing link. The page impersonates Example, so the safety verdict is unsafe. Nothing names who runs the domain, so Flash says it can’t tell instead of guessing, and judges no one’s reputation.

POST /v1/scan
{
"url": "https://example-account-verify.example/signin?session=8812",
"objectives": [
"entity_representation",
"domain_ownership",
"entity_reputation"
]
}
{
"objectives": [
"safety",
"entity_representation",
"domain_ownership",
"entity_reputation"
],
"verdicts": [
{
"objective": "safety",
"subject": {
"kind": "url",
"value": "https://example-account-verify.example/signin?session=8812"
},
"verdict": "unsafe",
"confidence": 0.92,
"reason": null,
"summary": "Flash found proven harm on the page, or it was taken down for abuse."
},
{
"objective": "domain_ownership",
"subject": {
"kind": "domain",
"value": "example-account-verify.example"
},
"verdict": "inconclusive",
"confidence": null,
"reason": "no_identity_signals",
"summary": "Nothing Flash checked names who runs example-account-verify.example."
},
{
"objective": "entity_reputation",
"subject": null,
"verdict": "inconclusive",
"confidence": null,
"reason": "owner_not_established",
"summary": "Flash couldn't establish who runs example-account-verify.example, so it judged no one's reputation."
},
{
"objective": "entity_representation",
"subject": {
"kind": "entity",
"value": "wikidata:Q4115189",
"name": "Example"
},
"verdict": "impersonation",
"confidence": 0.7,
"reason": null,
"summary": "The page presents itself as Example without being it."
}
]
}

These responses are trimmed to the answers. Each objective’s page shows a whole response.

Every answer has the same shape

Each entry in verdicts carries the same seven fields. domain_ownership adds details, with the owner and platform it found.

FieldWhat it is
objectiveThe question this entry answers.
subjectWhat the verdict is about: the url, a domain or an entity. value is opaque: compare it, never parse it.
verdictThe answer, from a short fixed list per objective.
confidence0 to 1, a ranking rather than a calibrated probability. null when inconclusive.
reasonWhy Flash couldn’t tell. Set only when verdict is inconclusive.
summaryThe answer in one sentence a person can read.
evidenceWhat Flash saw, each item with its source. Items of kind checked name each source Flash consulted.

Every objective you ask for gets an entry, even one Flash couldn’t answer. inconclusive is an answer, not an error: reason says why, and the checked evidence shows what Flash couldn’t see. subject is still the domain or entity Flash asked about when it got that far, and null when the scan never reached the objective.

Around the scan

RequestUse it to
GET /v1/scans/{id}Read a finished scan back by its scanId, from any process.
GET /v1/limits and GET /v1/usageSee the scans you have left and your daily counts, without a scan.
POST /v1/keys/requestLet an agent ask a person for its own key.

The same scan is the scan_url tool on Flash’s MCP server, which returns the same verdicts and policies.

What this enables

  • Agents that check before they act. A safety verdict maps to one action, so an agent can check every link without judgment calls. See the verdicts.
  • Payee and vendor checks. Who runs a domain, and whether they have a record, backed by certificates and registry entries.
  • Brand protection. Which brands a page presents, and whether it is theirs or an impersonation.
  • Answers you can audit. Every scan has an id you can read back, and every piece of evidence names its source.

Start with the quickstart.