# ONYPHE API reference

> ONYPHE is a search engine for internet-exposed assets and threat data. Its REST API returns JSON records for an IP address, domain or hostname, or for a query in the ONYPHE query language (OQL). Calls go to https://www.onyphe.io/api/v2 with an Authorization: bearer YOUR_APIKEY header. The summary…

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

- Base URL: https://www.onyphe.io/api/v2
- Authentication: Bearer token in the `Authorization` header. Get a key: https://www.onyphe.io/ The docs write the scheme as lowercase `bearer`.
- Rate limits: Not stated in the docs
- Vendor docs: https://search.onyphe.io/docs

## Overview

ONYPHE is a search engine for internet-exposed assets and threat data. Its REST API returns JSON records for an IP address, domain or hostname, or for a query in the ONYPHE query language (OQL).

Calls go to `https://www.onyphe.io/api/v2` with an `Authorization: bearer YOUR_APIKEY` header. The summary endpoints return the last 30 days only, capped at the last 10 or 100 records per category depending on the license. A search returns at most 10,000 results; the Export API (Eagle View or higher) is for more.

Other documented APIs not covered here: the deprecated Simple endpoints, Export, Discovery, Alert, bulk variants, Ondemand scope and resolver APIs (v3) and ASD APIs (v1, beta). The docs do not state rate limits or prices on these pages.

## Summary

### Everything ONYPHE holds on one IP address.

`GET /summary/ip/{ip}`

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

Last 30 days only; last 10 or 100 records per category depending on the license.

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

Response fields:

- `status` (string): ok on success
- `text` (string): Status message
- `count` (integer): Results on this page
- `total` (integer): Total matching results
- `page` (integer): Current page
- `max_page` (integer): Last page
- `took` (number): Query time
- `results[].@category` (string): Record category
- `results[].@timestamp` (string): Record timestamp

```bash
curl 'https://www.onyphe.io/api/v2/summary/ip/203.0.113.7' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "error": 0,
  "status": "ok",
  "text": "Success",
  "count": 1,
  "total": 1,
  "page": 1,
  "max_page": 1,
  "took": 0.02,
  "results": [
    {
      "@category": "geoloc",
      "@timestamp": "2026-11-01T00:00:00.000Z"
    }
  ]
}
```

### Everything ONYPHE holds on one domain.

`GET /summary/domain/{domain}`

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

Last 30 days only; same scope limits as the IP summary.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | A valid domain Example: example.com |

Response fields:

- `status` (string): ok on success
- `total` (integer): Total matching results
- `results[].@category` (string): Record category
- `results[].@timestamp` (string): Record timestamp

```bash
curl 'https://www.onyphe.io/api/v2/summary/domain/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "error": 0,
  "status": "ok",
  "text": "Success",
  "count": 1,
  "total": 1,
  "results": [
    {
      "@category": "resolver",
      "@timestamp": "2026-11-01T00:00:00.000Z"
    }
  ]
}
```

### Everything ONYPHE holds on one hostname.

`GET /summary/hostname/{hostname}`

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

Last 30 days only; same scope limits as the IP summary.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hostname` | path | string | yes | A valid hostname (FQDN) Example: www.example.com |

Response fields:

- `status` (string): ok on success
- `total` (integer): Total matching results
- `results[].@category` (string): Record category

```bash
curl 'https://www.onyphe.io/api/v2/summary/hostname/www.example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "error": 0,
  "status": "ok",
  "text": "Success",
  "count": 1,
  "total": 1,
  "results": [
    {
      "@category": "datascan",
      "@timestamp": "2026-11-01T00:00:00.000Z"
    }
  ]
}
```

## Search

### Search with an ONYPHE query (OQL).

`GET /search/`

- Footprint: passive (the target is not contacted)

Defaults to the datascan category and the last 30 days. Up to 100 pages and 10,000 results per search. Unrecognized words fall back to the data field.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | OQL query in FILTER:VALUE syntax Example: category:datascan ip:203.0.113.7 |
| `page` | query | integer | no | Page to fetch, up to 100 Example: 1 |
| `size` | query | integer | no | Results per page, up to 10,000 Example: 100 |
| `trackquery` | query | boolean | no | Add a field showing which OQL request matched Example: false |
| `calculated` | query | boolean | no | Add enriched fields such as defanged URLs Example: false |

Response fields:

- `status` (string): ok on success
- `count` (integer): Results on this page
- `total` (integer): Total matching results
- `page` (integer): Current page
- `max_page` (integer): Last available page
- `took` (number): Query time in seconds
- `results[]` (object): Result records (e.g. @category, @timestamp)

```bash
curl 'https://www.onyphe.io/api/v2/search/?q=category%3Adatascan%20ip%3A203.0.113.7' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "error": 0,
  "status": "ok",
  "text": "Success",
  "count": 1,
  "total": 1,
  "page": 1,
  "max_page": 1,
  "page_size": 100,
  "took": 0.03,
  "results": [
    {
      "@category": "datascan",
      "@timestamp": "2026-11-01T00:00:00.000Z"
    }
  ]
}
```

## Account

### Show your license, remaining credits and allowed APIs.

`GET /user`

- Footprint: passive (the target is not contacted)

Returns license details, remaining credit count, expiry date, authorized categories and fields, and scanned port and CVE lists.

Response fields:

- `status` (string): ok on success
- `results[].@category` (string): user
- `results[].@timestamp` (string): Record timestamp

```bash
curl 'https://www.onyphe.io/api/v2/user' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "error": 0,
  "status": "ok",
  "text": "Success",
  "count": 1,
  "total": 1,
  "results": [
    {
      "@category": "user",
      "@timestamp": "2026-11-01T00:00:00.000Z"
    }
  ]
}
```

---

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/
