# How to give an AI agent current data about a place: open or closed, hours, phone

> Source: <https://dev.to/voygr/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone-3l8i>
> Published: 2026-12-05 10:34:22+00:00

**Key takeaway:** Voygr's /v1/enrich endpoint returns open/closed status, hours, phone and website for a place in one call, with per-attribute confidence and null-plus-abstain_reason fields so agents can decline to answer rather than hallucinate.

AI agents often answer place questions from stale data: hours that changed, a phone number that's gone, a café that closed months ago. Here's how to give an agent current facts about a business with one API call, and how to read the answer. The output below is a real run from 5 December 2026.

```
curl -X POST https://api.voygr.tech/v1/enrich \
  -H "X-API-Key: $VOYGR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"poi_name": "Tartine Bakery",
       "address": "600 Guerrero St, San Francisco, CA 94110",
       "attributes": ["open_closed", "opening_hours", "phone", "website"]}'
"operational_status": {"status": "open", "closure_reason": null},
"status": {"existence_confidence": 0.9985},
"attributes": {
  "opening_hours": {"value": {"days": {"monday": [{"open": "07:30", "close": "18:00"}], "...": "..."}},
                    "confidence": "high"},
  "phone":   {"value": {"number": "+14154872600"}, "confidence": "high"},
  "website": {"value": {"url": "https://tartinebakery.com"}, "confidence": "medium"}
}
```

`operational_status.status` comes first.`open`, `closed`, `unknown` or `not_exists`. If it's `closure_reason` tells you why (for example `permanent` or `relocated`).` existence_confidence``confidence`` null` with an `abstain_reason` such as `not_found`, so the agent knows to say "I couldn't find the hours" instead of making them up.`open_closed`, `opening_hours`, `phone`, `website`, socials) cost one credit per place, however many you ask for.`pois` and get a rows-by-attributes table back. Batch jobs take up to 10,000 places.
The [API docs](https://api.voygr.tech/docs) have the full reference, and [a free API key](https://voygr.tech/?src=devto-place-data-api-for-agents) is enough to try it.
