Use this quickstart when you have one business record and want current contact details or opening hours.
Send an enrichment request
Send the business name, a location, and the attributes you want. Replace the sample name, address, and coordinates with the business you want to enrich, and keep the API key on your server.
When providing coordinates, send both 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 tells you whether enrichment ran. id repeats your identifier. The attributes object has one entry for each requested enrichment field; each entry contains value, confidence, and as_of. A null value means that attribute was unavailable.
If you request existence or open_closed, read the returned status and operational_status objects. If you set include_summary to true, the response can also contain 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 response haserrorandrequest_id, without thedetaillist used by400request-validation errors.429means a rate or concurrency limit was reached; wait and followRetry-Afterwhen returned.
When success is false, read error and error_code and retain request_id for troubleshooting.
On this page
