79trust / 100

Extract Contact

by api.stackgoai.com in Company & people data

x402 APIPassing, checked 3 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
326 ms typical, 421 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -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"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.stackgoai.com%2Fapi%2Fv1%2Fextract-contact
const res = await pay("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"}),
});
console.log(await res.json());

Example input

{
  "url": "https://api.stackgoai.com/test-fixtures/contact-page"
}

Example output

{
  "addresses": [],
  "companyName": "Example Company",
  "contactPages": [],
  "domain": "api.stackgoai.com",
  "emails": [
    {
      "sourceUrl": "https://api.stackgoai.com/test-fixtures/contact-page",
      "value": "[email protected]"
    }
  ],
  "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
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402322 ms$0.01
7 h agoPassed402389 ms$0.01
11 h agoPassed402772 ms$0.01
14 h agoPassed402360 ms$0.01
17 h agoPassed402390 ms$0.01
21 h agoPassed402326 ms$0.01
25 h agoPassed402273 ms$0.01
29 h agoPassed402287 ms$0.01
32 h agoPassed402421 ms$0.01
36 h agoPassed402323 ms$0.01
39 h agoPassed402305 ms$0.01
43 h agoPassed402298 ms$0.01
2 days agoPassed402354 ms$0.01