Insomnia. Meet your next API.
Open a collection of ready-to-send requests. Start without a key, then go further.
/useragent{
"device": "desktop",
"os": "macOS",
"browser": "Chrome",
"bot": false
}Import. Then send.
Choose Import, select File, and open the collection. Insomnia reads the Postman format and imports the requests and variables.
Open Start here, choose 01 · Parse a User-Agent, and click Send. Your first request works without a key.
One key. Every request.
Get a secret key from API keys.
Open the environment menu and create a private collection sub-environment. Add a text variable called api_key with your key, then save and select it. Private environments stay out of syncing and exports.
Send 02 · Look up a country. The collection supplies X-API-Key and Parse-Version: 2.0.0. Leave request authorization inherited from its parent.
A little more about the collection
Saved examples show the response shape without making a request. Current data can differ. Shortened lists are labeled, and null stays distinct from false.
For invalid_api_key, check your selected environment and local key. Keep the response's request_id if you need help. See the error reference.
Want the full catalog in Insomnia? Import OpenAPI, then set your key and Parse-Version: 2.0.0 before sending.