{"slug": "how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone", "title": "How to give an AI agent current data about a place: open or closed, hours, phone", "summary": "A developer demonstrated a place-data enrichment API from Voygr that returns current business facts—open/closed status, hours, phone, and website—in a single call, with per-attribute confidence scores and explicit abstention reasons when data is missing. In a sample run against Tartine Bakery, the API returned an open status with 0.9985 existence confidence and high-confidence hours and phone data. The service charges one credit per place regardless of how many attributes are requested and supports batch jobs of up to 10,000 places.", "body_md": "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.\n\n```\ncurl -X POST https://api.voygr.tech/v1/enrich \\\n  -H \"X-API-Key: $VOYGR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"poi_name\": \"Tartine Bakery\",\n       \"address\": \"600 Guerrero St, San Francisco, CA 94110\",\n       \"attributes\": [\"open_closed\", \"opening_hours\", \"phone\", \"website\"]}'\n\"operational_status\": {\"status\": \"open\", \"closure_reason\": null},\n\"status\": {\"existence_confidence\": 0.9985},\n\"attributes\": {\n  \"opening_hours\": {\"value\": {\"days\": {\"monday\": [{\"open\": \"07:30\", \"close\": \"18:00\"}], \"...\": \"...\"}},\n                    \"confidence\": \"high\"},\n  \"phone\":   {\"value\": {\"number\": \"+14154872600\"}, \"confidence\": \"high\"},\n  \"website\": {\"value\": {\"url\": \"https://tartinebakery.com\"}, \"confidence\": \"medium\"}\n}\n```\n\n`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.\nThe [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.", "url": "https://wpnews.pro/news/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone", "canonical_source": "https://dev.to/voygr/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone-3l8i", "published_at": "2026-12-05 10:34:22+00:00", "updated_at": "2026-12-05 10:44:00.369297+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-products"], "entities": ["Voygr", "Tartine Bakery"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone", "markdown": "https://wpnews.pro/news/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone.md", "text": "https://wpnews.pro/news/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone.txt", "jsonld": "https://wpnews.pro/news/how-to-give-an-ai-agent-current-data-about-a-place-open-or-closed-hours-phone.jsonld"}}