POST /v1/jobs/enrich
https://api.voygr.tech/v1/jobs/enrich
Overview
Enrich up to 10,000 places asynchronously using /v1/enrich request bodies. Poll GET /v1/jobs/{batch_id} until completed, then download result.jsonl.gz: one result per input row, in order. A standard attribute the quick extraction leaves empty is also researched, at no extra charge, so rows that need it take minutes rather than seconds. Each row holds what its /v1/enrich call would cost and is charged as that call would be. A value research found counts like any other, and unused credits are released. Failed rows are free. Save batch_id and poll GET /v1/jobs/{batch_id} after acceptance. For an uncertain submission, retry promptly with the same Idempotency-Key and identical body. Replay only applies while the idempotency record is retained and the job is not cancelled. Reusing a key after cancellation or retention expiry can create new work and charges. While replay applies, a different body returns 409 IDEMPOTENCY_CONFLICT. Use a new key for new work.
Authentication
- API key in header
X-API-Key: Your customer API key (pk_live_...), sent on every request. Self-serve at https://api.voygr.tech/checkout.
Parameters
| Name | Location | Required | Type | Description and constraints |
|---|---|---|---|---|
Idempotency-Key | header | optional | string | null |
Request body
required
application/json
Schema: EnrichJobSubmit
Responses
200
Successful Response
application/json
Schema: ValidationJobSubmitResponse
422
An attribute asks for something the service does not research. Remove or rephrase the named attributes and resend; nothing is charged.
application/json
Schema: object
Fields
| Field | Type | Required | Description and constraints |
|---|---|---|---|
success | boolean | required | |
error | string | required | |
error_code | string | required | |
rejected_fields | object mapping names to string | required | Attribute name to the reason it was refused. |
request_id | string | null | optional | |
validation_timestamp | string | optional |
fieldrejected
{
"success": false,
"error": "field_rejected_by_policy",
"error_code": "FIELD_REJECTED",
"rejected_fields": {
"alarm_code": "harmful"
},
"request_id": "example-request-id",
"validation_timestamp": "2026-09-16T12:00:00Z"
}400
Invalid request. Correct the fields before retrying.
application/json
Schema: object | object
Option 1 fields
| Field | Type | Required | Description and constraints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
success | boolean | required | constant False | ||||||||||||||||
error | string | required | |||||||||||||||||
error_code | string | required | constant VALIDATION_ERROR | ||||||||||||||||
request_id | string | null | required | |||||||||||||||||
validation_timestamp | string | required | |||||||||||||||||
detail | array of object | required | Item fields
|
Option 2 fields
| Field | Type | Required | Description and constraints | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail | object | required | Gateway rejection, for example an invalid Idempotency-Key header.Fields
|
One of
- Option 1: requires
success,error,error_code,request_id,validation_timestamp,detail - Option 2: requires
detail
invalidinput
{
"success": false,
"error": "Invalid input provided",
"error_code": "VALIDATION_ERROR",
"request_id": "example-request-id",
"validation_timestamp": "2026-09-16T12:00:00Z",
"detail": [
{
"field": "pois.0.poi_name",
"message": "Field required",
"type": "missing"
}
]
}401
Missing or invalid X-API-Key.
application/json
X-API-Key header absent
{
"detail": {
"error": "API key required"
}
}X-API-Key doesn't resolve to an active key
{
"detail": {
"error": "invalid API key"
}
}402
The available balance cannot cover the request's credit hold. Nothing ran.
application/json
quotaexceeded
{
"detail": {
"error": "quota_exceeded",
"needed_credits": 10,
"checkout_url": "/checkout/buy"
}
}403
The key lacks the entitlement this operation requires.
application/json
notentitled
{
"error": "missing entitlement: one of ['enrich', 'deep_research']",
"error_code": "MISSING_ENTITLEMENT",
"entitlements": [
"enrich",
"deep_research"
]
}409
IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different body. Use a new key for new work.
application/json
idempotencyconflict
{
"success": false,
"error_code": "IDEMPOTENCY_CONFLICT",
"error": "Idempotency-Key already used for a different request",
"request_id": "example-request-id"
}429
BATCH_CONCURRENCY_LIMIT: the key already has 20 jobs in progress; wait retry_after_seconds (no Retry-After header) or until one finishes. Any other 429 is the rate limit: wait and follow Retry-After when returned. Free keys are limited to 10 requests per second and 120 requests per minute, and can place 1 call at a time, up to 25 calls per day. Paid keys are limited to 10 requests per second and 120 requests per minute. A top-up raises a key's daily cap to 5,000 calls and its concurrent-call ceiling to 10. Enterprise limits are set per contract.
application/json
batchconcurrencylimit
{
"success": false,
"error_code": "BATCH_CONCURRENCY_LIMIT",
"error": "Max 20 in-flight batches per API key",
"retry_after_seconds": 60,
"request_id": "example-request-id"
}ratelimited
{
"detail": {
"error": "rate limit exceeded"
}
}502
The service behind the gateway failed. The job may still have been created: retry promptly with the same Idempotency-Key and body, which returns it if it exists.
application/json
backenderror
{
"error": "backend error",
"error_code": "BACKEND_ERROR"
}504
The service behind the gateway did not answer in time. The job may still have been created: retry promptly with the same Idempotency-Key and body.
application/json
backendtimeout
{
"error": "backend timeout",
"error_code": "BACKEND_TIMEOUT"
}Schemas
EnrichJobSubmit
Type: object
Submit body for POST /v1/jobs/enrich.
Each row is the flat /v1/enrich body for one place (EnrichJobRow): standard
attributes, custom research attributes, the reserved research fields and the
check flags, with the same validation. Unknown keys are refused.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
pois | array of EnrichJobRow | required | Inline places to enrich; each is a flat /v1/enrich body 1 to 10000 items |
Example
{
"pois": [
{
"id": "bakery-001",
"poi_name": "Example Bakery",
"address": "123 Example Street",
"country": "US",
"latitude": 37.7749,
"longitude": -122.4194,
"attributes": [
"opening_hours",
"phone",
"website"
]
},
{
"id": "cafe-002",
"poi_name": "Example Cafe",
"address": "456 Sample Avenue",
"country": "US",
"latitude": 37.7755,
"longitude": -122.4183,
"attributes": [
"opening_hours",
"phone",
"website"
]
}
]
}ValidationJobSubmitResponse
Type: object
Accepted validation or enrichment job submission.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
batch_id | string | required | |
type | string (one of validate, enrich) | null | optional | |
status | string | required | one of queued, running, completed, failed, cancelled |
created_at | string | required | |
total_items | integer | required | |
eta_seconds | integer | required | |
eta_completion_at | string | required |
EnrichJobRow
Type: object
One /v1/jobs/enrich row: the flat /v1/enrich body for one place.
It takes standard attributes, custom research attributes, the reserved research
fields (owners, key_people, brand, ...) and the identity and address checks,
exactly as on /v1/enrich. Unknown keys are refused, so a misspelled check flag
cannot skip the check.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string (max length 100) | null | optional | Client-provided identifier |
poi_name | string (length 1 to 200) | null | optional | Place name (flat shape) |
street | string | null | optional | Street address |
city | string | null | optional | City |
region | string | null | optional | State/province |
postcode | string | null | optional | Postal/ZIP code |
country | string | null | optional | 2-letter ISO country code (e.g. 'US') |
address | string (max length 500) | null | optional | Unstructured address string. May also be sent as freeform_address. |
latitude | number (-90.0 to 90.0) | null | optional | Latitude (WGS84) |
longitude | number (-180.0 to 180.0) | null | optional | Longitude (WGS84) |
registered_address | string (max length 500) | null | optional | The place's registered (legal) address, if you hold one. address remains the trading address. |
include_summary | boolean | optional | Flat shape only: also return place_summary. Does not change billing.default False |
response_format | string | optional | Flat shape only: attribute representation. A request that also asks for a research field always answers in cell form, the one representation both lanes share; a standard-only request honors this field.one of attributes, cell; default attributes |
pois | array of UnifiedEnrichPOI | null | optional | Places to enrich (list shape). A single place may be a list of one. |
attributes | array of (string | DeepResearchFieldSpec) | null | optional | What to return, for every place. A bare string names a standard attribute (opening_hours, phone, website, facebook, instagram, tiktok, x, email, existence, open_closed) or a research field; an object additionally describes a research field. Defaults to the standard set. Billing follows the attribute's lane, not its spelling: standard attributes cost a flat credit per place however many you ask for, research fields cost per place per field. |
validate_existence | boolean | optional | Also validate whether each place exists, returned as an 'existence' attribute. default False |
verify_name | boolean | optional | Verify the business name before researching, and research every attribute against the verified name. Each row returns identity.name. Flat 1 credit per place; shares one lookup with verify_address, so the two together still cost 1.default False |
verify_identity | boolean | optional | Deprecated: use verify_name and verify_address. Equivalent to both and billed the same. It also rewrites the address research runs against to the same premises in full, never to different premises.default False |
verify_address | boolean | optional | Check the trading address after research: the one you supplied, else the one we researched. It is never replaced. Implied by the deprecated verify_identity. Costs a flat credit per place, shared with verify_name. default False |
verify_registered_address | boolean | optional | Check the registered address itself, not the business: the one you supplied, else the one we researched. Costs a flat credit per place, independent of the other checks. default False |
estimate_only | boolean | optional | Dry-run: do not run and do not charge; return meta.estimated_credits. default False |
sample | integer (min 1.0) | null | optional | List shape only: process and bill only the first N places. |
max_credits | integer (min 0.0) | null | optional | Per-request credit ceiling; rejected with 402 before running if exceeded. |
Example 1
{
"id": "row-1",
"poi_name": "BARCOA Agaveria",
"address": "829 N 1st Ave, Phoenix, AZ",
"country": "US",
"attributes": [
"phone",
"website",
{
"name": "offers_catering",
"value_type": "bool"
}
],
"verify_address": true
}UnifiedEnrichPOI
Type: object
One place in a /v1/enrich list. It can carry its own attribute list.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string (max length 100) | null | optional | Client-provided identifier (keys the response row) |
poi_name | string | required | Place name length 1 to 200 |
street | string | null | optional | Street address |
city | string | null | optional | City |
region | string | null | optional | State/province |
postcode | string | null | optional | Postal/ZIP code |
country | string | null | optional | 2-letter ISO country code (e.g. 'US'). Biases the web search. |
address | string | null | optional | Where the business trades: its own premises, the address a customer visits. Unstructured address string. May also be sent as freeform_address (input-only alias). Leave it out and request the address attribute to have us research it. |
registered_address | string (max length 500) | null | optional | The company's registered address (its registered office, as filed with the company register), which may differ from where it trades. Optional. Checked by verify_registered_address; leave it out and request the registered_address attribute to have us research it.Example: "10 Sample Road, 5th Floor, London W1W 5PF" |
verify_name | boolean | null | optional | Per-row override of the request's verify_name.Example: false |
verify_address | boolean | null | optional | Per-row override of the request's verify_address.Example: false |
verify_registered_address | boolean | null | optional | Per-row override of the request's verify_registered_address.Example: true |
latitude | number (-90.0 to 90.0) | null | optional | Latitude in decimal degrees (WGS84). |
longitude | number (-180.0 to 180.0) | null | optional | Longitude in decimal degrees (WGS84). Provide with latitude. |
attributes | array of (string | DeepResearchFieldSpec) | null | optional | Attributes for this place only, overriding the request's shared list. Omit to use the shared list. |
DeepResearchFieldSpec
Type: object
One requested research field. The name identifies the field; description defines the requested information and is treated as untrusted data, never instructions.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
name | string | required | Field identifier, e.g. wheelchair_accessible. owners returns the individual owners or franchisees as a list of people with a name and role; owner_org identifies the operating company when there is no individual owner. These owner fields are mutually exclusive per place. key_people returns the leadership beyond the owner as a list of people with a name and title. Add include to owners or key_people for each person's phone, email or LinkedIn. length 1 to 100 |
description | string (max length 500) | null | optional | Natural-language definition of the field (treated as untrusted data) |
value_type | string | null | optional | Expected value type hint: bool | enum | string | number |
allowed_values | array of string | null | optional | For enum fields, the permitted values |
include | array of string (one of phone, email, linkedin) | null | optional | owners / key_people only: contacts to look up for each person, returned inside the same value. Each costs one more credit per row (the name and the role/title are one credit each). |
On this page
