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

  1. In the Developer Dashboard, open the app, go to Authorization and click Add authorization. The app keeps its analytics.
  2. Test the new key on an API's Endpoints tab, then deploy it everywhere that reads RAPIDAPI_KEY. Both keys work in the meantime.
  3. 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.

Sources, checked 2026-11-16