Datasets API endpoint
Use Crawlora's BBB Business Dataset Lookup API to search or inspect stored structured datasets as JSON. This page includes request parameters, cURL examples, response schema, validation behavior, credit cost, and a Playground link for testing before integration. Dataset endpoints read indexed records and do not apply proxy routing.
/datasets/bbb-businesses/items/{id}Returns one business by id from dataset id enum value `bbb-businesses`. Returns 404 when the business is not in the index. Developers commonly use this endpoint for repeatable dataset search, filtering, facets, local business enrichment, analytics, exports, and internal tools that need structured records beyond the limited manual refinement available in the Google Maps app. Authentication uses the x-api-key header, usage is metered with the credit cost shown on this page, and the request does not trigger live scraping or proxy routing.
Request parameters are generated from the active endpoint catalog. Dataset parameters filter, page, facet, or locate stored structured records; they do not configure a live scraper or proxy path.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Business id (the <bbbLocalId>-<businessId> slug from the profile URL), e.g. 0825-1000223803 | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/datasets/bbb-businesses/items/example" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint reads stored indexed dataset records. It does not execute a live upstream Google Maps request, browser session, or proxy-routed scraping job.
- Returns `404` when the business is not in the index. - Field shape matches one item from the search response. Example response: ```json { "code": 200, "msg": "OK", "data": { "business_id": "0825-1000223803", "bbb_local_id": "0825", "name": "Calixto Plumbing", "url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803", "country": "us", "state": "tx", "city": "austin", "address": "PO Box 40698, Austin, TX 78704-0012", "phone": "(512) 945-3143", "rating": "A+", "rating_rank": 12, "rating_reasons": ["Customer Reviews are not used in the calculation of the BBB Letter Grade Rating."], "accredited": true, "category": "Plumber", "categories": ["Plumber", "Plumbing Renovation", "Commercial Plumber"], "complaints_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/complaints", "reviews_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/customer-reviews" } } ```
Crawlora does not silently return invalid dataset search results when filters, pagination, coordinates, or stored record lookups cannot be satisfied.
| Status | Common failure case |
|---|---|
| 400 | Invalid input, missing required parameter, invalid enum, bad coordinate pair, or result window beyond the dataset limit |
| 404 | Requested stored dataset item is not present |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal dataset query or storage error |
When possible, Crawlora returns structured error context so your integration can adjust filters, page size, location inputs, or lookup identifiers.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"business_id": "0825-1000223803",
"bbb_local_id": "0825",
"name": "Calixto Plumbing",
"url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
"country": "us",
"state": "tx",
"city": "austin",
"address": "PO Box 40698, Austin, TX 78704-0012",
"phone": "(512) 945-3143",
"rating": "A+",
"rating_rank": 12,
"rating_reasons": [
"Customer Reviews are not used in the calculation of the BBB Letter Grade Rating."
],
"accredited": true,
"category": "Plumber",
"categories": [
"Plumber",
"Plumbing Renovation",
"Commercial Plumber"
],
"complaints_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/complaints",
"reviews_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/customer-reviews"
}
}Request schema
No body schema
Response schema
#/definitions/datasets.bbbBusinessResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | es.BBBBusinessRecord | No | ||||
| data.accredited | boolean | No | ||||
| data.accredited_since | string | No | ||||
| data.additional_phone_numbers | array | No | ||||
| data.additional_websites | array | No | ||||
| data.address | string | No | ||||
| data.alternate_names | array | No | ||||
| data.bbb_file_opened | string | No | ||||
| data.bbb_local_id | string | No | ||||
| data.business_id | string | No | ||||
| data.business_incorporated | string | No | ||||
| data.business_management | string | No | ||||
| data.business_started | string | No | ||||
| data.categories | array | No | ||||
| data.category | string | No | Plumber | |||
| data.city | string | No | ||||
| data.complaints_url | string | No | On-demand pointers -- not crawled/embedded, see package doc above. | |||
| data.country | string | No | State/City are parsed from the profile URL's /us|ca/<state>/<city>/... path segments -- BusinessResponse.Address is a free-text joined string, not structured, so it isn't a reliable filter/facet field on its own. | |||
| data.crawled_at | string | No | ||||
| data.discovery_source | string | No | Crawl bookkeeping. DiscoverySource records how the CURRENT document content was obtained (last-crawl mechanism), not first-discovery provenance -- keyword-sweep, category-grid, and Common Crawl discovery are deduplicated against the same business, so the same business is never double-enqueued no matter how many search/category cells or CC records surface it. A richer per-discovery-event location/category isn't tracked, only the coarse source. | |||
| data.entity_type | string | No | Limited Liability Company (LLC) | |||
| data.hours | array | No | ||||
| data.hours[].day | string | No | ||||
| data.hours[].hours | string | No | ||||
| data.licensing_note | string | No | ||||
| data.more_info_url | string | No | ||||
| data.name | string | No | ||||
| data.phone | string | No | ||||
| data.products_and_services | array | No | ||||
| data.rating | string | No | A+ | |||
| data.rating_rank | integer | No | ||||
| data.rating_reasons | array | No | ||||
| data.reviews_url | string | No | ||||
| data.run_id | string | No | ||||
| data.schema_version | integer | No | ||||
| data.social_media | array | No | ||||
| data.state | string | No | ||||
| data.url | string | No | ||||
| data.website | string | No | ||||
| data.years_in_business | string | No | ||||
| data.years_in_business_num | integer | No | YearsInBusinessNum is a best-effort leading-digit parse of YearsInBusiness (a free-text upstream string, e.g. "3"), -1 when unparseable. Denormalized purely for numeric sorting -- YearsInBusiness itself stays a keyword, so a lexicographic string sort would wrongly rank "9" ahead of "12". | |||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/datasets/bbb-businesses/items/example" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms