www.brainiac.software/api/v1/seo-content/serp-snippet-preview
Estimate title and meta description pixel widths with Liberation Sans advances and truncate at caller-chosen limits. Docs: https://www.brainiac.software/api/seo-content/serp-snippet-preview
POST
https://www.brainiac.software/api/v1/seo-content/serp-snippet-previewUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.brainiac.software/api/v1/seo-content/serp-snippet-preview", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"description":"Find out what solar panels cost in 2026, which grants you can claim and how long payback takes for a typical three-bedroom home in the UK.","descriptionFontPx":14,"descriptionMaxPx":null,"title":"Solar Panel Grants 2026: Costs, Savings and How to Apply | Example","titleFontPx":20,"titleMaxPx":600}),
});
console.log(await res.json());Example input
{
"description": "Find out what solar panels cost in 2026, which grants you can claim and how long payback takes for a typical three-bedroom home in the UK.",
"descriptionFontPx": 14,
"descriptionMaxPx": null,
"title": "Solar Panel Grants 2026: Costs, Savings and How to Apply | Example",
"titleFontPx": 20,
"titleMaxPx": 600
}