Use this quickstart to get current contact details or opening hours for one business.
POST /v1/enrich also answers custom research questions beyond the standard attributes, and takes a pois list when you have several businesses. Standard attributes cost one credit per business however many you request; research fields are charged per business per field.
Send an enrichment request
Send the business name, a location, and the attributes you want. Keep the API key on your server.
Send coordinates as a pair, latitude and longitude in decimal degrees (WGS84).
curl https://api.voygr.tech/v1/enrich \
--request POST \
--header "X-API-Key: $VOYGR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"id": "bakery-001",
"poi_name": "Example Bakery",
"address": "123 Example Street",
"latitude": 37.7749,
"longitude": -122.4194,
"country": "US",
"attributes": ["opening_hours", "phone", "website"]
}'
Interpret the enrichment response
success says whether enrichment ran and id repeats your identifier. attributes has one entry per requested field, each with value, confidence, and as_of; a null value means the attribute was unavailable.
If you request existence or open_closed, read the status and operational_status objects. With include_summary set to true, the response can also carry place_summary.
Handle enrichment errors
401means the API key is missing or invalid.403means the key cannot use this operation.400means the request is invalid; checkpoi_name, the location fields, andattributes. ForVALIDATION_ERROR, read thedetailentries (field,message, andtype).402means the available balance cannot cover the request; add credits before retrying.422witherror_code: VALIDATION_ERRORmeans a coordinates-only request could not be resolved to a location; correct the coordinates or send an address. This body haserrorandrequest_idbut nodetaillist, unlike400.429means a rate or concurrency limit was reached; wait and followRetry-Afterwhen returned.502witherror_code: BACKEND_ERRORor504witherror_code: BACKEND_TIMEOUTmeans the enrichment service failed or timed out behind the gateway; nothing is charged, so retry later.
When success is false, read error and error_code and keep request_id for support. Errors the gateway returns itself (401, 403, 402 when the balance cannot cover the request, and the 429 rate limit) have no success field: the message is inside detail, for example {"detail": {"error": "invalid API key"}}, with no request_id. The 502 and 504 bodies come from the gateway too: error and error_code at the top level, with no request_id and no detail wrapper.
On this page
