{"enabled":true,"offer":{"id":"api-1000-30d","price_usd":10,"credits":1000,"days":30,"auto_renew":false,"unit":"basic_data_read","products":["radar-cnpj","pontofato","editalmd"],"purchase":"https://radar-cnpj.com/api/acesso","method":"POST","status":"https://radar-cnpj.com/api/acesso","header":"X-API-Pass","payment_methods":["x402","prepaid_credit"],"prepaid_credit":{"pix":"https://radar-cnpj.com/api/credito/asaas","packages":"https://radar-cnpj.com/api/credito","header":"X-Credito","on_read":{"headers":["X-Credito","Authorization: Bearer cred_…"],"description":"Send your prepaid credit in X-Credito (or Authorization: Bearer cred_…) with each read. The credit buys 1,000 reads for US$10, valid for 30 days, one package at a time. Sending the credit authorizes these purchases. X-API-Credits-Remaining shows the reads left in the current package."}},"client":"https://radar-cnpj.com/api-access-client.js","guide":"https://radar-cnpj.com/api-access-guide.md","evaluation":{"header":"X-Agent-Pass","register":"https://api.radar-cnpj.com/empresas/api/agente","reads":0,"days":0,"scope":"agent_and_product","renews":false,"description":"Anonymous API evaluation is closed. Buy a 1,000-read package for US$10 (valid for 30 days) or pay per call with x402 / prepaid credit."},"workflow":{"version":1,"kind":"package_then_retry","purchase_requires_authority":true,"retry_same_pass":true,"on_unknown_payment":"query_purchase_or_reconcile_original_proof"},"instructions":"Generate and save an API pass locally, then send it in X-API-Pass when buying and reading.","generate_pass":"const hex = n => Array.from(crypto.getRandomValues(new Uint8Array(n)), b => b.toString(16).padStart(2, '0')).join(''); const pass = `api_${hex(16)}_${hex(32)}`;"}}