API documentation
The Scrapeeg API is metered and key-gated. All requests require an X-Api-Key header, which you can generate in your dashboard. The API is used internally for our public demo and is not exposed as a public endpoint. Batch workloads go through the published Python SDK.
Overview
Base URL https://scrapeeg.org/v1. If you write in Node, Go, PHP, or raw Python, you make the HTTP request yourself and handle the JSON response. One credit per successful lookup.
If you are processing 100s or 1000s of URLs in Python, use our official SDK. It handles concurrency, deduplication, local caching, and saves results to CSV/JSONL. Jump to SDK Guide →
A no-code UI for managing bulk enrichment campaigns. It will be available on the site soon.
Machine-readable spec: /api/openapi.json.
Status at a glance
What works now, what is finishing, and what is planned — so you never integrate against a promise.
| Capability | Status |
|---|---|
| On‑site demo | Live · calls the engine |
Licensed API /v1/* (auth + shape) | Live |
| Python SDK (RapidAPI client) | Published · PyPI + GitHub |
Billed, page‑fetching /v1/contact/search | Live |
| Self‑serve keys + credit metering | Live |
| Bounce refund, per‑key rate limits, field toggles | Planned |
POST /webhooks/lemonsqueezy route exist in the codebase. The remaining build is automatic key issuance and credit metering on a successful webhook — at which point the planned items below graduate to live.Quickstart
Option A: Raw HTTP (Write your own code)
Pick your language; each example calls the licensed API with your X-Api-Key and returns the full record. Perfect for single lookups inside a web app or a CRM webhook.
curl "https://scrapeeg.org/v1/contact/search?url=https://example.com/" \ -H "X-Api-Key: YOUR_KEY"
import requests
r = requests.get(
"https://scrapeeg.org/v1/contact/search",
params={"url": "https://example.com/"},
headers={"X-Api-Key": "YOUR_KEY"},
timeout=120,
)
print(r.json())const res = await fetch(
"https://scrapeeg.org/v1/contact/search?url=https://example.com/",
{ headers: { "X-Api-Key": "YOUR_KEY" } }
);
console.log(await res.json());$ch = curl_init("https://scrapeeg.org/v1/contact/search?url=https://example.com/");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: YOUR_KEY"],
]);
echo curl_exec($ch);HttpRequest req = HttpRequest.newBuilder()
.uri(URI.create("https://scrapeeg.org/v1/contact/search?url=https://example.com/"))
.header("X-Api-Key", "YOUR_KEY")
.GET().build();
String body = HttpClient.newHttpClient()
.send(req, HttpResponse.BodyHandlers.ofString()).body();
System.out.println(body);req, _ := http.NewRequest("GET",
"https://scrapeeg.org/v1/contact/search?url=https://example.com/", nil)
req.Header.Set("X-Api-Key", "YOUR_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
io.Copy(os.Stdout, res.Body)Option B: Python SDK (For bulk lists)
If you have a CSV of 1,000 domains and want to enrich them without writing retry logic, use the Python SDK. It handles concurrency, dedupes URLs, and writes full.csv and contact.csv automatically.
Authentication
Base URL: https://scrapeeg.org/v1
All endpoints require authentication. Send your key in this header:
X-Api-Key: YOUR_API_KEY
Missing or invalid keys return 401. Real keys are issued in your dashboard after signup.
Check a key
Confirm a key is valid without spending a credit:
curl https://scrapeeg.org/v1/ping -H "X-Api-Key: YOUR_API_KEY"
Running locally? Replace the host with http://127.0.0.1:8000.
Endpoints
Licensed API health / license check. Requires a key (401 without one). Returns the plan and remaining credits on your account. Not billed.
curl https://scrapeeg.org/v1/ping \ -H "X-Api-Key: YOUR_KEY"
{ "plan": "starter", "credits_remaining": 100 }Licensed API lookup. Takes a url (or legacy domain) field. Fetches the target page and returns a stable, structured record — one credit per successful lookup, logged to your dashboard.
A GET shorthand (/v1/contact/search?url=...) is also supported for quick testing in the browser.
Request body
| Param | Type | Req | Returns |
|---|---|---|---|
| url | string | yes* | Full URL or bare domain. Path is preserved and forwarded to the engine untouched. *Either url or domain required. |
| domain | string | no | Legacy fallback. Ignored when url is supplied. |
Example request
curl -X POST https://scrapeeg.org/v1/contact/search \
-H "X-Api-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://acme.com/"}'Response shape
On success the response is the full engine record — see the response schema below.
Response schema
The tables below describe the record shape returned by the licensed API. All blocks (sources, profile, visuals, and meta) are always included by default.
Top level
| Field | Type | Description |
|---|---|---|
| error | string|null | null on success; a human‑readable message on failure. |
| mode | string|null | Pipeline mode marker; null for standard lookups. |
| domain | string | Registrable domain resolved from the request. |
| url | string | The URL that was requested. |
| canonical_url | string | Canonical form of the page (after normalization). |
| response_url | string | Final URL after redirects. |
| redirect_url | string|null | Redirect target when the page moved. |
| status_code | int | Upstream HTTP status of the fetched page (e.g. 200). |
| emails_num | int | Count of distinct emails found. |
| phones_num | int | Count of distinct phones found. |
| social_num | int | Count of social / profile signals found. |
| has_https | bool | Whether the resolved page served over HTTPS. |
| scraped_at | string | ISO‑8601 UTC timestamp of the fetch. |
| scrape_time | number|null | Fetch duration in seconds, when measured. |
contact
| Field | Type | Description |
|---|---|---|
| emails[] | string[] | Normalized email addresses. |
| phones[] | string[] | Normalized (digits‑only) phone numbers. |
| original_phones[] | string[] | Phones exactly as printed on the page (e.g. (718) 644-9536). |
| social | object | Fixed keys (facebook, instagram, twitter, linkedin, youtube, tiktok, pinterest, threads, whatsapp, telegram, github, reddit); value is the URL or null. |
| social_list[] | string[] | Flat list of every social / profile URL detected, including platforms not in the fixed social map (medium, yelp, nextdoor, gravatar, maps, chamber…). |
sources
| Field | Type | Description |
|---|---|---|
| emails[] / phones[] | object[] | Per value: value, occurrences (times seen), best_source (strongest sighting URL); phones also echo original_phones. |
| social[] | object[] | Per signal: platform, brand (handle/slug), value (URL), occurrences, best_source. |
profile
| Field | Type | Description |
|---|---|---|
| title / site_name / site_names[] | string / string[] | Page <title> and resolved business name(s). |
| description / descriptions[] | string / string[] | Meta description and any additional descriptive text pulled from the page. |
| language / languages[] | string / string[] | Detected site language code(s). |
| platform | string | CMS / platform hint (e.g. Custom). |
| favicon / favicons[] / apple_touch_icons[] | string / string[] | Icon URLs. |
| ratings | object | value, best, worst, count — aggregate rating counts only; individual review text is not returned. |
| h1 / h2 / h3 | string | Top heading text, by level. |
| keywords / tags / categories | string[] | Extracted taxonomy, when present. |
| dates | object | modified, published, created, uploaded timestamps. |
| addresses[] | object[] | Structured postal address (street, city, region, postal_code, country, full). |
| hours[] | string[] | Opening hours as printed on the page. |
| coordinates | object | lat / lng. |
| maps[] | string[] | Map / listing URLs. |
| founded / price_range / payments[] / certifications[] / fax[] | mixed | Optional business attributes; empty / null when the page doesn't state them. |
visuals
| Field | Type | Description |
|---|---|---|
| logos[] / additional_logos[] | string[] | Primary and secondary logo URLs. |
| og_image / twitter_image | string|null | Open Graph / Twitter card image. |
| images_with_alt[] / images_without_alt[] | string[] | Page images partitioned by whether they carry alt text (an accessibility signal). |
meta
| Field | Type | Description |
|---|---|---|
| has_privacy_policy / has_terms / has_cookie_policy / has_accessibility / has_blog / has_careers / has_pricing | bool | Whether the site exposes each standard page. |
| product_service_count | int | Count of detectable product/service entries. |
Provenance & evidence
The engine returns sources by default. Every extracted value carries two evidence fields — and only those two:
occurrences— how many independent times the value was seen across the fetched page and its linked sources. Higher counts generally mean stronger evidence.best_source— the URL where the value appeared most convincingly, so you can verify it yourself.
confidence field in the response. Any High / Medium label you see in the web UI is a presentation layer derived from occurrences and source quality — it is not a guaranteed API field, so build against occurrences + best_source, not a confidence score.Errors
The licensed API uses standard HTTP statuses with a FastAPI detail message. These are the codes returned today:
| Status | Meaning | What to do |
|---|---|---|
| 200 | Success. | Read the response object. |
| 401 | Missing or invalid API key. | Check the X-Api-Key header. |
| 403 | No credits remaining on your account. | Use a key with credits, or upgrade your plan in the dashboard. |
| 422 | Bad input (missing, too short, or invalid domain). | Fix the request body. |
Additional codes (402, 429) are reserved for the billed API — see Roadmap. They are not returned today.
Roadmap
These are intended capabilities that are not live today. They are listed so you can design toward them, but do not build against them as current behavior. Each item below is planned, not scheduled.
- Value‑based charging. A request will be charged only when valuable data is returned (≥1 email, phone, or social); empty or failed lookups will cost nothing. Planned, tied to the metering build above.
- Reserved error codes.
402Payment Required (out of credits / top‑up) and429Too Many Requests (rate limited) will be returned by the billed API. Planned, not returned today.
Planned, not scheduled
- Field toggles. Request‑level switches to trim the response (e.g. omit
visuals) to reduce payload and cost. The engine currently always returns all blocks; toggles would be a planned optimization. Planned. - Strict parameter validation. The billed endpoint will reject unknown request parameters on purpose so responses stay predictable. Today extra fields are ignored. Planned.
- Per‑key rate limits. A specific ceiling per key, shipped with the key and tracked in the changelog. Planned.
- Key scoping & rotation. Project‑scoped keys, treated like passwords, rotatable via support or the dashboard. Planned.
- Bounce refund. Records marked
verifiedthat hard‑bounce within 30 days refunded as credits automatically. Requires the email‑verification feature below. Planned. - Email deliverability verification. A separate verification pass (SMTP/role check) so
verifiedis a real field rather than a label. Planned. - Bulk / batch endpoint. A keyed batch route on the licensed API mirroring what the SDK does client‑side. Planned.
- Usage dashboard. Per‑key credit and request history in
/dashboard. Planned.
Versioning
The base path is /v1. Breaking changes will be introduced under a new major path, never in‑place, so existing integrations keep working. Subscribe to updates via the changelog and the blog.
Python SDK
A published async client for the API. If you are doing bulk enrichment, this is the intended path. It eliminates the need to write your own loops, retry logic, or CSV writers.
Authentication: You can use your Scrapeeg key (source="website") or your RapidAPI key (source="rapidapi").
pip install contact-finder-sdk
from contact_finder_sdk import ContactFinder
finder = ContactFinder(
api_key="YOUR_KEY", # Scrapeeg key or RapidAPI key
source="website", # use "rapidapi" if using a RapidAPI key
concurrency=5,
project_name="my_campaign",
)
# Option 1: Pass a list of URLs directly
finder.run(urls=[
"https://acme.com",
"https://example.com"
])
# Option 2: Pass a CSV file (auto-detects the URL column)
finder.run(file_path="my_leads.csv")
# Option 3: Specify the exact column name
finder.run(file_path="my_leads.csv", url_field_name="website")def save_to_db(data):
print(f"Scraped {data.get('domain')}")
print(f"Emails: {data.get('emails')}")
# parse_mode="contact" flattens the JSON for easy database insertion
finder.run(
urls=["https://rapidapi.com"],
parse_mode="contact",
on_success=save_to_db
)The Output
When you run the SDK, it creates an isolated folder for your project (e.g., ./data/my_campaign/). Inside, it generates:
full.jsonl— The master database containing all parsed records.raw.jsonl— The raw API responses (used as a cache to prevent re-scraping).full.csv/contact.csv— Spreadsheet exports ready for Excel or your CRM.failed.log— A log of any URLs that failed, with error reasons.
Why use the SDK instead of raw HTTP?
- Crash-proof resumability. If your script crashes halfway through a list of URLs, just run it again. The SDK reads the local
raw.jsonlcache and skips URLs that already finished, saving you money. - Automatic Deduplication. It normalizes URLs (stripping protocols and
www.) so you don't accidentally pay to scrape the same site twice in one run. - Smart File Loading. Pass a CSV, TSV, JSON, or TXT file. If you forget to pass
url_field_name, it scans your headers forurl,website, ordomainautomatically. - Concurrency. Runs many lookups in parallel instead of one-by-one loops.
- Self-healing storage. If you accidentally delete the CSV, it can rebuild it from the JSONL. If you delete the JSONL, it can rebuild it from the CSV.
- Real-time callbacks. Pass an
on_successfunction to push data directly to your database as it arrives.
Full option list and source: github.com/mohamedkalmoush/contact-finder-sdk. The SDK is the batch path; for a single on‑demand lookup use the licensed API.
API spec: /api/openapi.json · SDK: contact-finder-sdk · trust & compliance: /trust, /privacy, /acceptable-use. © 2026 Scrapeeg.