Set up an agent account
Give a REST agent its own key and verify one read before requesting paid coverage.
Create the key
Send the account owner’s real email address and an agent name. The variables below come from your environment. Save the api_key from the 201 response in your secret store as QUANTSET_API_KEY.
curl -X POST "https://api.quantset.dev/api/v1/agent/signup" \
-H 'Content-Type: application/json' \
--data "$(jq -n --arg email "$OWNER_EMAIL" '{email:$email,agent_name:"Research agent"}')"Repeating signup before confirmation or funding can rotate an unconfirmed key. A 409 account_exists response directs the owner back to their existing account. Trial credits apply to eligible full-catalog reads. Check the published rate card and estimate before a large request.
Verify the key
curl "https://api.quantset.dev/api/v1/prices?ticker=NVDA&limit=1" -H "X-API-Key: $QUANTSET_API_KEY"
Check data[0].instrument_id, date and quote_currency. For the same task in a chat client use the MCP setup guide.
Fund additional reads
curl -X POST "https://api.quantset.dev/api/v1/agent/checkout-link" \
-H "X-API-Key: $QUANTSET_API_KEY" -H 'Content-Type: application/json' \
--data '{"plan":"credits"}'Give checkout_url to the account owner. After payment, use the same key for the intended request. The agent instructions describe the available plan choices.