Skip to main content
In this quickstart you read a fund token’s metadata, find a fund’s address, and get the fund token’s latest price and its history. Every call is a read: it changes nothing, and it needs no account or API key. You need: a terminal with curl. The last step also shows a call in JavaScript (Node.js 18 or later).
The funds you can read today are the funds of Starke’s public beta, on Solana mainnet. They are offered only within the public beta program, for protocol testing and feedback, and are not an investment product.

1. Read a fund token’s metadata

Each fund has its own token, and each token has a symbol. Ask for the metadata of rkBlueChip, the token of the rkShares Blue Chip Beta fund:
The API answers with the token’s name, symbol, description and image URL:
Wallets and explorers read this same URL to show the token: it is the metadata URL written on-chain in each fund token.

2. Find a fund’s address

The other fund reads take the fund’s address, its account on Solana. To find it, open the fund from the Starke app’s fund list: the fund page’s URL ends with it.
Copy that last part. The examples below write it as <fund address>.

3. Get the fund token’s latest price

The answer is keyed by fund address. It looks like this (the values are an example):
  • aum_usd: the fund’s value, in US dollars.
  • supply: the number of fund tokens in circulation.
  • price_usd: the price of one fund token, in US dollars.
  • mint_id: the fund token’s address on Solana.
To read several funds at once, pass up to 50 addresses, separated by commas.

4. Get the price history

Add a time window and the spacing of the points:
Times are ISO 8601 in UTC, ending in Z. granularity is 15mins, 1hour or 1day. The answer lists each fund’s price points, oldest first. The same call in JavaScript:

When a call fails

Check the HTTP status first. A 400 for a missing or invalid query parameter has a JSON body that names each parameter; every other error has a short plain-text body. Errors lists them all.

Next