Skip to Content
KashRock Docs

Quickstart

Get a free key, make your first KashRock call, and check you got real data back.

Try it with no key

One live CS2 prop, no key at all:

curl "https://kashrock.up.railway.app/v6/demo/cs2-prop"

Get your own key

Sign in and copy your Sandbox key from the console. Sandbox is free, 1,500 credits a day, no card. Put the key in .env, never in code:

KASHROCK_API_KEY=kr_...

Check your plan

curl "https://kashrock.up.railway.app/v7/meta" -H "x-api-key: $KASHROCK_API_KEY"

plan in the response is your key's plan. routes lists every endpoint with the plan it needs.

Pull real data

curl "https://kashrock.up.railway.app/v7/dota2/matches?status=live&limit=5" \
  -H "x-api-key: $KASHROCK_API_KEY"

Check it worked

  • Each match has a kr_match_id that starts with kr_dota2_. Use that id in every other call; never build one by hand.
  • An empty matches list means nothing is live right now. That is a real answer, not an error.
  • A 403 with plan_required names the plan you need. See Errors.

Next: Authentication, Plans and credits, or hand it to an agent with MCP. The short version of this page lives at /quickstart.

On this page