# RIPEstat API reference

> RIPEstat's Data API returns internet number resource information: routing and announced prefixes, WHOIS records, ASN holders, abuse contacts, reverse DNS and more, from RIPE NCC data. An investigator uses it to find which network an IP or prefix belongs to and who to contact. Calls are GET…

Source: https://osinttools.io/apis/ripestat/ (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/ripestat/

- Base URL: https://stat.ripe.net/data
- Authentication: No key needed. No key. Optional sourceapp parameter; for regular use the docs ask you to email stat@ripe.net.
- Rate limits: No limit on request count stated; register if you plan more than 1000 requests per day; 8 concurrent requests per IP address
- Vendor docs: https://stat.ripe.net/docs/02.data-api/

## Overview

RIPEstat's Data API returns internet number resource information: routing and announced prefixes, WHOIS records, ASN holders, abuse contacts, reverse DNS and more, from RIPE NCC data. An investigator uses it to find which network an IP or prefix belongs to and who to contact.

Calls are GET requests of the form `https://stat.ripe.net/data/<endpoint>/data.json?resource=...` and return JSON. The docs describe no API key; the optional `sourceapp` parameter identifies your application. Every response has `status`, `status_code`, `data_call_name`, `version`, `cached`, `process_time` and the endpoint output under `data`.

The docs list about 60 data calls; this reference covers a few lookup calls. A single IP may make 8 concurrent requests.

## Routing

### Whether a prefix is announced, by which ASNs, and related prefixes.

`GET /prefix-overview/data.json`

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

Returns announcement state, originating ASNs with holder names and IANA block information for a prefix.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | The prefix to look up Example: 203.0.113.0/24 |
| `min_peers_seeing` | query | integer | no | Minimum number of RIS peers that must see a resource Example: 10 |
| `max_related` | query | integer | no | Limit on related prefixes returned Example: 10 |
| `query_time` | query | string | no | ISO8601 or Unix timestamp; defaults to latest data Example: 2026-11-01T00:00:00 |

Response fields:

- `data.resource` (string): The prefix queried
- `data.type` (string): Always prefix
- `data.announced` (boolean): Whether the prefix is announced
- `data.asns[].asn` (integer): Originating ASN
- `data.asns[].holder` (string): Name of the AS
- `data.block.name` (string): IANA registry name
- `data.actual_num_related` (integer): Total related prefixes
- `data.is_less_specific` (boolean): True if the answer covers a larger block than requested

```bash
curl 'https://stat.ripe.net/data/prefix-overview/data.json?resource=203.0.113.0%2F24'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "prefix-overview",
  "data": {
    "resource": "203.0.113.0/24",
    "type": "prefix",
    "announced": true,
    "asns": [
      {
        "asn": 64496,
        "holder": "EXAMPLE-AS Example Network"
      }
    ],
    "block": {
      "resource": "203.0.113.0/24",
      "desc": "Example block",
      "name": "Example registry"
    },
    "actual_num_related": 0,
    "is_less_specific": false
  }
}
```

### Holder name and announcement state of an autonomous system.

`GET /as-overview/data.json`

- Footprint: passive (the target is not contacted)

Returns whether the ASN originates prefixes seen by at least 10 RIS full-feed peers, and its holder.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | The ASN to look up Example: AS64496 |

Response fields:

- `data.resource` (string): The AS queried
- `data.type` (string): Always as
- `data.announced` (boolean): True if it originates prefixes visible to enough RIS peers
- `data.holder` (string): ASN holder name, or null
- `data.block.desc` (string): IANA registry description

```bash
curl 'https://stat.ripe.net/data/as-overview/data.json?resource=AS64496'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "as-overview",
  "data": {
    "resource": "64496",
    "type": "as",
    "announced": true,
    "holder": "EXAMPLE-AS Example Network",
    "block": {
      "resource": "64496-64511",
      "desc": "Example block",
      "name": "Example registry"
    }
  }
}
```

### Prefixes announced by an ASN, with announcement periods.

`GET /announced-prefixes/data.json`

- Footprint: passive (the target is not contacted)

Defaults to the last two weeks and prefixes seen by at least 10 RIS peers.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | The ASN Example: AS64496 |
| `starttime` | query | string | no | ISO8601 or Unix timestamp; default two weeks ago Example: 2026-11-01T00:00:00 |
| `endtime` | query | string | no | ISO8601 or Unix timestamp; default now Example: 2026-11-15T00:00:00 |
| `min_peers_seeing` | query | integer | no | Minimum RIS peers that must see a prefix Example: 10 |

Response fields:

- `data.resource` (string): The ASN queried
- `data.prefixes[].prefix` (string): An announced prefix
- `data.prefixes[].timelines[].starttime` (string): Start of an announcement period
- `data.prefixes[].timelines[].endtime` (string): End of an announcement period

```bash
curl 'https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS64496'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "announced-prefixes",
  "data": {
    "resource": "64496",
    "prefixes": [
      {
        "prefix": "203.0.113.0/24",
        "timelines": [
          {
            "starttime": "2026-11-01T00:00:00",
            "endtime": "2026-11-15T00:00:00"
          }
        ]
      }
    ]
  }
}
```

### The prefix and ASNs that announce an IP address.

`GET /network-info/data.json`

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

Returns the matching prefix if the IP is routed, and the ASNs announcing it.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | The IP address Example: 203.0.113.7 |

Response fields:

- `data.asns[]` (string): ASNs announcing the prefix
- `data.prefix` (string): The prefix matching the IP, if routed

```bash
curl 'https://stat.ripe.net/data/network-info/data.json?resource=203.0.113.7'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "network-info",
  "data": {
    "asns": [
      "64496"
    ],
    "prefix": "203.0.113.0/24"
  }
}
```

## Registration

### WHOIS and routing registry records for an ASN, IP address or prefix.

`GET /whois/data.json`

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

Returns whois records from the RIRs combined, plus routing registry (IRR) records.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | An ASN, IPv4 or IPv6 address or prefix Example: 203.0.113.0/24 |

Response fields:

- `data.resource` (string): The resource queried
- `data.authorities[]` (string): Authorities involved, for example ripe
- `data.records[][].key` (string): Entry type, for example inetnum
- `data.records[][].value` (string): Entry value
- `data.irr_records[][].key` (string): Routing registry entry type, for example origin
- `data.irr_records[][].value` (string): Routing registry entry value

```bash
curl 'https://stat.ripe.net/data/whois/data.json?resource=203.0.113.0%2F24'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "whois",
  "data": {
    "resource": "203.0.113.0/24",
    "authorities": [
      "ripe"
    ],
    "records": [
      [
        {
          "key": "inetnum",
          "value": "203.0.113.0 - 203.0.113.255"
        },
        {
          "key": "netname",
          "value": "EXAMPLE-NET"
        }
      ]
    ],
    "irr_records": [
      [
        {
          "key": "route",
          "value": "203.0.113.0/24"
        },
        {
          "key": "origin",
          "value": "AS64496"
        }
      ]
    ]
  }
}
```

### Abuse contact email addresses for a prefix, IP address or ASN.

`GET /abuse-contact-finder/data.json`

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

The docs note that abuse contact information is in many cases incorrect or unavailable.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | A prefix, single IP address or ASN Example: 203.0.113.7 |

Response fields:

- `data.abuse_contacts[]` (string): Dedicated abuse contact email addresses
- `data.authoritative_rir` (string): The RIR authoritative for the resource

```bash
curl 'https://stat.ripe.net/data/abuse-contact-finder/data.json?resource=203.0.113.7'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "abuse-contact-finder",
  "data": {
    "abuse_contacts": [
      "abuse@example.net"
    ],
    "authoritative_rir": "ripe"
  }
}
```

## DNS

### The reverse DNS domain name of an IP address.

`GET /reverse-dns-ip/data.json`

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

Returns one domain name, or an error such as NXDOMAIN or a timeout.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resource` | query | string | yes | The IP address Example: 203.0.113.7 |

Response fields:

- `data.result` (string): A single domain name
- `data.error` (string): Error such as NXDOMAIN or timeout; empty when none

```bash
curl 'https://stat.ripe.net/data/reverse-dns-ip/data.json?resource=203.0.113.7'
```

Example response (200):

```json
{
  "status": "ok",
  "status_code": 200,
  "data_call_name": "reverse-dns-ip",
  "data": {
    "result": "host.example.net",
    "error": ""
  }
}
```

---

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/
