HenrikDev API
  • Hello and welcome :D
  • Authentication & Authorization
  • VALORANT
    • General
    • Changes
      • v4.2.0
      • v4.1.0
      • v4.0.1
      • v4.0.0
    • Error Codes
    • API Reference
      • Accounts
      • Content
      • Crosshair
      • Esports
      • Leaderboard
      • Matchlist
      • Match
      • MMR History
      • MMR
      • Premier
      • Queue Status
      • Raw
      • Status
      • Stored Data
      • Store (no daily stores)
      • Version
      • Website
Powered by GitBook
On this page
  1. VALORANT
  2. API Reference

Crosshair

PreviousContentNextEsports

Last updated 10 months ago

Generates a 1024x1024 pixel image of the requested crosshair. This endpoint may be moved to another url soon due to some code issues

get

Outputs a 1024x1024 pixel image of the requested crosshair

Authorizations
Query parameters
idstringOptional

ID of the crosshair

Responses
200
Image of the crosshair
image/png
Responsestring ยท binary
400
Request error by the client (missing query for example)
application/json
403
Forbidden to connect to the Riot API (mainly maintenance reasons on riot side like patches) or to the HenrikDev API itself because of bot prevention for example
application/json
404
The entity was not found (player/match/general data)
application/json
408
Timeout while fetching riot data
application/json
429
Rate limit reached (can be global API limit which affects all users or just you, when the "x-ratelimit-remaining" header is 0 then it's a personal limit)
application/json
503
Riot API seems to be down, API unable to connect
application/json
get
GET /valorant/v1/crosshair/generate HTTP/1.1
Host: api.henrikdev.xyz
Authorization: YOUR_API_KEY
Accept: */*
binary