API Reference · v1

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

1. Raw HTTP (Any Language)

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.

2. Python SDK (Batch & Auto-Storage)

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 →

3. Desktop App (Coming Soon)

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.

CapabilityStatus
On‑site demoLive · calls the engine
Licensed API /v1/* (auth + shape)Live
Python SDK (RapidAPI client)Published · PyPI + GitHub
Billed, page‑fetching /v1/contact/searchLive
Self‑serve keys + credit meteringLive
Bounce refund, per‑key rate limits, field togglesPlanned
The checkout links and the 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 · licensed APIbash
curl "https://scrapeeg.org/v1/contact/search?url=https://example.com/" \
  -H "X-Api-Key: YOUR_KEY"
Python · licensed APIrequests
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())
Node.js · licensed APIfetch
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());
PHP · licensed APIphp
$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);
Java · licensed APIjava
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);
Go · licensed APIgo
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:

Headershttp
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:

cURLbash
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

GET/v1/pingkey required

Licensed API health / license check. Requires a key (401 without one). Returns the plan and remaining credits on your account. Not billed.

Example requestbash
curl https://scrapeeg.org/v1/ping \
  -H "X-Api-Key: YOUR_KEY"
Responsejson
{ "plan": "starter", "credits_remaining": 100 }
POST/v1/contact/searchkey required · live

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

ParamTypeReqReturns
urlstringyes*Full URL or bare domain. Path is preserved and forwarded to the engine untouched. *Either url or domain required.
domainstringnoLegacy fallback. Ignored when url is supplied.

Example request

cURLbash
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

FieldTypeDescription
errorstring|nullnull on success; a human‑readable message on failure.
modestring|nullPipeline mode marker; null for standard lookups.
domainstringRegistrable domain resolved from the request.
urlstringThe URL that was requested.
canonical_urlstringCanonical form of the page (after normalization).
response_urlstringFinal URL after redirects.
redirect_urlstring|nullRedirect target when the page moved.
status_codeintUpstream HTTP status of the fetched page (e.g. 200).
emails_numintCount of distinct emails found.
phones_numintCount of distinct phones found.
social_numintCount of social / profile signals found.
has_httpsboolWhether the resolved page served over HTTPS.
scraped_atstringISO‑8601 UTC timestamp of the fetch.
scrape_timenumber|nullFetch duration in seconds, when measured.

contact

FieldTypeDescription
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).
socialobjectFixed 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

FieldTypeDescription
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

FieldTypeDescription
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).
platformstringCMS / platform hint (e.g. Custom).
favicon / favicons[] / apple_touch_icons[]string / string[]Icon URLs.
ratingsobjectvalue, best, worst, count — aggregate rating counts only; individual review text is not returned.
h1 / h2 / h3stringTop heading text, by level.
keywords / tags / categoriesstring[]Extracted taxonomy, when present.
datesobjectmodified, 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.
coordinatesobjectlat / lng.
maps[]string[]Map / listing URLs.
founded / price_range / payments[] / certifications[] / fax[]mixedOptional business attributes; empty / null when the page doesn't state them.

visuals

FieldTypeDescription
logos[] / additional_logos[]string[]Primary and secondary logo URLs.
og_image / twitter_imagestring|nullOpen Graph / Twitter card image.
images_with_alt[] / images_without_alt[]string[]Page images partitioned by whether they carry alt text (an accessibility signal).

meta

FieldTypeDescription
has_privacy_policy / has_terms / has_cookie_policy / has_accessibility / has_blog / has_careers / has_pricingboolWhether the site exposes each standard page.
product_service_countintCount 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.
There is no numeric 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
200Success.Read the response object.
401Missing or invalid API key.Check the X-Api-Key header.
403No credits remaining on your account.Use a key with credits, or upgrade your plan in the dashboard.
422Bad 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. 402 Payment Required (out of credits / top‑up) and 429 Too 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 verified that 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 verified is 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").

Installbash
pip install contact-finder-sdk
Quickstart: Batch Enrichmentpython
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")
Advanced: Callbacks & Parse Modespython
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.jsonl cache 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 for url, website, or domain automatically.
  • 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_success function 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.