Refolk
DevelopersGetting started

Credits and limits

View as Markdown

What each call costs, how a search is reserved and reconciled, what the rate limits are, and how to check a balance before a long run.

Credits are the meter, and they are the same credits the app spends. There is no separate API plan and no per-seat pricing: whatever the account is on, the API spends the same balance the interface does. A new account starts with 500 credits, and the free tier tops back up to 250 each month. A paid plan tops up to its own allowance instead - call /v1/credits and read monthlyFloor rather than assuming a number.

What each call costs

CallCost
Search in plain EnglishReserves 10, reconciled against actual spend
Search with filters1 credit, whatever the page size
Turn a sentence into a filter set1 credit
Balance and identityFree

Every metered response carries a credits object with what the call charged and what is left, so a client that tracks spend never has to ask a second endpoint.

{ "credits": { "charged": 6, "balance": 494 } }

Why a search reserves more than it costs

An agentic search does not know what it will cost until it has run: a simple question is answered in one pass, a hard one reads six sources. Charging afterwards would mean anyone could start any number of searches on an empty balance. So the reservation is taken first, at a size that covers a heavy run, and the unused part comes straight back when the run settles.

You are charged for the search you got, never for the one it might have been.

What gets refunded

  • A filtered search that fails upstream is refunded in full. So is a translation that fails.
  • An agentic search that ends in an error having produced no people, companies, or repositories is refunded in full. One that produced results and then failed is charged for what it did.
  • A request refused for want of credits, a bad key, or a malformed body is never charged, because nothing ran.

Checking before a long run

Free to call, so a batch job that checks first can stop cleanly rather than failing partway through on a 402.

GET/api/v1/creditsfree

The balance, the monthly floor, and what each kind of call costs.

curl https://www.refolk.ai/api/v1/credits \
  -H "Authorization: Bearer $REFOLK_API_KEY"
Response
balancenumberrequired
What is left to spend, across both buckets.
purchasednumberrequired
Bought credits. These survive a refill and are never taken away.
planCreditsnumberrequired
The allowance slice. This is what gets topped up, and it does not roll over.
planobjectrequired
id and name of the account's plan.
monthlyFloornumberrequired
What the allowance refills to at the start of each period. Depends on the plan.
costsobjectrequired
What each kind of call costs right now.
Run this in the playgroundFree. Nothing is charged for this one.

Rate limits

Per key, not per account, so one runaway script cannot take the rest of your integrations down with it.

ClassBurstRefill
Searches20one every 2 seconds
Balance and identity reads60two a second
Concurrent agentic searches2n/a

A third concurrent search gets a 429 rather than a queue, because a queue on a ninety-second call is a timeout with extra steps.

Topping up

From settings, the same as the app. See pricing for what a pack costs. An account can never be overdrafted: a call that would take the balance below zero is refused before it runs.

Try it on the search you came here for

Stop building boolean strings. Just describe the person.

Type one sentence. I plan the search, read GitHub, public LinkedIn and Crunchbase records, and the open web as it is right now, and hand back a ranked list with the reason next to every name.

  1. 01Describe them

    One plain sentence. Role, city, stack, stage, whatever matters to you.

  2. 02I read the web live

    GitHub, public LinkedIn and Crunchbase records, the open web. Not a database that went stale last quarter.

  3. 03You read the shortlist

    Ranked, with the reasoning under every name. Open a profile, ask a follow-up, narrow it down.

  • No boolean, no filters, no seat to buy. One box.
  • Read at search time, so a profile updated yesterday counts today.
  • Every step visible as it runs, every name with its reason.

500 free credits on sign-up. No card, no demo call. See real searches.