Internal link suggestions API
Suggest internal links by unigram TF-IDF cosine similarity and extract exact or partial anchor text from target keywords.
The Internal link suggestions operation is part of the Content Keyword Analytics TF-IDF Readability API on BRAINIAC.software. Suggest internal links by unigram TF-IDF cosine similarity and extract exact or partial anchor text from target keywords. It is exposed as POST /api/v1/seo-content/internal-link-suggest and priced at $0.04 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied page texts, keywords and rank snapshots processed locally stopwords-iso English list (MIT) and Snowball English stemming (ISC / BSD-3-Clause) Liberation Sans Regular 2.1.5 advance widths (OFL-1.1) for snippet pixel estimates Limitations: Pure computation on caller input: no SERP scrape, keyword database or LLM is called at request time. English stopwords and Porter2 stemming only in v1; other languages return unsupported_language. Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determinations. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include TF-IDF term gap vs competitor pages, Content brief from SERP page texts, English readability metrics, Near-duplicate page clustering. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/seo-content/internal-link-suggestExample request
curl -i -X POST "https://www.brainiac.software/api/v1/seo-content/internal-link-suggest" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"pages": [
{
"url": "/solar-cost",
"text": "Solar panel cost guide: installation cost, grants and payback for solar panels.",
"targetKeywords": [
"solar panel cost"
]
},
{
"url": "/solar-grants",
"text": "Solar panel grants explained: who qualifies for grants and how grants cut solar panel cost.",
"targetKeywords": [
"solar panel grants"
]
},
{
"url": "/heat-pumps",
"text": "Heat pump installation: air source heat pump cost and grants.",
"targetKeywords": [
"heat pump"
]
},
{
"url": "/battery",
"text": "Battery storage for solar panels: battery cost and payback.",
"targetKeywords": [
"battery storage"
]
}
],
"existingLinks": [
[
"/solar-grants",
"/solar-cost"
]
],
"minSimilarity": 0.3,
"maxPerSource": 5
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- TF-IDF term gap vs competitor pages — $0.04 USDC
- Content brief from SERP page texts — $0.04 USDC
- English readability metrics — $0.02 USDC
- Near-duplicate page clustering — $0.03 USDC
Related APIs
Content Keyword Analytics TF-IDF Readability APIFull docsHow it works