fetch_url_metadata
Fetch URL metadata
Fetch a web page and return its metadata as JSON: title, description, canonical URL, favicon, Open Graph tags (og:title, og:image, ...), Twitter card tags, author/keywords/robots/theme-color, word count, HTTP status, response time, and detected tech stack (Next.js, WordPress, Shopify, Vercel, Cloudflare, ...). Costs 1 credit per successful fetch.
Parametersurlrequiredapi_key
create_account
Create ogfetch account
Create a new ogfetch account with no email or browser required. Returns an API key with free trial credits. Only call this if you do not already have a key; store the returned key, it cannot be shown again.
Parametersnamecontact
get_account
Get credit balance
Return the remaining credit balance and usage for the API key.
Parametersapi_key
List available one-time credit packs and prices. No API key needed.
Takes no parameters.
Create a Stripe checkout link to top up this API key. Plans: starter = 1000 credits for $3; pro = 5000 credits for $10; business = 15000 credits for $20. Give the returned checkout_url to your user to pay (or complete it if you can make payments). Credits are added automatically after payment.
Parametersplanrequiredapi_key
buy_credits_usdc
Buy credits with USDC (Solana Pay)
Create a Solana Pay quote to top up this API key with USDC on Solana mainnet. Returns transaction_url, solana_pay_url, amount_usdc and a reference. POST {"account": "<your wallet address>"} to transaction_url to get a ready-to-sign base64 transaction; sign and send it. Or show solana_pay_url as a QR code for a human to scan in Phantom. Then call check_usdc_payment. No browser needed.
Parametersplanrequiredapi_key
check_usdc_payment
Check USDC payment
Check a buy_credits_usdc quote by its reference. Finds the payment on-chain and adds the credits once. Returns status pending, credited, or expired. Poll every few seconds after paying.
Parametersreferencerequired