Skip to main content
GET
/
projects
/
{projectId}
/
prompts
/
{promptId}
curl "https://app.ranked.ai/api/v1/projects/{projectId}/prompts/{promptId}" \
  -H "Authorization: Bearer rk_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "bd17920c-61ff-4298-9116-f0a8035aabf3",
    "prompt": "Who provides tree services for HOA properties in Sioux City, Iowa?",
    "target_location": "Sioux City, Iowa, United States",
    "ai_models": ["openai/gpt-5.4-nano", "anthropic/claude-3-haiku", "google/gemini-2.5-flash-lite", "perplexity/sonar", "xai/grok-4.1-fast-non-reasoning", "meta/llama-4-scout"],
    "brand_name": "Sioux City Tree Co",
    "visibility_percentage": 50,
    "average_position": 5,
    "best_model": "openai/gpt-5.4-nano",
    "ai_search_volume": 60,
    "total_citations": 46,
    "latest_responses": { ... },
    "last_checked": "2026-05-10T00:30:51.79+00:00",
    "last_analyzed": "2026-05-10T00:30:51.728+00:00",
    "last_volume_update": "2026-04-15T12:00:00.000Z",
    "created_at": "2026-03-12T21:57:35.036Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://dev.ranked.ai/llms.txt

Use this file to discover all available pages before exploring further.

Returns full details for a single AI visibility prompt including per-model responses.

Path parameters

projectId
string
required
Project UUID
promptId
string
required
Prompt UUID
curl "https://app.ranked.ai/api/v1/projects/{projectId}/prompts/{promptId}" \
  -H "Authorization: Bearer rk_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "bd17920c-61ff-4298-9116-f0a8035aabf3",
    "prompt": "Who provides tree services for HOA properties in Sioux City, Iowa?",
    "target_location": "Sioux City, Iowa, United States",
    "ai_models": ["openai/gpt-5.4-nano", "anthropic/claude-3-haiku", "google/gemini-2.5-flash-lite", "perplexity/sonar", "xai/grok-4.1-fast-non-reasoning", "meta/llama-4-scout"],
    "brand_name": "Sioux City Tree Co",
    "visibility_percentage": 50,
    "average_position": 5,
    "best_model": "openai/gpt-5.4-nano",
    "ai_search_volume": 60,
    "total_citations": 46,
    "latest_responses": { ... },
    "last_checked": "2026-05-10T00:30:51.79+00:00",
    "last_analyzed": "2026-05-10T00:30:51.728+00:00",
    "last_volume_update": "2026-04-15T12:00:00.000Z",
    "created_at": "2026-03-12T21:57:35.036Z"
  }
}