# Modat Magnify API reference

> The Modat Magnify API searches Modat's index of internet-connected hosts and services and its DNS history. A host lookup by IP returns geolocation, ASN, reverse DNS names, tags, CVEs and the services seen on each port, including banners, TLS and HTTP details. The search endpoints take Modat's own…

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

- Base URL: https://api.magnify.modat.io
- Authentication: API key in the `Authorization` header. The `Bearer ` prefix is optional.
- Rate limits: By subscription level for search and data endpoints; management endpoints 10 requests per second (3 second sliding window). Over the limit: HTTP 429 with Retry-After.
- Vendor docs: https://api.magnify.modat.io/docs
- OpenAPI spec: https://api.magnify.modat.io/openapi.json

## Overview

The Modat Magnify API searches Modat's index of internet-connected hosts and services and its DNS history. A host lookup by IP returns geolocation, ASN, reverse DNS names, tags, CVEs and the services seen on each port, including banners, TLS and HTTP details. The search endpoints take Modat's own query language and return paged results.

Every call needs an API key in the `Authorization` header; prefixing it with `Bearer ` is optional. Search and data endpoints are rate limited by subscription level, and management endpoints (quota usage, query history, bulk export) share a separate bucket of 10 requests per second, counted over a sliding 3 second window. A request over the limit gets HTTP 429 with a `Retry-After` header.

The data model and the query language are described in the [Modat Resource Center](https://magnify.modat.io/docs). Bulk export endpoints are marked preview and unstable in the spec and are not listed here.

## Errors

| Status | Meaning |
| --- | --- |
| 404 | Host or zone not found |
| 422 | Validation error in the request |
| 429 | Rate limit exceeded; see the Retry-After header |

## Hosts

### Host details by IP address

`GET /host/{ip}/v1`

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

Returns what Modat holds for one IPv4 or IPv6 address: geolocation, ASN, reverse DNS, tags, CVEs and the services seen with banners, TLS and HTTP data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 or IPv6 address, including defanged IP notation. Example: 203.0.113.7 |

Response fields:

- `data.ip` (string): The address
- `data.geo.country_iso_code` (string): Country code
- `data.asn.number` (integer): Autonomous system number
- `data.asn.org` (string): Organisation of the ASN
- `data.fqdns[]` (string): Domain names seen for the host
- `data.rdns[]` (string): Reverse DNS names
- `data.cves[].id` (string): CVE identifier
- `data.cves[].is_kev` (boolean): Whether the CVE is in a known-exploited list
- `data.services[].ports[]` (integer): Ports of the service
- `data.services[].transport` (string): tcp or udp
- `data.services[].scanned_at` (string): When the service was last scanned

```bash
curl 'https://api.magnify.modat.io/host/203.0.113.7/v1' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {
    "ip": "203.0.113.7",
    "geo": {
      "country_iso_code": "NL"
    },
    "asn": {
      "number": 64500,
      "org": "Example Hosting"
    },
    "fqdns": [
      "www.example.com"
    ],
    "rdns": [
      "host7.example.com"
    ],
    "cves": [
      {
        "id": "CVE-2000-0001",
        "is_kev": false
      }
    ],
    "services": [
      {
        "transport": "tcp",
        "ports": [
          443
        ],
        "scanned_at": "2026-01-01T00:00:00Z"
      }
    ]
  }
}
```

## Search

### Search hosts with the Modat query language

`POST /host/search/v1`

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

Host-level search. Returns paged matching hosts and, when requested, facet counts. Facet paths are listed by the facets endpoint; requesting them needs the dynamic-facets entitlement.

Response fields:

- `page_nr` (integer): Current page
- `total_pages` (integer): Number of pages
- `total_records` (integer): Number of matching hosts
- `page[].ip` (string): Host address
- `page[].asn.org` (string): Organisation of the ASN
- `page[].services[]` (object): Services seen on the host
- `facets` (object): Facet counts, when requested

```bash
curl -X POST 'https://api.magnify.modat.io/host/search/v1' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"ip=\"203.0.113.7\"","page":1,"page_size":10}'
```

Example response (200):

```json
{
  "page_nr": 1,
  "total_pages": 1,
  "total_records": 1,
  "page": [
    {
      "ip": "203.0.113.7",
      "asn": {
        "number": 64500,
        "org": "Example Hosting"
      },
      "services": [
        {
          "transport": "tcp",
          "ports": [
            443
          ]
        }
      ]
    }
  ],
  "facets": {}
}
```

### Search services with the Modat query language

`POST /service/search/v1`

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

Service-level search over the services Modat has scanned. Same request shape as the host search.

Response fields:

- `page_nr` (integer): Current page
- `total_pages` (integer): Number of pages
- `total_records` (integer): Number of matching services

```bash
curl -X POST 'https://api.magnify.modat.io/service/search/v1' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"ip=\"203.0.113.7\"","page":1,"page_size":10}'
```

Example response (200):

```json
{
  "page_nr": 1,
  "total_pages": 1,
  "total_records": 1,
  "page": [
    {
      "ip": "203.0.113.7"
    }
  ]
}
```

### History of one service by IP, protocol and port

`POST /service/history/v1`

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

Returns earlier observations of a service, at most 100 records.

Response fields:

- `(body)` (object): Service records, see the OpenAPI spec for the full model

```bash
curl -X POST 'https://api.magnify.modat.io/service/history/v1' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"since":"2026-01-01T00:00:00Z","ip":"203.0.113.7","port":443,"transport":"tcp"}'
```

Example response (200):

```json
{
  "records": [
    {
      "ip": "203.0.113.7",
      "port": 443
    }
  ]
}
```

## DNS

### DNS records of a zone by FQDN

`GET /dns/zones/{fqdn}/v1`

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

Returns the records Modat has for a zone, grouped by type (A, AAAA, CNAME and others), each with creation and deletion times.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `fqdn` | path | string | yes | Fully qualified domain name Example: example.com |

Response fields:

- `fqdn` (string): The zone
- `records.a[].ip` (string): IPv4 address of an A record
- `records.a[].created_at` (string): When the record was first seen
- `records.a[].deleted_at` (string): When the record stopped being seen, if it did
- `discovered_at` (string): When the zone was discovered
- `modified_at` (string): Latest time any record became active or stopped being active

```bash
curl 'https://api.magnify.modat.io/dns/zones/example.com/v1' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "fqdn": "example.com",
  "records": {
    "a": [
      {
        "ttl": 300,
        "created_at": "2026-01-01T00:00:00Z",
        "deleted_at": null,
        "ip": "203.0.113.7"
      }
    ]
  },
  "discovered_at": "2026-01-01T00:00:00Z",
  "modified_at": "2026-01-01T00:00:00Z"
}
```

### Search DNS history observations

`POST /dns/search/v1`

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

Searches DNS observations with the query language; paged, with optional facets.

Response fields:

- `(body)` (object): Paged observations; see the OpenAPI spec for the model

```bash
curl -X POST 'https://api.magnify.modat.io/dns/search/v1' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"fqdn=\"example.com\"","page":1,"page_size":10}'
```

Example response (200):

```json
{
  "page_nr": 1,
  "total_pages": 1,
  "page": [
    {
      "fqdn": "example.com"
    }
  ]
}
```

## Account

### Search quota usage

`GET /search/quotas/v1`

- Footprint: passive (the target is not contacted)

Shows how much search quota is left in the current quota period.

Response fields:

- `search_quota` (integer): Search quota for the period
- `search_results_quota` (integer): Results quota for the period
- `remaining_search_quota` (integer): Searches left
- `remaining_results_quota` (integer): Results left

```bash
curl 'https://api.magnify.modat.io/search/quotas/v1' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "search_quota": 1000,
  "search_results_quota": 10000,
  "remaining_search_quota": 900,
  "remaining_results_quota": 9000
}
```

---

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/
