Cite.me.inCite.me.in

cite.me.in API

Monitor your brand's visibility in AI-generated responses. Authenticate with your API key from the profile page. See the documentation for more information.

Authentication

All endpoints require a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Retrieve your API key from your profile page.

GET /api/me/{email}

Gets the details of the current user. Includes all the sites they have access to. You can only use this endpoint with your own email address.

Path Parameters

ParameterTypeDescription
emailstringThe email address of the user to get details for

Response: 200

FieldTypeExample
emailstringuser@example.com
sitesobject[][]

Status Codes

CodeMeaning
200User details with sites
401Unauthorized — missing or invalid API key
403Forbidden — API key does not have access to this user
404User not found

Example

const response = await fetch("https://citeup.vercel.app//api/me/{email}", {
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await response.json();

GET /api/sites/{domain}

Gets the details of a site you have access to, and lists all the users with access to that site and their roles.

Path Parameters

ParameterTypeDescription
domainstring

Response: 200

FieldTypeExample
domainstringexample.com
createdAtstring2024-01-01
usersSiteUser[]
users[].emailstringuser@example.com
users[].role`"owner""member"`

Status Codes

CodeMeaning
200Site details with users
401Unauthorized — missing or invalid API key
403Forbidden — API key does not have access to this site
404Site not found

Example

const response = await fetch("https://citeup.vercel.app//api/sites/example.com", {
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await response.json();

GET /api/sites/{domain}/runs

Lists up to 100 citation runs for a site, newest first. Use ?since=<ISO date> to filter. The date filter is optional and defaults to the last 30 days. For each platform/model, provides the total number of queries and total number of citations

Path Parameters

ParameterTypeDescription
domainstring

Query Parameters

ParameterTypeRequiredDescription
sincestringNoOnly returns runs created after this ISO 8601 timestamp
limitintegerNoThe maximum number of runs to return. Defaults to 100.

Response: 200

FieldTypeExample
runsRunSummary[]
runs[].idstringclxyz456
runs[].platformstringchatgpt
runs[].modelstringgpt-4o
runs[].onDatestring2024-01-01
runs[].queryCountinteger5
runs[].citationCountinteger12

Status Codes

CodeMeaning
200List of citation runs
401Unauthorized
403Forbidden
404Site not found

Example

const response = await fetch("https://citeup.vercel.app//api/sites/example.com/runs?since=2024-01-01T00:00:00.000Z", {
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await response.json();

GET /api/sites/{domain}/runs/{runId}

Gets a single citation run with all its queries. For each query, includes the query text, the group it belongs to, and all the citations for that query.

Path Parameters

ParameterTypeDescription
domainstring
runIdstring

Response: 200

FieldTypeExample
idstringclxyz456
platformstringchatgpt
modelstringgpt-4o
onDatestring2024-01-01
queriesQuery[]
queries[].groupstring1. discovery
queries[].querystringWhat are the best retail platforms?
queries[].citationsstring[]https://example.com/page1

Status Codes

CodeMeaning
200Run detail with queries and citations
401Unauthorized
403Forbidden
404Run not found

Example

const response = await fetch("https://citeup.vercel.app//api/sites/example.com/runs/clxyz456", {
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await response.json();