Skip to main content

Retrieve an Account Data REST API Endpoint

Represents a single data for a given account

Updated on
Oct 4, 2023

Retrieve an Account Data REST API Endpoint

Path Parameters

account_id
string
REQUIRED
The account id encoded as base32 string
key
string
REQUIRED
The key name for this data

Returns

value
string
A string representing the value of the requested data entry associated with the specified account and key
Request
1
curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/accounts/GATRERJBSQH5C7S5FPMG4Q2NXVRR6NF25NKTO7PAXUR7UFOE7CTPB2R6/data/:key' \
2
-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free