{"uid":"cap_5c4-IWlU46LvuF5Oo2LWy","slug":"brandfetch-agent-access-purchase-api-credits-e4f60346","name":"Brandfetch Agent Access — Purchase API Credits","description":"Brandfetch is a brand data platform that provides instant access to logos, colors, fonts, and brand assets for millions of companies worldwide.","url":"https://api.brandfetch.io/v2/agents/access?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{"usd":{"type":"integer","maximum":500,"minimum":1,"description":"Whole US dollars to convert into prepaid API credits."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"apiKey":{"key":"bf_…","name":"Agent Key"},"credits":{"balance":20,"granted":20},"organization":{"urn":"urn:brandfetch:organization:…"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X6IYtDWJ7SUKG08DJw3dr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a USD payment into prepaid Brandfetch API credits and returns a new API key for agent use","exampleAgentPrompt":"I need to start pulling brand assets from Brandfetch — go ahead and purchase $20 worth of prepaid API credits so I get a fresh API key I can use for brand lookups.","exampleUseCases":[{"title":"Bootstrap brand data pipeline","prompt":"Set up Brandfetch access for my project — buy $10 in prepaid credits and give me the API key so I can start fetching logos and colors for companies."},{"title":"Fund agent fleet brand lookups","prompt":"My AI agent needs access to Brandfetch to look up brand identities at scale — provision $50 in credits and hand back the API key it should use."},{"title":"One-time competitor brand audit","prompt":"I want to pull brand assets for a list of competitor companies from Brandfetch. Can you buy $5 in credits and get me a key so I can start the lookups?"}],"resultDescription":"Returns a Brandfetch API key (prefixed 'bf_…') along with the credit balance and the amount of credits granted, plus the organization URN associated with the new agent key. The agent can then use this key for subsequent brand data API calls against Brandfetch.","failureModes":["Payment failure — insufficient funds or unsupported payment method returns an error with no key issued","Invalid USD amount — value outside 1–500 range returns a validation error","Duplicate or replay payment — may result in an error if the payment is already processed","Service unavailable — Brandfetch backend downtime returns a 5xx error with no credentials"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically provision Brandfetch API credentials and fund them with prepaid credits in a single step, especially in automated workflows where no pre-existing API key is available. Prefer this over manual Brandfetch dashboard sign-up when operating in a headless, agentic context that supports x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:40:52.661Z","isFirstParty":false,"canonicalSlug":"brandfetch-agent-access-purchase-api-credits-e4f60346"}