Skip to main content
POST
/
api
/
solscan
/
accounts
/solscan/accounts
curl --request POST \
  --url https://api.anysite.io/api/solscan/accounts \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "address": "<string>",
  "timeout": 300
}
'
[
  {
    "address": "<string>",
    "@type": "SolscanAccount",
    "type": "<string>",
    "owner_program": "<string>",
    "lamports": 123,
    "sol_balance": 123,
    "executable": true,
    "is_on_curve": true,
    "space": 123,
    "label": "<string>",
    "tags": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
address
string
required

Solana account or token mint address (base58)

Example:

"5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

address
string
required
@type
string
default:SolscanAccount
type
string | null
owner_program
string | null
lamports
integer | null
sol_balance
number | null
executable
boolean | null
is_on_curve
boolean | null
space
integer | null
label
string | null
tags
string[]