Industry Email Scraper
Structured Utilities data: send queries and location. Cursor-paginated, 2 credits per successful call.
Overview
Section titled “Overview”Call GET /api/v2/industry-email/ with queries and location. The results are in data.places; send data.next_cursor back as cursor to get the next page. 14 optional parameters refine the call (see Parameters).
Request
Section titled “Request”curl -G "https://api.scrapier.io/api/v2/industry-email/" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "queries=dentist" \ --data-urlencode "location=Houston, TX" \ --max-time 210const params = new URLSearchParams({ queries: "dentist", location: "Houston, TX" });
const res = await fetch(`https://api.scrapier.io/api/v2/industry-email/?${params}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000),});const body = await res.json();if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
console.log(body.data.places);import requests
resp = requests.get( "https://api.scrapier.io/api/v2/industry-email/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"queries": "dentist", "location": "Houston, TX"}, timeout=210,)body = resp.json()if not resp.ok: raise RuntimeError(body.get("error") or body.get("detail"))
print(body["data"]["places"])curl -X POST "https://api.scrapier.io/api/v2/industry-email/" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"queries":"dentist","location":"Houston, TX"}' \ --max-time 210Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
X-API-Key header | string | yes | — | Your API key from the dashboard. |
queries | string | yes | e.g. dentist | Business type / search term. Required first call. |
cursor | string | no | — | Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page. |
location | string | yes | e.g. Houston, TX | Place name or "lat,lng". Required first call. locked in cursor |
scrape_leads | boolean | no | true | Crawl websites for leads. locked in cursor |
fetch_review_count | boolean | no | true | Fill total_reviews. locked in cursor |
max_pages_per_site | integer | no | 4 | Website pages per business. locked in cursor |
only_with_website | boolean | no | false | locked in cursor |
only_with_email | boolean | no | false | locked in cursor |
min_rating | string | no | — | locked in cursor |
min_reviews | integer | no | — | locked in cursor |
tag_filter | string | no | — | Comma-separated category words. locked in cursor |
in_area_only | boolean | no | false | locked in cursor |
language | string | no | en | locked in cursor |
include_all_emails | boolean | no | false | locked in cursor |
include_all_phones | boolean | no | false | locked in cursor |
include_crawl_info | boolean | no | false | locked in cursor |
Advanced
| Name | Type | Default | Description |
|---|---|---|---|
use_proxy | boolean | true | Route the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise. |
raw_data | boolean | false | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes. |
Response
Section titled “Response”{ "success": true, "data": { "query": "dentist", "location": "Houston, TX", "page": 1, "page_size": 10, "places": [ { "name": "Dentiq Dentistry Houston", "place_id": "ChIJ_Ru-FaHAQIYRByxtRN6K3Ck", "street_address": "1355 W Gray St", "city": "Houston", "zip": "77019", "state": "Texas", "country_code": "US", "full_address": "1355 W Gray St Houston Texas 77019 US", "lat": 29.7528037, "long": -95.3976492, "website": "https://www.dentiq.dental/", "avg_rating": 4.9, "total_reviews": 1312, "tags": [ "Dentist", "Cosmetic dentist", "Teeth whitening service" ], "lead": { "website": "https://www.dentiq.dental/", "title": "Top-Rated Houston Dentist | Dentiq Dentistry", "phone": "(713) 526-2904", "social_media": { "facebook": "https://www.facebook.com/dentiqdentistry", "instagram": "https://www.instagram.com/dentiqdentistry", "twitter": null, "linkedin": null, "youtube": "https://www.youtube.com/channel/UCd4c-mFQaBZ4cJGhYS8GEuA", "pinterest": null, "tiktok": "https://www.tiktok.com/@dentiqhtx", "snapchat": null, "reddit": null, "tumblr": null } }, "keyword": "dentist", "location": "Houston, TX", "scraped_at": "2026-10-03T07:14:08.716Z" } ], "next_cursor": "eyJsayI6eyJsb2NhdGlvbiI6IkhvdXN0b24sIFRYIn0sInAiOjIsInEiOiJkZW50aXN0IiwicyI6WyJDaElKX1J1LUZhSEFRSVlSQnl4dFJONkszQ2siXX0" }}Bad input. The exact message varies by endpoint.
{ "success": false, "error": "…"}Balance below the endpoint’s price.
{ "error": "Insufficient credits. Buy more to scrape more.", "balance": 1, "required": 2}Invalid or unknown API key.
{ "detail": "Authentication service unavailable or invalid API key."}Throttled — wait for Retry-After.
{ "detail": "Request was throttled. Expected available in N seconds."}Sample from the live catalog; arrays trimmed to 3 items. Results are in data.places.
Response fields
Section titled “Response fields”| Field | Type | Example | Description |
|---|---|---|---|
query | string | dentist | — |
location | string | Houston, TX | — |
page | integer | 1 | — |
page_size | integer | 10 | — |
places | array | [1 item] | The results. |
next_cursor | string | eyJsayI6eyJsb2NhdGlvbiI6IkhvdXN0b24sIFRYIn0sI… | Pass back as cursor for the next page. null on the last page. |
places[].name | string | Dentiq Dentistry Houston | — |
places[].place_id | string | ChIJ_Ru-FaHAQIYRByxtRN6K3Ck | — |
places[].street_address | string | 1355 W Gray St | — |
places[].city | string | Houston | — |
places[].zip | string | 77019 | — |
places[].state | string | Texas | — |
places[].country_code | string | US | — |
places[].full_address | string | 1355 W Gray St Houston Texas 77019 US | — |
places[].lat | number | 29.7528037 | — |
places[].long | number | -95.3976492 | — |
places[].website | string | https://www.dentiq.dental/ | — |
places[].avg_rating | number | 4.9 | — |
places[].total_reviews | integer | 1312 | — |
places[].tags | array | [3 items] | — |
places[].lead | object | {…} | — |
places[].keyword | string | dentist | — |
places[].location | string | Houston, TX | — |
places[].scraped_at | string | 2026-10-03T07:14:08.716Z | — |
Pagination
Section titled “Pagination”Pass data.next_cursor back as cursor until it is null. Required inputs are ignored once a cursor is sent. Each page is one billed call. More in Pagination.
const url = "https://api.scrapier.io/api/v2/industry-email/";let params = { queries: "dentist", location: "Houston, TX" };const items = [];
for (let page = 0; page < 10; page++) { // each page is one billed call const res = await fetch(`${url}?${new URLSearchParams(params)}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000), }); const body = await res.json(); if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`); const data = body.data; items.push(...(data.places ?? [])); if (!data.next_cursor) break; // null = last page params = { cursor: data.next_cursor };}import requests
URL = "https://api.scrapier.io/api/v2/industry-email/"HEADERS = {"X-API-Key": "YOUR_API_KEY"}params = {"queries": "dentist", "location": "Houston, TX"}items = []
for _ in range(10): # each page is one billed call resp = requests.get(URL, headers=HEADERS, params=params, timeout=210) resp.raise_for_status() data = resp.json()["data"] items.extend(data.get("places") or []) if not data.get("next_cursor"): # None = last page break params = {"cursor": data["next_cursor"]}Errors
Section titled “Errors”Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.
| Status | Meaning | Retry? | Charged? |
|---|---|---|---|
400 | Bad or missing input. | No — fix the params | No |
401 / 403 | Missing, invalid or revoked API key. | No — fix the key | No |
402 | Out of credits (body has balance). | No — top up | No |
404 | Unknown endpoint slug. | No — check the slug | No |
429 / 503 | Busy or throttled. | Yes — after Retry-After | No |
5xx | Target site or upstream failure, or timeout. | Yes — with backoff | No |
- Locked into the cursor:
location,scrape_leads,fetch_review_count,max_pages_per_site,only_with_website,only_with_email,min_rating,min_reviews,tag_filter,in_area_only,language,include_all_emails,include_all_phones,include_crawl_info. Set them on the first call; later pages reuse them.
Related
Section titled “Related”- Contact Extractor — Structured Utilities data: send
urls. Cursor-paginated, 2 credits per successful call. - Social Media Platform Email Scraper — Structured Utilities data: send
keywords. Cursor-paginated, 1 credit per successful call. - Website Content Crawler — Structured Utilities data: send
urls. Cursor-paginated, 1 credit per successful call.