Skip to content

Enrich places in bulk

POST /v1/jobs/enrich

https://api.voygr.tech/v1/jobs/enrich

Open in playground

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

NameLocationRequiredTypeDescription and constraints
Idempotency-Keyheaderoptionalstring | 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

FieldTypeRequiredDescription and constraints
successbooleanrequired
errorstringrequired
error_codestringrequired
rejected_fieldsobject mapping names to stringrequiredAttribute name to the reason it was refused.
request_idstring | nulloptional
validation_timestampstringoptional

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

FieldTypeRequiredDescription and constraints
successbooleanrequiredconstant False
errorstringrequired
error_codestringrequiredconstant VALIDATION_ERROR
request_idstring | nullrequired
validation_timestampstringrequired
detailarray of objectrequired

Item fields

FieldTypeRequiredDescription and constraints
fieldstringrequired
messagestringrequired
typestringrequired

Option 2 fields

FieldTypeRequiredDescription and constraints
detailobjectrequiredGateway rejection, for example an invalid Idempotency-Key header.

Fields

FieldTypeRequiredDescription and constraints
errorstringrequired
error_codestringoptional

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.

FieldTypeRequiredDescription and constraints
poisarray of EnrichJobRowrequiredInline 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.

FieldTypeRequiredDescription and constraints
batch_idstringrequired
typestring (one of validate, enrich) | nulloptional
statusstringrequiredone of queued, running, completed, failed, cancelled
created_atstringrequired
total_itemsintegerrequired
eta_secondsintegerrequired
eta_completion_atstringrequired

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.

FieldTypeRequiredDescription and constraints
idstring (max length 100) | nulloptionalClient-provided identifier
poi_namestring (length 1 to 200) | nulloptionalPlace name (flat shape)
streetstring | nulloptionalStreet address
citystring | nulloptionalCity
regionstring | nulloptionalState/province
postcodestring | nulloptionalPostal/ZIP code
countrystring | nulloptional2-letter ISO country code (e.g. 'US')
addressstring (max length 500) | nulloptionalUnstructured address string. May also be sent as freeform_address.
latitudenumber (-90.0 to 90.0) | nulloptionalLatitude (WGS84)
longitudenumber (-180.0 to 180.0) | nulloptionalLongitude (WGS84)
registered_addressstring (max length 500) | nulloptionalThe place's registered (legal) address, if you hold one. address remains the trading address.
include_summarybooleanoptionalFlat shape only: also return place_summary. Does not change billing.
default False
response_formatstringoptionalFlat 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
poisarray of UnifiedEnrichPOI | nulloptionalPlaces to enrich (list shape). A single place may be a list of one.
attributesarray of (string | DeepResearchFieldSpec) | nulloptionalWhat 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_existencebooleanoptionalAlso validate whether each place exists, returned as an 'existence' attribute.
default False
verify_namebooleanoptionalVerify 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_identitybooleanoptionalDeprecated: 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_addressbooleanoptionalCheck 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_addressbooleanoptionalCheck 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_onlybooleanoptionalDry-run: do not run and do not charge; return meta.estimated_credits.
default False
sampleinteger (min 1.0) | nulloptionalList shape only: process and bill only the first N places.
max_creditsinteger (min 0.0) | nulloptionalPer-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.

FieldTypeRequiredDescription and constraints
idstring (max length 100) | nulloptionalClient-provided identifier (keys the response row)
poi_namestringrequiredPlace name
length 1 to 200
streetstring | nulloptionalStreet address
citystring | nulloptionalCity
regionstring | nulloptionalState/province
postcodestring | nulloptionalPostal/ZIP code
countrystring | nulloptional2-letter ISO country code (e.g. 'US'). Biases the web search.
addressstring | nulloptionalWhere 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_addressstring (max length 500) | nulloptionalThe 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_nameboolean | nulloptionalPer-row override of the request's verify_name.
Example: false
verify_addressboolean | nulloptionalPer-row override of the request's verify_address.
Example: false
verify_registered_addressboolean | nulloptionalPer-row override of the request's verify_registered_address.
Example: true
latitudenumber (-90.0 to 90.0) | nulloptionalLatitude in decimal degrees (WGS84).
longitudenumber (-180.0 to 180.0) | nulloptionalLongitude in decimal degrees (WGS84). Provide with latitude.
attributesarray of (string | DeepResearchFieldSpec) | nulloptionalAttributes 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.

FieldTypeRequiredDescription and constraints
namestringrequiredField 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
descriptionstring (max length 500) | nulloptionalNatural-language definition of the field (treated as untrusted data)
value_typestring | nulloptionalExpected value type hint: bool | enum | string | number
allowed_valuesarray of string | nulloptionalFor enum fields, the permitted values
includearray of string (one of phone, email, linkedin) | nulloptionalowners / 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).