AI Search Brand Recommendation Rank Checker
Measure exact 1-to-N recommendation rank, share of voice, and competitor positions for a target brand on commercial AI buyer queries.
curl -sG "https://api.agentapigate.ai/v1/ai_visibility/ai_rank" \ --data-urlencode "query=best serverless Postgres databases for AI applications" \ --data-urlencode "brand=Neon" \ --data-urlencode "brand_domain=neon.tech" \ --data-urlencode "competitors=Supabase,CockroachDB,PlanetScale" \ --data-urlencode "engine=chat_gpt" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# AI Search Brand Recommendation Rank Checker (`ai_visibility.ai_rank`) **query**: best serverless Postgres databases for AI applications · **brand**: Neon · **engine**: chat_gpt · **is_ranked**: true · **rank**: 8 · **total_recommendations**: 8 · **share_of_voice_pct**: 50 ## ranked_recommendations - [1] rank: 1, name: Amazon Aurora Serverless, snippet: - Strengths:, is_target_brand: false - [2] rank: 2, name: Strengths, is_target_brand: false - [3] rank: 3, name: Trade-offs, is_target_brand: false - [4] rank: 4, name: Google Cloud SQL, snippet: - Strengths:, is_target_brand: false - [5] rank: 5, name: Microsoft Azure Database for PostgreSQL - Flexible Server, snippet: - Strengths:, is_target_brand: false - [6] rank: 6, name: Supabase, snippet: - Strengths:, is_target_brand: false - [7] rank: 7, name: Heroku Postgres, snippet: - Strengths:, is_target_brand: false - [8] rank: 8, name: Neon, snippet: - Strengths:, is_target_brand: true
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:ai_visibility.ai_rank · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | required | best serverless Postgres databases for AI applications | Commercial category keyword or buyer prompt (e.g. "best serverless Postgres databases") |
| brand | string | required | Neon | Target brand or product to measure rank for |
| brand_domain | string | optional | neon.tech | Optional canonical brand domain (e.g. neon.tech) |
| competitors | string | optional | Supabase,CockroachDB,PlanetScale | Optional comma-separated competitors to benchmark against |
| engine | string | optional | chat_gpt | AI assistant engine (chat_gpt, claude, gemini, perplexity) |
| web_search | boolean | optional | false | Enable live web citation grounding when supported |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0060 / call | $0/mo · Balance never expires |
| Remote MCP Tool | ai_visibility_ai_rank | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0060 / call | Zero-signup USDC enabled |
| P50 Latency | 6842 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 2216t → 255t (-88%) | Partner credit: paid_usd / x402 |
More Dev, AI & Security Real-Time APIs
All-in-one domain intelligence combining RDAP registrar/expiry data, Cloudflare DoH A/MX/TXT/NS records, and live TLS SAN certificate inspection.
Use when you need commercial-grade passive IP reconnaissance: RIR RDAP CIDR/organization/abuse contacts, Cloudflare DoH reverse PTR hostnames, and port-443 TLS SAN inspection.
Resolve country, city, coordinates, timezone, ASN, and ISP organization for any public IP address.
Use when you need Common Vulnerabilities and Exposures (CVEs) from NIST NVD 2.0 and OSV.dev enriched with FIRST.org EPSS 30-day exploitation probability.
Search 250M+ peer-reviewed and preprint research papers across OpenAlex and arXiv with citation counts, DOIs, and abstracts.
Query recruiting and completed clinical trials by condition, drug intervention, sponsor, and phase from ClinicalTrials.gov v2.
Frequently Asked Questions
How do I call AI Search Brand Recommendation Rank Checker (ai_visibility.ai_rank) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/ai_visibility/ai_rank with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool ai_visibility_ai_rank on https://mcp.agentapigate.ai/mcp.
What does ai_visibility.ai_rank cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.006 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on ai_visibility.ai_rank?
Passing ?format=md transforms the response into normalized Markdown (~255 tokens vs ~2216 raw tokens, saving 88% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["ai_visibility.ai_rank"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.