IP Intelligence

Location and network details for an IPv4 or IPv6 address (country, region, city, time zone, ASN and network owner) with risk flags from open lists such as Tor exit nodes and cloud provider ranges.

POST/v1/ip
curl -X POST https://YOUR_API_HOST/v1/ip \
  -H "Authorization: Bearer $LOOKVALID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
  • 1 credit per lookup
  • Charged only when it finds something
  • Cached 7 days

1 credit per lookup

Charged only when it finds something. A repeat inside 7 days is free.

Every LookValid product draws on one shared balance. See pricing.

From key to answer in three steps

One key, one POST to /v1/ip and a JSON answer back. The same three steps work in any language that can send HTTPS.

  1. 01

    Create a key

    Sign up and copy a key from the dashboard. The same key works for every LookValid product and for the MCP server.

    Terminal
    export LOOKVALID_API_KEY="lv_live_..."
    
  2. 02

    Send the request

    POST a JSON body to /v1/ip. 1 credit per lookup.

    request.sh
    curl -X POST https://YOUR_API_HOST/v1/ip \
      -H "Authorization: Bearer $LOOKVALID_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"ip":"8.8.8.8"}'
    
  3. 03

    Read the answer

    A real run of this lookup on 2026-10-18. The data object has 17 named fields.

    response.json
    {
      "product": "ip",
      "found": true,
      "data": {
        "ip": "8.8.8.8",
        "version": 4,
        "country": "US",
        "region": "California",
        "city": "Mountain View",
        "latitude": 37.422,
        "longitude": -122.085,
        "timezone": null,
        "asn": 15169,
        "asn_org": "Google LLC",
        "is_hosting": true,
      ...
    

A structured answer, not a page of text

The data object has 17 named fields. Every response also lists the sources behind the result, the credits charged and whether it was served from your cache.

  • Fields returned in data by IP Intelligence
    FieldType
    ipstring
    version4 or 6
    countrystring or null
    regionstring or null
    citystring or null

    And 12 more fields in the API reference.

    Named fields. Location data comes from DB-IP Lite (CC BY 4.0) and must be credited wherever results are shown.

    1. Your requestone API key
    2. Your cache7 daysRepeat: 0 credits
    3. Data sourcefirst lookupFound: 1 credit
    4. ResultJSON

    A repeat lookup is free. Results are cached per account for 7 days. Ask the same question again inside that window and the response comes back with cache_hit: true and no charge.

  • Terminal
    # Sent with every request, for every product
    Authorization: Bearer $LOOKVALID_API_KEY
    

    One key for your code and your agents. Send your API key as a Bearer token. The same key and the same credit balance cover every other LookValid product. AI agents can call it as a tool on the MCP server at https://YOUR_API_HOST/v1/mcp.

17

named fields in every answer

7

days a repeat lookup is free

14

lookups on the same key and balance

Latest from the changelog

All changes

Priced in credits

Every LookValid product draws on one shared balance. IP Intelligence uses 1 credit per lookup.

Cost

1credit

Per lookup


  • Found1 credit
  • Nothing found0 credits
  • Repeat inside 7 days0 credits
  • Errors and invalid requests0 credits

Questions about IP Intelligence

01How much does IP Intelligence cost?

1 credit per lookup. Credits come out of the one balance shared by every LookValid product.

02Am I charged when nothing is found?

No. When the lookup runs and finds nothing, it returns found: false and costs 0 credits. An error costs nothing either.

03How long are results cached?

For 7 days, per account. Repeating the same lookup inside that window returns cache_hit: true and costs 0 credits.

04Which API key do I use?

The same key as every other product. Send it as a Bearer token in the Authorization header. Email hello@lookvalid.com and we set up your account and send the key.