Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Return the full catalog record for a local business by ID.
cURL
curl --request GET \ --url https://api.gainflow.ai/v1/businesses/{business_id} \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.gainflow.ai/v1/businesses/{business_id}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.gainflow.ai/v1/businesses/{business_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "category": "<string>", "categories": [ "<string>" ], "country": "<string>", "city": "<string>", "review_count": 123, "social_links": {}, "enrichment": {}, "refreshed_at": "2023-11-07T05:31:56Z", "enriched_at": "2023-11-07T05:31:56Z", "address": "<string>", "postal_code": "<string>", "lat": 123, "lng": 123, "phone": "<string>", "email": "<string>", "website": "<string>", "domain": "<string>", "rating": 123, "price_level": 123, "opening_hours": {}, "distance_m": 123 }
{ "type": "<string>", "title": "<string>", "status": 123, "code": "UNAUTHORIZED", "request_id": "<string>", "detail": "<string>" }
Either a Gainflow API key (gf_live_*) or a WorkOS AuthKit OAuth 2.1 JWT.
Local business record