Skip to content
Ranqo
Docs
DashboardGet started
GuidesMethodologyIntegrationsAPI
Video tutorials

Get started

  • Introduction
  • Quickstart
  • Authentication

Using the API

  • Rate limits
  • Errors
  • Pagination
  • Dates and time zones
  • Versioning

Account

  • Get the account

Brands

  • List brands
  • Get a brand

Visibility

  • Get visibility

Competitors

  • List competitors

Runs

  • List runs
  • Get a run

Prompts

  • List prompts
  • Get a prompt
  • List a prompt's answers

Site Access

  • Get site access

Page audits

  • List page audits
  • Get a page audit

Recommendations

  • List recommendations
  • Get a recommendation

Outreach

  • List outreach targets

2 sections

Using the API

API versioning

View as MarkdownOpen this page as .md
ChatGPTOpen in ChatGPTAsk about this pageClaudeOpen in ClaudeAsk about this page

How the Ranqo API is versioned, which changes happen within a version, and how to write a client that keeps working as the API grows.

The version is part of every path: https://api.ranqo.ai/v1. The OpenAPI document describes the current version, and its info.version is 1.0.0.

Changes within a version#

Within v1, endpoints and response fields are added, never removed or renamed, and a field keeps its meaning. A change that would break a working client, such as removing a field or changing what one means, gets a new version in the path.

Writing a client that keeps working#

  • Ignore response fields you do not know. New ones can appear at any time.
  • Read a value that can be null as missing, never as zero. The reference marks every field that can be null.
  • Branch on an error's code, not its title or detail.
  • Send only the query parameters an endpoint takes: an unknown one is refused with unknown_parameter.
  • Allow for new values in fields that name an engine, a category or a state.
Previous page: Dates and time zonesNext page: Get the account
On this page
Ranqo
Docs
Dashboardranqo.aiPrivacyTerms
Be the Source AI Cites.
Ranqo
Docs
GuidesMethodologyIntegrationsAPI

Get started

  • Introduction
  • Quickstart
  • Authentication

Using the API

  • Rate limits
  • Errors
  • Pagination
  • Dates and time zones
  • Versioning

Account

  • Get the account

Brands

  • List brands
  • Get a brand

Visibility

  • Get visibility

Competitors

  • List competitors

Runs

  • List runs
  • Get a run

Prompts

  • List prompts
  • Get a prompt
  • List a prompt's answers

Site Access

  • Get site access

Page audits

  • List page audits
  • Get a page audit

Recommendations

  • List recommendations
  • Get a recommendation

Outreach

  • List outreach targets
Get started