Keys / RapidAPI
RAPIDAPI_KEY
The RapidAPI app key your app calls Hub APIs with. The account is free; each API sets its own pricing, and some are free or freemium.
- Expires
- the docs don't say
- API
- create and delete through the GraphQL Platform API, on Enterprise Hubs
Get it
Create one on rapidapi.com/developer/dashboard. The steps aren't recorded yet.
Set it
RAPIDAPI_KEY=...
RapidAPI has no SDK that reads it; your app sends it in the X-RapidAPI-Key header or the rapidapi-key query parameter. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- In the Developer Dashboard, open the app, go to Authorization and click Add authorization. The app keeps its analytics.
- Test the new key on an API's Endpoints tab, then deploy it everywhere that reads
RAPIDAPI_KEY. Both keys work in the meantime. - Check that nothing still uses the old key, then delete it on the app's Authorization page.
Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.