S

Stackgoai · Extract Contact

by Stackgoai

POSTBase

$0.01

per call · USD Coin on Base

Extract structured public business contact information from any public business website. Returns company name, emails, phone numbers, social profiles, postal addresses, and contact pages as structured JSON. $0.01 per request via x402 on Base.

Endpoint

POST https://api.stackgoai.com/api/v1/extract-contact

5

Calls / 30d

3

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.stackgoai.com/api/v1/extract-contact", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "url": "https://api.stackgoai.com/test-fixtures/contact-page"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.stackgoai.com/api/v1/extract-contact" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://api.stackgoai.com/test-fixtures/contact-page"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "addresses": [],
  "companyName": "Example Company",
  "contactPages": [],
  "domain": "api.stackgoai.com",
  "emails": [
    {
      "sourceUrl": "https://api.stackgoai.com/test-fixtures/contact-page",
      "value": "test-contact@stackgoai.com"
    }
  ],
  "inputUrl": "https://api.stackgoai.com/test-fixtures/contact-page",
  "meta": {
    "durationMs": 1200,
    "pagesFetched": 1
  },
  "pagesScanned": [
    "https://api.stackgoai.com/test-fixtures/contact-page"
  ],
  "phones": [
    {
      "sourceUrl": "https://api.stackgoai.com/test-fixtures/contact-page",
      "value": "+1 555 010 0000"
    }
  ],
  "requestId": "req_example",
  "socials": {
    "facebook": [],
    "instagram": [],
    "linkedin": [],
    "x": [],
    "youtube": []
  },
  "success": true
}

Payment details

Pay to0x60abf720a5fd7e1d33790a54719cfa71b8929eba
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Stackgoai & similar services