Skip to content

How it works

How FRAPE decides, in real time.

Every POST /v1/score follows the same path within a fixed time limit. Clear cases end early, so most decisions never wait on the AI. Median decision time is under 50 ms.*

* Median server-side decision time, measured by FRAPE in testing, Oct 2026. Not a service level; your times will vary.

Decision flow

From request to decision

FRAPE decision flowA scoring request is validated, then terminal rules run first; a terminal hit decides immediately with no provider or Decision Core call. Otherwise cached and local data are used first, external providers are called only for missing capabilities, features and second-stage rules are computed, the Decision Core is consulted only when needed, and the deterministic policy engine always makes the final decision.01Validate requestPOST /v1/score · schema · no card numbers02Pre-rules #1terminal hard rulesterminal hit → decide now03Cache & local datacache → local reference dataall local → zero provider calls04External providersmissing capabilities only · paralleltimeout + circuit breaker each05Features + pre-rules #2velocity · identity · signals06Decision Core (AI, advisory)only when rules can’t settle itskipped or unavailable → policy07Your policydeterministic · makes the final call08DecisionAPPROVE · CHALLENGE · REVIEW · DECLINE
Solid arrows: the full path. Dotted arrows: short-circuits that avoid provider and Decision Core calls.

Step by step

  1. Validate requestPOST /v1/score · schema · no card numbers
  2. Pre-rules #1terminal hard rulesterminal hit → decide now
  3. Cache & local datacache → local reference dataall local → zero provider calls
  4. External providersmissing capabilities only · paralleltimeout + circuit breaker each
  5. Features + pre-rules #2velocity · identity · signals
  6. Decision Core (AI, advisory)only when rules can’t settle itskipped or unavailable → policy
  7. Your policydeterministic · makes the final call
  8. DecisionAPPROVE · CHALLENGE · REVIEW · DECLINE

Why it works this way

Five gates, each with one job

  1. gate 01

    Known fraud stops first

    Hard rules run before anything else. A blocklisted device, card, email or IP, an unsupported country or known test traffic gets a decision immediately, and the record shows that the AI was not needed.

  2. gate 02

    Your own data next

    FRAPE works out what extra data this event needs and looks in the cache and local reference data first. If that covers everything, no external call is made.

  3. gate 03

    Data providers when needed

    Only data that is still missing goes to external providers, in parallel, each with its own timeout and circuit breaker. If one fails, its data is marked unavailable and scoring carries on.

  4. gate 04

    AI for the grey zone

    FRAPE Decision Core is consulted only when the rules score is uncertain. It is skipped when a hard rule fired, when rules are confident, or when you have switched it off or its budget is spent. When it runs, it sees a minimised summary and answers in one call.

  5. gate 05

    Your policy decides

    Your policy combines the facts, the rule results and the AI’s score into the final decision. If the AI is unavailable, your fallback applies: review, challenge, decline or rules only. Never approve.

Resilience

When something breaks, fraud still doesn’t get through

  • Cache downVelocity data becomes unavailable. Scoring continues, and missing data is never treated as safe.
  • Data provider downThat data is marked unavailable, and your rules can treat the gap as a signal in its own right.
  • AI unavailableYour fallback applies, and the event records why FRAPE Decision Core was not used.

Pre-checks

Pre-checks: slow checks before the payment, no time added at scoring

Some checks need an outside provider and take a second or more, too slow to run while a payment waits. So your server sends the email and phone to FRAPE as soon as the customer types them, at sign-up or the checkout email step. FRAPE answers at once and runs the checks in the background. Minutes later, when the payment is scored, the answers are already stored, and your rules use them on the customer's first purchase.

  • One call for every check, from your server only. The answer never contains a result, a score or a decision.
  • Every check is on by default on paid plans once it is live; turn any of them off in Settings. Answers FRAPE already holds, including answers first collected for another FRAPE customer, are reused for free until they are due for a refresh. Name checks are the exception: their answer is kept only for the customer that asked.
  • Only the verdict is kept, with a keyed hash of the email or phone, never the value itself.

The checks

  • Email · mailboxLive

    Mailbox

    Whether the mailbox exists and can receive mail, or is disposable, a role address or a catch-all.

  • Email · email_footprintNot currently available

    Email footprint

    How many online services and known data breaches the address appears in, and how long ago it was first seen online. Counts only, never which sites.

  • Phone · phone_footprintNot currently available

    Phone footprint

    Messaging apps on the number, the line type, whether it is disposable, how long ago it was first seen online, and when it last moved to another carrier.

  • Phone · sim_swapComing

    SIM swap

    How many days since the number's SIM card last changed, where the carrier reports it.

  • Phone · caller_nameLive

    Caller name (US numbers)

    Whether the name registered to a US number matches the customer's name: match, partial or no match. The name itself is not stored.

  • Phone · line_typeLive

    Line type

    The type of phone line, for numbers in any country where it is known: mobile, landline, internet phone (VoIP), toll-free or other.

See POST /v1/prechecks · What pre-checks send and keep

Get started

Start stopping fraud today.

Start free with test keys, then see every decision explained on your own live traffic, with Decision Core advising in watch mode until you switch it on. Or tell us what you need to protect, and we will walk you through how FRAPE would decide it. Compare plans.

$ curl https://api.frape.io/v1/score …Start freeTalk to sales