# Robtex API reference

> 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…

Source: https://osinttools.io/apis/robtex/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/robtex/

- Base URL: https://freeapi.robtex.com
- Authentication: No key needed. The docs page describes no key. Higher limits are offered through Robtex on RapidAPI.
- Rate limits: 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.
- Vendor docs: https://www.robtex.com/en/api

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | Rate limit exceeded; the body has status "ratelimited" and your IP |

## IP and AS

### Look up an IP address: location, AS, BGP route and DNS records seen for it.

`GET /ipquery`

- Takes: IP address
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | query | string | yes | IP address to look up Example: 203.0.113.7 |

Response fields:

- `status` (string): Result status, such as ok
- `city` (string): City
- `country` (string): Country
- `as` (integer): Autonomous system number
- `asname` (string): Autonomous system name
- `bgproute` (string): BGP route containing the address
- `act` (array): Forward DNS or PTR records
- `pas` (array): Passive reverse DNS records

```bash
curl 'https://freeapi.robtex.com/ipquery?ip=203.0.113.7'
```

Example response (200):

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

### List the network prefixes of an autonomous system.

`GET /asquery`

- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `asn` | query | integer | yes | Autonomous system number Example: 64500 |

Response fields:

- `status` (string): Result status
- `nets[].n` (string): Network prefix
- `nets[].inbgp` (integer): 1 if the prefix is in BGP

```bash
curl 'https://freeapi.robtex.com/asquery?asn=64500'
```

Example response (200):

```json
{
  "status": "ok",
  "nets": [
    {
      "n": "203.0.113.0/24",
      "inbgp": 1
    }
  ]
}
```

### Blocklist reputation of an IP address.

`GET /ip_reputation`

- Takes: IP address
- Footprint: passive (the target is not contacted)

Returns how many blocklists list the address and which.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | query | string | yes | IPv4 or IPv6 address Example: 203.0.113.7 |

Response fields:

- `status` (string): Result status
- `ip` (string): Address looked up
- `country` (string): Country
- `as.number` (integer): AS number
- `as.name` (string): AS name
- `as.datacenter` (boolean): Whether the AS is a data center
- `reputation.listed_count` (integer): Blocklists listing the address
- `reputation.clean_count` (integer): Blocklists not listing it
- `reputation.checked_count` (integer): Blocklists checked
- `reputation.listed_on[].rbl` (string): Blocklist name
- `reputation.listed_on[].reason[]` (string): Reasons listed

```bash
curl 'https://freeapi.robtex.com/ip_reputation?ip=203.0.113.7'
```

Example response (200):

```json
{
  "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

### Passive DNS records seen for a domain.

`GET /pdns_forward`

- Takes: Domain
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain name Example: example.com |

Response fields:

- `rrname` (string): Record name
- `rrdata` (string): Record data
- `rrtype` (string): Record type
- `time_first` (integer): First seen
- `time_last` (integer): Last seen
- `count` (integer): Times seen

```bash
curl 'https://freeapi.robtex.com/pdns_forward?domain=example.com'
```

Example response (200):

```json
{
  "rrname": "www.example.com",
  "rrdata": "203.0.113.7",
  "rrtype": "A",
  "time_first": 1700000000,
  "time_last": 1700100000,
  "count": 3
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
