Skip to content
OSINTtools.io

Robtex API

Free lookups linking domains, IPs, name servers, AS numbers and BGP routes, plus reputation and Bitcoin data.

Base URL
https://freeapi.robtex.com
Sign-in
No key
Format
REST
Endpoints
4

Compiled by OSINTtools.io editors from robtex.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Robtex Free API returns IP, autonomous system and passive DNS data. An investigator uses it to see which networks an address belongs to, what names have pointed at it, and which records a domain has had.

Calls go to https://freeapi.robtex.com/ with the lead in the query string. The docs page describes no key for the free API; requests are limited per client IP address. The docs list many more endpoints (reputation, RDAP, reverse DNS, Lightning and Bitcoin lookups) than are described here.

The docs publish an OpenAPI 3.0 file whose server entry is https://freeapi.robtex.com/api/v1 and whose security scheme is a RapidAPI proxy header, which differs from the examples on the human-written page. This reference follows the human-written page.

Quick start

  1. No key needed

    The Robtex API answers without an account or key.

  2. Make your first request

    Look up an IP address: location, AS, BGP route and DNS records seen for it.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://freeapi.robtex.com/ipquery?ip=203.0.113.7'
  3. Read the response

    A 200 response looks like this.

    {
      "status": "ok",
      "city": "Example City",
      "country": "NL",
      "as": 64500,
      "asname": "EXAMPLE-NET Example Network",
      "bgproute": "203.0.113.0/24",
      "act": [],
      "pas": []
    }

Authentication

No key or account: every endpoint answers without one.

The docs page describes no key. Higher limits are offered through Robtex on RapidAPI.

Rate limits and pricing

Free tier: 10 requests per hour per IP address (IPv6: per /64, with shared caps of 30 per hour per /56 and 100 per hour per /48). Exceeding it returns HTTP 429.

Errors

StatusMeaning
429Rate limit exceeded; the body has status "ratelimited" and your IP

IP and AS

Returns forward DNS or PTR records (act) and passive reverse DNS (pas) for the address.

Query parameters

ipstringrequiredtakes your ip address

IP address to look up

Example: 203.0.113.7
Response fields · 8Show

statusstring

Result status, such as ok

citystring

City

countrystring

Country

asinteger

Autonomous system number

asnamestring

Autonomous system name

bgproutestring

BGP route containing the address

actarray

Forward DNS or PTR records

pasarray

Passive reverse DNS records

curl 'https://freeapi.robtex.com/ipquery?ip=203.0.113.7'
No key needed
Response
{
  "status": "ok",
  "city": "Example City",
  "country": "NL",
  "as": 64500,
  "asname": "EXAMPLE-NET Example Network",
  "bgproute": "203.0.113.0/24",
  "act": [],
  "pas": []
}
  • Passive: the target is not contacted

Returns each prefix (n) and whether it is in BGP (inbgp).

Query parameters

asnintegerrequired

Autonomous system number

Example: 64500
Response fields · 3Show

statusstring

Result status

nstring

Network prefix

inbgpinteger

1 if the prefix is in BGP

curl 'https://freeapi.robtex.com/asquery?asn=64500'
No key needed
Response
{
  "status": "ok",
  "nets": [
    {
      "n": "203.0.113.0/24",
      "inbgp": 1
    }
  ]
}

Returns how many blocklists list the address and which.

Query parameters

ipstringrequiredtakes your ip address

IPv4 or IPv6 address

Example: 203.0.113.7
Response fields · 11Show

statusstring

Result status

ipstring

Address looked up

countrystring

Country

numberinteger

AS number

namestring

AS name

datacenterboolean

Whether the AS is a data center

listed_countinteger

Blocklists listing the address

clean_countinteger

Blocklists not listing it

checked_countinteger

Blocklists checked

rblstring

Blocklist name

reason[]string

Reasons listed

curl 'https://freeapi.robtex.com/ip_reputation?ip=203.0.113.7'
No key needed
Response
{
  "status": "ok",
  "ip": "203.0.113.7",
  "country": "NL",
  "as": {
    "number": 64500,
    "name": "Example Network",
    "country": "NL",
    "datacenter": false,
    "risk_categories": []
  },
  "reputation": {
    "listed_count": 1,
    "clean_count": 20,
    "checked_count": 21,
    "listed_on": [
      {
        "rbl": "example-rbl",
        "reason": [
          "spam"
        ]
      }
    ]
  }
}

Passive DNS

Returns NDJSON, one record per line, with name, data, type and (per the docs) first/last seen times and count.

Query parameters

domainstringrequiredtakes your domain

Domain name

Example: example.com
Response fields · 6Show

rrnamestring

Record name

rrdatastring

Record data

rrtypestring

Record type

time_firstinteger

First seen

time_lastinteger

Last seen

countinteger

Times seen

curl 'https://freeapi.robtex.com/pdns_forward?domain=example.com'
No key needed
Response
{
  "rrname": "www.example.com",
  "rrdata": "203.0.113.7",
  "rrtype": "A",
  "time_first": 1700000000,
  "time_last": 1700100000,
  "count": 3
}