Honkai: Star Rail Data API
Returns Honkai: Star Rail characters, light cones and relic sets with rarity, path, element and bonuses.
View as Markdown| GET | /hsrdata/characters | Every Honkai: Star Rail playable character in the game data, with rarity, element and path. |
| GET | /hsrdata/character | One Honkai: Star Rail character: name, path, element, rarity and max skill points. |
| GET | /hsrdata/characterSkills | The skills of one Honkai: Star Rail character (basic attack, skill, ultimate, talent and technique), with their type and short description. |
| GET | /hsrdata/characterRanks | The ranks (eidolons) of one Honkai: Star Rail character, each with its name and the effect it adds, in rank order. |
| GET | /hsrdata/lightCones | Every Honkai: Star Rail light cone (weapon) in the English data, with rarity, path and description. |
| GET | /hsrdata/lightCone | One Honkai: Star Rail light cone by numeric id, such as 20000 for Arrows. |
| GET | /hsrdata/relicSets | Every Honkai: Star Rail relic set in the English data, with the bonus of each piece count. |
| GET | /hsrdata/relicSet | One Honkai: Star Rail relic set by numeric id, with its bonuses and the pieces it has. |
| GET | /hsrdata/relics | The Honkai: Star Rail relic pieces, optionally of one relic set, with their slot and rarity. |
characters
/v1/hsrdata/charactersEvery Honkai: Star Rail playable character in the game data, with rarity, element and path.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
element | string |
id | string |
maxSp | integer (int64) |
name | string |
path | string |
rarity | integer (int64) |
tag | string |
curl "https://api.hoshime.com/v1/hsrdata/characters" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/characters", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/characters", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "element": "Ice", "id": "1001", "maxSp": 120, "name": "March 7th", "path": "Knight", "rarity": 4, "tag": "mar7th" }, { "element": "Wind", "id": "1002", "maxSp": 100, "name": "Dan Heng", "path": "Rogue", "rarity": 4, "tag": "danheng" } ], "meta": { "cached": false, "endpoint": "characters", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
character
/v1/hsrdata/characterOne Honkai: Star Rail character: name, path, element, rarity and max skill points.
Parameters
idstring required | Character numeric id, such as 1102 for Seele. e.g. 1102 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
element | string |
id | string |
maxSp | integer (int64) |
name | string |
path | string |
rarity | integer (int64) |
tag | string |
curl "https://api.hoshime.com/v1/hsrdata/character?id=1102" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/character?id=1102", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/character?id=1102", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "element": "Quantum", "id": "1102", "maxSp": 120, "name": "Seele", "path": "Rogue", "rarity": 5, "tag": "seele" }, "meta": { "cached": false, "endpoint": "character", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
characterSkills
/v1/hsrdata/characterSkillsThe skills of one Honkai: Star Rail character (basic attack, skill, ultimate, talent and technique), with their type and short description.
Parameters
idstring required | Character numeric id, such as 1001 for March 7th. e.g. 1001 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
description | string |
element | string |
id | string |
maxLevel | integer (int64) |
name | string |
type | string |
curl "https://api.hoshime.com/v1/hsrdata/characterSkills?id=1001" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/characterSkills?id=1001", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/characterSkills?id=1001", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "description": "…", "element": "…", "id": "abc123", "maxLevel": 0, "name": "…", "type": "…" } ], "meta": { "cached": false, "endpoint": "characterSkills", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
characterRanks
/v1/hsrdata/characterRanksThe ranks (eidolons) of one Honkai: Star Rail character, each with its name and the effect it adds, in rank order.
Parameters
idstring required | Character numeric id, such as 1001 for March 7th. e.g. 1001 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
description | string |
id | string |
name | string |
rank | integer (int64) |
curl "https://api.hoshime.com/v1/hsrdata/characterRanks?id=1001" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/characterRanks?id=1001", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/characterRanks?id=1001", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "description": "…", "id": "abc123", "name": "…", "rank": 0 } ], "meta": { "cached": false, "endpoint": "characterRanks", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
lightCones
/v1/hsrdata/lightConesEvery Honkai: Star Rail light cone (weapon) in the English data, with rarity, path and description.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
description | string |
id | string |
name | string |
path | string |
rarity | integer (int64) |
curl "https://api.hoshime.com/v1/hsrdata/lightCones" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/lightCones", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/lightCones", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "description": "A drop of strength condensed from time itself. All the seemingly insignificant moments come together to form the magnificent choir of fate.\n…", "id": "20000", "name": "Arrows", "path": "Rogue", "rarity": 3 }, { "description": "A drop of strength condensed from time itself. All the seemingly insignificant moments come together to form the magnificent choir of fate.\n…", "id": "20001", "name": "Cornucopia", "path": "Priest", "rarity": 3 } ], "meta": { "cached": false, "endpoint": "lightCones", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
lightCone
/v1/hsrdata/lightConeOne Honkai: Star Rail light cone by numeric id, such as 20000 for Arrows.
Parameters
idstring required | Light cone numeric id, such as 20000. e.g. 20000 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
description | string |
id | string |
name | string |
path | string |
rarity | integer (int64) |
curl "https://api.hoshime.com/v1/hsrdata/lightCone?id=20000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/lightCone?id=20000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/lightCone?id=20000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "A drop of strength condensed from time itself. All the seemingly insignificant moments come together to form the magnificent choir of fate.\n…", "id": "20000", "name": "Arrows", "path": "Rogue", "rarity": 3 }, "meta": { "cached": false, "endpoint": "lightCone", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
relicSets
/v1/hsrdata/relicSetsEvery Honkai: Star Rail relic set in the English data, with the bonus of each piece count.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
bonuses | string[] |
id | string |
name | string |
pieces | Relic[] |
id | string |
maxLevel | integer (int64) |
name | string |
rarity | integer (int64) |
setId | string |
slot | string |
curl "https://api.hoshime.com/v1/hsrdata/relicSets" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/relicSets", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/relicSets", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "bonuses": [ "Increases Outgoing Healing by 10%.", "At the start of the battle, immediately regenerates 1 Skill Point." ], "id": "101", "name": "Passerby of Wandering Cloud", "pieces": [] }, { "bonuses": [ "Increases ATK by 12%.", "The wearer's SPD increases by 6% and DMG dealt by Basic ATK increases by 10%." ], "id": "102", "name": "Musketeer of Wild Wheat", "pieces": [] } ], "meta": { "cached": false, "endpoint": "relicSets", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
relicSet
/v1/hsrdata/relicSetOne Honkai: Star Rail relic set by numeric id, with its bonuses and the pieces it has.
Parameters
idstring required | Relic set numeric id, such as 101 for Passerby of Wandering Cloud. e.g. 101 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
bonuses | string[] |
id | string |
name | string |
pieces | Relic[] |
id | string |
maxLevel | integer (int64) |
name | string |
rarity | integer (int64) |
setId | string |
slot | string |
curl "https://api.hoshime.com/v1/hsrdata/relicSet?id=101" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/relicSet?id=101", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/relicSet?id=101", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "bonuses": [ "Increases Outgoing Healing by 10%.", "At the start of the battle, immediately regenerates 1 Skill Point." ], "id": "101", "name": "Passerby of Wandering Cloud", "pieces": [ { "id": "31011", "maxLevel": 6, "name": "Passerby's Rejuvenated Wooden Hairstick", "rarity": 2, "setId": "101", "slot": "HEAD" }, { "id": "31012", "maxLevel": 6, "name": "Passerby's Roaming Dragon Bracer", "rarity": 2, "setId": "101", "slot": "HAND" } ] }, "meta": { "cached": false, "endpoint": "relicSet", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }
relics
/v1/hsrdata/relicsThe Honkai: Star Rail relic pieces, optionally of one relic set, with their slot and rarity.
Parameters
setIdstring | Relic set numeric id, such as 101. Omit it for every piece. e.g. 101 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
id | string |
maxLevel | integer (int64) |
name | string |
rarity | integer (int64) |
setId | string |
slot | string |
curl "https://api.hoshime.com/v1/hsrdata/relics?setId=101" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/hsrdata/relics?setId=101", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/hsrdata/relics?setId=101", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "31011", "maxLevel": 6, "name": "Passerby's Rejuvenated Wooden Hairstick", "rarity": 2, "setId": "101", "slot": "HEAD" }, { "id": "31012", "maxLevel": 6, "name": "Passerby's Roaming Dragon Bracer", "rarity": 2, "setId": "101", "slot": "HAND" } ], "meta": { "cached": false, "endpoint": "relics", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "hsrdata", "requestId": "req_2Xb9kQ…", "units": 1 } }