Help CenterVying
Open Vying
Menu

API Overview

The REST API gives you the same brands, questions, answers and results you see in the dashboard, so you can pull them into your own reports and tools. It comes with every paid plan.

Base URLhttps://app.vyingfor.com/api/v1

Authentication

Create a key in the app under Organization Settings → API Keys (organization admins only). Each key works inside one workspace. It can read only, or read and change things. You can limit it to some of your brands, and give it an expiry of 30, 90, 180 or 365 days, or none.

Send the key with every request:

curl https://app.vyingfor.com/api/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY"

The Describe the Calling Key endpoint tells you which workspace and brands a key can reach. Keep keys secret: anyone with a key can act as it.

AccessWhat It Allows
readReading brands, questions, competitors, answers, sources, results, and your plan and usage
writeEverything read allows, plus adding and changing brands, questions and competitors, and removing competitors. To stop tracking a question, turn it off.

Errors

Every error has the same shape, with a code that stays the same so your code can check it:

{ "error": "Not Found", "message": "Brand not found", "code": "not_found" }

Pages and Dates

Lists take page (starting at 1) and limit, and return a pagination object. Each endpoint's page shows its default and largest limit: 100 for most lists, 1,000 for questions and results lists. Times are ISO 8601 in UTC, and dates are YYYY-MM-DD.

Results endpoints take a start and an end time. The start is included and the end is not, so 2026-11-01T00:00:00Z to 2026-12-01T00:00:00Z is exactly November. Times are rounded down to the quarter hour, and a window can be at most 1,096 days long. Question snapshots take startDate and endDate as UTC days instead, and include both.

Endpoints

Identity

Brands

Prompts

Competitors

Analytics

Runs

Snapshots

Opportunities

Tags

Models

Organizations

Webhooks