Documentation

Developer Docs

Everything you need to integrate the MainState Labs API suite into your application.

Quick Start

  1. 1.Go to rapidapi.com/mainstate00 and subscribe to any API on the Free tier.
  2. 2.Copy your X-RapidAPI-Key from the RapidAPI dashboard.
  3. 3.Include the key in all requests as a header. Never expose it in client-side code.
curl example
curl -X POST \
  https://mainstate-pqc.p.rapidapi.com/pqc/kem/generate \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"algorithm": "ML-KEM-768"}'

Rate Limits

TierMonthly RequestsPrice
Free1,500$0/mo
Basic10,000$29/mo
Pro100,000$99/mo
Enterprise1,000,000$499/mo

Need help?

Contact us for support, bug reports, or feature requests.

[email protected]

RapidAPI Hub

Subscribe and manage your API keys on RapidAPI.

Go to RapidAPI