Pricing
The current credit price of every use case the API bills, read from the same price table every reservation is priced from.
A single synchronous GET /v1/pricing call — free, and answered with no credential — returns one entry per use case, in the order this document lists them.
Two spellings, one row:
use_caseis the route segment and the middle of the use case's API-key scopes;operationis the value its operations publish asx-credit-operation. Join the list to this document on either.Per request or per item:
creditsis charged per request for a single or synchronous operation, and per item for a batch, which charges only the items that succeed.Complete or nothing: when the current table cannot be read the call answers 503 with
Retry-After— never a partial list, never a missing price.
A repricing shows here within about two minutes. The list costs nothing and is the same for every caller, whatever key the request carries, or none.
Return the current credit price of every use case: one entry per use case, with its route segment (use_case), the operation it is billed as (operation, the x-credit-operation value its operations publish) and the credits charged (credits) — per request for a single or synchronous operation, per item for a batch, which charges only the items that succeed. The list is read from the same price table every reservation is priced from, so it is the price a request is charged now; a repricing shows here within about two minutes.
This operation takes no credential and costs nothing: it reserves no credit, records nothing, and answers every caller the same list, with any key or none. When the current price table cannot be read it answers 503 with Retry-After, never a partial list.
The price list — one entry per use case, every one present.
Too many requests — the per-operation floor shared by every caller of this operation was crossed. API Gateway answers it directly with a GatewayError body and Retry-After: 1, and the response carries no quota headers.
Service unavailable — the current price table could not be read, or could not be confirmed as the one reservations are priced from. No partial list is ever returned; the same request can succeed after the Retry-After interval.
curl -i "https://api.delpha.io/v1/pricing"{
"code": "ok",
"request_id": "c1a2b3d4-0000-4a5b-8c9d-ef0123456789",
"message": "Pricing retrieved",
"status": "SUCCESS",
"status_code": 200,
"result": {
"unit": "credits",
"use_cases": [
{
"use_case": "email",
"operation": "email",
"credits": 1
},
{
"use_case": "website",
"operation": "website",
"credits": 1
},
{
"use_case": "phone",
"operation": "phone",
"credits": 1
},
{
"use_case": "name",
"operation": "name",
"credits": 1
},
{
"use_case": "legal-id",
"operation": "legal_id",
"credits": 1
},
{
"use_case": "linkedin-profile",
"operation": "linkedin_profile",
"credits": 1
},
{
"use_case": "linkedin-company-page",
"operation": "linkedin_company_page",
"credits": 1
},
{
"use_case": "ultimate",
"operation": "ultimate",
"credits": 2
},
{
"use_case": "company",
"operation": "company",
"credits": 1
}
]
}
}Last updated
Was this helpful?