Datasets API endpoint
Returns up to 50 allowlisted app-facet buckets ordered by count, using the same filters as `datasets_apps_search`. Page and page_size do not change the aggregation. Facet enum: `store`, `platforms`, `category`, `country`, `developer`, `free`. Store enum: `ios`, `android`, `both`. Platform enum: `phone`, `pad`, `tablet`, `mac`, `tv`, `chromebook`, `watch`, `vision`, `xr`, `car`, `windows`.
/datasets/apps/facetsMCP tool: datasets_apps_facets
Returns up to 50 value counts, ordered by count, over the stored iOS App Store
and Google Play apps. Facets use the same filters as datasets_apps_search.
Required query parameter:
facet: store, platforms, category, country, developer, or free.Optional filters: q, store, platforms, category, country, developer,
free, min_rating, min_reviews, and sort. Store values are ios,
android, both; platform values are phone, pad, tablet, mac, tv,
chromebook, watch, vision, xr, car, windows; sort values are
relevance, rating_desc, reviews_desc, installs_desc, updated_at_desc,
popularity_desc. page and page_size are accepted for contract parity; the
facet aggregation covers all matching records, not one result page.
Sort values are validated against the corresponding search endpoint, but do not reorder facet results; buckets are always ordered by count.
Requires the x-api-key header. Costs 1 credit. An empty dataset returns an
empty items array.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| facet | string | Yes | Facet field Allowed values: store, platforms, category, country, developer, free. | category | |
| q | string | No | Full-text query over app title, developer and category, max 256 characters | ||
| store | string | No | Store filter: ios, android, both Allowed values: ios, android, both. | ||
| platforms | array<string> | No | Repeatable device-platform filter Allowed values: phone, pad, tablet, mac, tv, chromebook, watch, vision, xr, car, windows. | ||
| category | string | No | Exact app-store category filter, max 128 characters | ||
| country | string | No | Exact storefront country filter, max 128 characters | ||
| developer | string | No | Exact developer/publisher name filter, max 128 characters | ||
| free | boolean | No | Filter by free/paid status | ||
| min_rating | number | No | Minimum store rating, 0 through 5 | ||
| min_reviews | integer | No | Minimum ratings/review count, 0 or greater | ||
| sort | string | No | Validated search sort; bucket order stays count-desc, and time-series date_desc keeps its search history scope Allowed values: relevance, rating_desc, reviews_desc, installs_desc, updated_at_desc, popularity_desc. | ||
| page | integer | No | Result page, 1-based | ||
| page_size | integer | No | Page size, default 20 and max 100 | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/datasets/apps/facets?facet=category&q=coffee&store=ios&platforms=phone&country=us&free=true&sort=relevance&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"dataset": "apps",
"facet": "category",
"items": [
{
"value": "Productivity",
"count": 1234
}
]
}
}Request schema
No body schema
Response schema
#/definitions/datasets.datasetFacetResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | datasets.DatasetFacetResponse | No | ||||
| data.dataset | string | No | ||||
| data.facet | string | No | ||||
| data.items | array | No | ||||
| data.items[].count | integer | No | ||||
| data.items[].value | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/datasets/apps/facets?facet=category&q=coffee&store=ios&platforms=phone&country=us&free=true&sort=relevance&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"