Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 3 min read

Five Drop In HTTP API Columns for Clay: Live Web Search, URL to Markdown, Domain Authority, and DORA Checks

By Tarek Etman, Founder & CEO, SpecStream Clay's HTTP API enrichment can call any REST endpoint once per row. That makes it the simplest way to put live web data into a table without waiting for a native integration. Th

By Tarek Etman, Founder & CEO, SpecStream

Clay's HTTP API enrichment can call any REST endpoint once per row. That makes it the simplest way to put live web data into a table without waiting for a native integration. This post gives five columns you can paste in today: live web search, any page as Markdown, domain authority, referring domains, and DORA subprocessors with LEI. All templates are in an MIT repo: github.com/Specstreamai/specstream-for-clay.

Set up the header account once

  1. Create a SpecStream API key (new accounts start with $2 of credit, no card).
  2. In Clay, open a table, Add enrichment, search HTTP API, then Select header account, + Add account.
  3. Add Authorization: Bearer YOUR_SPECSTREAM_API_KEY and Content-Type: application/json. Name it SpecStream. Every HTTP API column can now reuse it.

In the fields below, {{Company Domain}} means "insert that Clay column": type / and pick it.

Column 1: live web search per row

Method:        GET
Endpoint:      https://api.specstream.ai/v1/web-search
Query string:  q = {{Company Name}} {{Company Domain}} latest funding round
               speed = fast
               num = 5
Field paths:   data.sources[0].url, data.sources[0].title, data.sources[0].snippet, data.sources[0].published

The fast tier is $1 per 1,000 searches with a median of 937 ms. include_domains=linkedin.com,crunchbase.com keeps results to those sites. Feed data.sources[*].snippet into a Clay AI column when you want a one line summary with the source URL beside it.

Same call from a terminal:

curl -s "https://api.specstream.ai/v1/web-search?q=linear.app+series+c&speed=fast&num=5" \
  -H "Authorization: Bearer $SPECSTREAM_API_KEY" | jq '.data.sources[] | {title, url}'

Column 2: any page as clean Markdown

Pricing pages, careers pages and changelogs are where the buying signals are. Turn one into Markdown and keep only the passages that answer a question:

Method:    POST
Endpoint:  https://api.specstream.ai/v1/extract
Body:      {"urls": ["https://{{Company Domain}}/pricing"], "format": "markdown",
            "query": "plans, prices per seat, enterprise tier", "max_chars": 4000}
Field paths: data.results[0].status, data.results[0].text, data.results[0].title

$0.80 per 1,000 pages, up to 20 URLs per call. Pages that block a plain read come back from a real browser read or a dated copy. Want to see the output before wiring a column? Paste a URL into the free URL to Markdown tool.

Column 3: domain authority

Method:    GET
Endpoint:  https://api.specstream.ai/v1/authority?domains={{Company Domain}}
Field paths: data.results[0].domain_authority, data.results[0].global_rank, data.results[0].referring_domains

Read from SpecStream's own link graph of 223.9 million scored domains, so it answers in one request. $0.50 per 1,000 calls. Use it to tier accounts by real web presence before anyone spends time on them: a Clay formula like domain_authority >= 40 makes a clean "worth a sequence" flag.

Column 4: referring domains and anchors

Method:    GET
Endpoint:  https://api.specstream.ai/v1/backlinks?target={{Company Domain}}&mode=domains&limit=10
Field paths: data.counts.referring_domains, data.referring_domains[0].domain, data.top_anchors[0].text

$4 per 1,000 calls. For agencies this is the lead qualifier: who links to the prospect, and with what words. For partnerships it shows which sites already send them traffic.

Column 5: SaaS subprocessors with GLEIF LEI

Method:    GET
Endpoint:  https://api.specstream.ai/v1/data/dora/subprocessors?domain={{Company Domain}}&format=json
Field paths: subprocessors_count, provider.provider_lei, provider.ultimate_parent_lei,
             rows[0].subprocessor_name, rows[0].subprocessor_lei, rows[0].source_url

Rows follow the EU DORA Register of Information templates B_05.01 and B_05.02, with Level 1 LEI and ultimate parent LEI. This route answers at the top level, not under data. $0.05 a lookup; a domain with no tracked subprocessor list is not charged. Schedule it weekly and compare subprocessors_count with last week: a vendor that adds or drops a subprocessor is a trigger for security, procurement and compliance sellers.

Run the five from a terminal first

git clone https://github.com/Specstreamai/specstream-for-clay
cd specstream-for-clay
export SPECSTREAM_API_KEY=your_key
bash examples/clay-http-api-quickstart.sh acme.com "Acme"

What it costs per 1,000 rows

Column Cost per 1,000 rows
Live web search (fast) $1.00
Page as Markdown $0.80
Domain authority $0.50
Referring domains $4.00
DORA subprocessors $50 (only rows with a tracked list)

All five together on 1,000 accounts with no DORA match cost $6.30. A failed page read or an unknown domain is not charged.

More

If you run a Clay table that needs a column we do not have yet, tell me in the comments.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.