Insomnia. Meet your next API.
Open a collection of ready-to-send requests. Start without a key, then go further.
/useragent{
"device": {
"type": "desktop"
},
"os": {
"name": "macOS"
},
"browser": {
"name": "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 X-API-Version: 2.1.0. Leave request authorization inherited from its parent.
Make it yours.
Change us to de. Try another email or postal code. For Card, send only the first 2-11 digits, never a full card number.
Keyed requests use your monthly allowance. Optional parameters start unchecked. Mailbox verification uses the separately metered POST /email/verify operation.
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 X-API-Version: 2.1.0 before sending.