PaydayAPI
Get started

Quickstart

Make a key, call the API and read your first coin.

1. Make a key

Open API keys, sign in with X, say what the key is for and press Request key. The key is shown once, so copy it. It works once Payday approves the request; until then calls answer 403 key_pending.

2. Call the API

Send the key in a header on every call. Everything answers JSON.

curl -H "Authorization: Bearer pd_YOUR_KEY" "https://payday.direct/api/v1/coins?status=graduated&limit=5"

3. Read one coin and the account it pays

curl -H "X-API-Key: pd_YOUR_KEY" https://payday.direct/api/v1/coins/MINT_ADDRESS
curl -H "X-API-Key: pd_YOUR_KEY" https://payday.direct/api/v1/accounts/examplehandle

Next