Docs home

Make your first request.

Identify your browser, operating system and device as useful JSON.

Start with a live lookup, see what comes back, then use the same pattern in your application.

Run a lookup

Run it here to identify your browser, or copy the command into your terminal to identify curl.

curl "https://api.parseapi.com/useragent?deep=true" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Parse-Version: 2.0.0"

Run uses demo access. Copied Deep requests use your API key.

Read the result

A successful lookup returns HTTP 200 and a JSON object with these fields.

useragent
The original User-Agent string sent by the client.
device, os, browser
The detected device type, operating system and browser. A null value means that detail could not be identified.
bot, mobile
True or false flags for a recognized bot or mobile client.

Deep starts selected and includes device and browser details in the complete response. Select Core for the everyday summary. Read the full User-Agent reference.

Call another API

Copy a secret key from your dashboard and save it in your terminal environment as PARSEAPI_KEY. This request splits a name into useful fields.

How to set the key in your terminal

Run export PARSEAPI_KEY='your-secret-key', replacing your-secret-key with the key you copied. Then run the request below in the same terminal.

Terminal request
curl "https://api.parseapi.com/name/Ada%20Lovelace" \
  -H "X-API-Key: $PARSEAPI_KEY" \
  -H "Parse-Version: 2.0.0"

The key goes in X-API-Key. Parse-Version pins the response contract your app expects. Keep secret keys on your server. For a browser or mobile app, choose the matching key type.

Questions? Email