> Documentation index: https://www.socialcrawl.dev/llms.txt > Every page is also available as Markdown by adding .md. # Bulk review data (/docs/prism/bulk-reviews) One job reads the review history of many businesses or apps and delivers JSONL or CSV files with a manifest Send a list of businesses or apps in one request. A background job reads each one's reviews, newest first, and hands you one file per item plus one combined file. Reading the job's progress and downloading the files costs nothing. ## Start a bulk job ```bash title="cURL" curl -X POST "https://www.socialcrawl.dev/v1/prism/reviews/bulk" \ -H "x-api-key: YOUR_API_KEY" \ -H "content-type: application/json" \ -H "Idempotency-Key: reviews-bulk-1" \ -d '{"platform": "yelp", "items": ["the-french-laundry-yountville", "la-folie-san-francisco-2"], "max_reviews_per_item": 100}' ``` - `platform` is `yelp`, `tripadvisor`, `app_store` or `google_play`. - `items` is a real JSON array of business ids, place ids, app ids, package names or their links. Duplicates are merged. - The answer is a `202` with a `job_id`. Starting a job reserves 25 credits, never the whole job up front. - An `Idempotency-Key` makes a retried submit return the same job. [Retry safely](/docs/idempotency.md) explains the header. **Response 202** ```json title="Response" { "success": true, "data": { "job_id": "job_X7B1VmbVVqktnriKyzkGi", "status": "queued", "platform": "yelp", "items_total": 1, "items_done": 0, "items_unavailable": 0, "pages_read": 0, "reviews_collected": 0, "credits_reserved": 25, "credits_charged": null, "expires_at": "2026-12-04T01:57:55.962Z" }, "request_id": "req-pJrKVuDlbiVEovXS" } ``` This response came from a one-business run on 27/11/2026. It settled with 100 reviews read in 3 pages. ## Which sites, and what 1,000 reviews cost | Site | Job | One job takes | Reviews per item | Credits per 1,000 reviews | | --- | --- | --- | --- | --- | | Yelp | `POST /v1/prism/reviews/bulk` | Up to 20,000 items | Up to 100,000 | 5.1 | | Tripadvisor | `POST /v1/prism/reviews/bulk` | Up to 20,000 items | Up to 100,000 | 12.5 | | App Store | `POST /v1/prism/reviews/bulk` | Up to 20,000 items | Up to 100,000 | 10 | | Google Play | `POST /v1/prism/reviews/bulk` | Up to 20,000 items | Up to 100,000 | 1.3 | | Google Maps | `POST /v1/google/business/reviews/history` | One place or domain | Up to 10,000 | 50 | | Trustpilot | `POST /v1/trustpilot/reviews/history` | One place or domain | Up to 10,000 | 1,005 | Prices assume full pages. A real job reads a few part-full pages, so it costs a little more. The [endpoint pricing](/docs/endpoint-pricing.md) page lists every call. ## Follow the job and download the files Read the status route, `GET /v1/prism/reviews/bulk/` followed by the job id, about once a minute. Reading is free. ```bash title="Terminal" JOB_ID=job_your_job_id # data.job_id from the 202 API=https://www.socialcrawl.dev/v1 curl -sS "$API/prism/reviews/bulk/$JOB_ID?offset=0&limit=50" \ -H "x-api-key: YOUR_API_KEY" ``` - `data.job.status` moves from `queued` to `running`, then ends as `succeeded`, `failed` or `cancelled`. - `combined_url` is one gzipped file of every item. `manifest_url` lists the files. Each entry in `items` carries its own `file_url`. - Links are minted on every read and expire after an hour. Read the status again for fresh ones. - Files and the job are kept for 7 days from submit. - To stop a job, send `POST` to the same route with `/cancel` after the job id. Each item's file opens with one line about the business or app, `type: business`. Every line after it has `type: review`, the `item` it belongs to, and a `review` object with its `id`, `rating`, `text`, `author`, `language`, `responses` and `published_at`. Store each review by its `id`. `format: "csv"` gives the same rows as CSV. ## How deep each site reads - **Yelp:** every language a business has reviews in, newest first, closed businesses included. `include: "business_full"` adds each business's address, hours and categories for one more page an item. - **Tripadvisor:** each place's newest 10,020 reviews, read in English with other languages translated. Owner replies come back in `responses`. - **App Store:** one storefront per job, set with `country` (`us` by default). Run one job per country. - **Google Play:** newest first in each code you send in `languages` (`en` by default). Developer replies come back in `responses`. `since` and `until` take a UTC day as `YYYY-MM-DD`. `max_reviews_per_item` stops each item early. Any other field is a free `400`. ## What it costs, and what happens when credits run out A bulk job reserves credits in small blocks before it reads pages. It settles to the pages it read and refunds the rest. An item that cannot be read costs nothing. When your balance cannot cover the next block, the job pauses as `paused_insufficient_credits`. It keeps what it has delivered and resumes by itself once you add credits. [Credits](/docs/credits.md) explains reservations and refunds. ## Refresh every week, and get events Start a new job with the same `platform` and `items`, and set `refresh_of` to the earlier job's id. It reads only the reviews written since that job finished. The earlier job must still be kept. Send `webhook_url` with an `https` address to get signed `reviews_bulk.paused`, `reviews_bulk.resumed` and `reviews_bulk.completed` events. The `202` returns the signing secret once, as `webhook_secret`. [Webhooks](/docs/webhooks.md) shows how to check a signature. ## Google Maps and Trustpilot history jobs These two sites take one place or one domain per job instead of a list. **Google Maps** ```bash title="cURL" curl -X POST "https://www.socialcrawl.dev/v1/google/business/reviews/history" \ -H "x-api-key: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{"place_id": "ChIJqdNaaBVbwokRLTafYrQlZI8", "depth": 200}' ``` Find the `place_id` with `GET /v1/google/business/search`. Use this job when a place has more reviews than one reviews call returns. **Trustpilot** ```bash title="cURL" curl -X POST "https://www.socialcrawl.dev/v1/trustpilot/reviews/history" \ -H "x-api-key: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{"domain": "booking.com", "depth": 200}' ``` Use this job when you need more than the newest reviews one Trustpilot call returns. Both jobs hold the most `depth` can cost and refund what they did not collect. Read the reviews 100 at a time from the history route with the job id added to its path, and `offset` and `limit` as query parameters. Reading is free. ## Next steps - [Every review, then new ones](/docs/recipes/every-review-and-new-ones.md): A full program that stores each review once and refreshes weekly. - [Yelp](/docs/yelp.md): Every Yelp endpoint, including the one-business history job. - [Google Play](/docs/google_play.md): App details, charts and reviews one page at a time. - [Bulk review data pages](/bulk-review-data): Each site