User-Agent header, retrieve the current game version, and list all agents — giving you the foundation to explore any other endpoint in the API.
Set your User-Agent
Every request to Astra must include a To pass this header with curl, use the
User-Agent header. Requests without it — or with an empty value — will receive a 403 Forbidden response.The header must follow this format:- AppName — alphanumeric characters and hyphens only, case-insensitive (e.g.
my-app,ValorantTracker) - Version — semver recommended (e.g.
1.0,1.2.3) - URL — optional info page for your application
-H flag:Fetch the game version
The Example response:A
/v1/version endpoint returns metadata about the current Valorant build. It is a good first call to verify your setup is working.status of 200 in the response body confirms the request succeeded. All Astra responses wrap their payload in a data field alongside this status code.List all agents
The Example response:Each agent object in the
/v1/agents endpoint returns an array of all playable agents. You can pass a language query parameter to receive display text in your preferred locale.data array includes a uuid, displayName, description, and a nested role object. The full response also includes ability details, portrait image URLs, and more.Fetch a single resource by UUID
Once you have a UUID from a list endpoint, you can fetch that specific resource directly. Append the UUID to the endpoint path:This pattern applies across the API — list endpoints return arrays with UUIDs, and individual endpoints accept a UUID in the path to return a single item. Use this to avoid fetching entire collections when you only need one record.
Next steps
User-Agent header
Learn more about the User-Agent format rules and how to handle 403 responses.
Localization
Understand how to use the language parameter and work with the all locale.
Agents reference
Explore every field returned by the agents endpoints.