Astra is a free community API. Use it responsibly to help keep it available for everyone.
Best practices
Use a descriptiveUser-Agent.
Include your app name, version, and a URL so the Astra team can identify your integration and contact you if your requests are causing issues. See authentication for the required format.
Cache responses locally.
Valorant game data — agents, weapons, maps, sprays — rarely changes outside of patch days. Storing responses locally and reusing them avoids redundant requests and significantly reduces your API usage.
Use /v1/version to check for updates.
Instead of re-fetching all assets on a schedule, poll the version endpoint and only re-fetch when the version field changes. See versioning for a full example.
Request only the locale(s) you need.
If your app targets one region, pass ?language=<locale> rather than ?language=all. Fetching all locales returns larger payloads and should only be used when you genuinely need every translation.
Fetch by UUID when possible.
If you know the UUID of a specific resource, fetch it directly (e.g. /v1/agents/{uuid}) rather than listing all resources and filtering client-side. Targeted requests are faster and generate less load.