---
title: "Query Provider"
method: POST
path: "/citations/query"
tags: ["citations"]
---

# Query Provider

`POST /citations/query`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/citations/query`
- Auth: API key in header `X-Agent-Key`

Run ONE prompt against ONE LLM provider (backend keys). Returns
{text, tokens, latency_ms} — the primitive the dashboard scanner uses.

## Query parameters

- `email` string, nullable

## Request body

- ProviderQueryRequest
  - `provider` 'gemini' | 'openai' | 'anthropic' | 'perplexity', required
  - `prompt` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
