Configure a request#
curl --request POST 'https://api.lookupnest.com/api/v1/lookup/ip' \
--header "x-api-key: $LOOKUPNEST_API_KEY" \
--header 'Content-Type: application/json' \
--header 'Origin: https://app.example.com' \
--data '{"ip":"203.0.113.42"}'What this tool does#
- Builds a cURL command in your browser.
- Uses environment-variable placeholders; it never asks for a real credential.
- Does not send your target to the API or store it in browser storage.
- Does not verify live results, account entitlements or the configured allowlist.
Generating a request is not a successful API test. Use your own server-side environment to execute it and inspect the response.
Before running generated code#
Replace the documentation address, set the appropriate environment variable and configure the key's allowed origin/caller IP. Review error handling before using it in production.