Skip to content
OSINTtools.io

Modat Magnify API

Internet scan search engine for services, hosts and DNS records, with a free tier, query language, API and MCP access.

Base URL
https://api.magnify.modat.io
Sign-in
API key
Format
REST
Endpoints
7

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

Introduction

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. Bulk export endpoints are marked preview and unstable in the spec and are not listed here.

Quick start

  1. Get a key

    Create an account with Modat Magnify and copy your api key. Where to get it

  2. Make your first request

    Host details by IP address. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.magnify.modat.io/host/203.0.113.7/v1' \
      -H 'Authorization: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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": [
          {
    …

Authentication

Send your API key in the Authorization header of every request.

The `Bearer ` prefix is optional.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

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.

Errors

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

Hosts

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.

Path parameters

ipstringrequiredtakes your ip address

IPv4 or IPv6 address, including defanged IP notation.

Example: 203.0.113.7
Response fields · 11Show

ipstring

The address

country_iso_codestring

Country code

numberinteger

Autonomous system number

orgstring

Organisation of the ASN

fqdns[]string

Domain names seen for the host

rdns[]string

Reverse DNS names

idstring

CVE identifier

is_kevboolean

Whether the CVE is in a known-exploited list

ports[]integer

Ports of the service

transportstring

tcp or udp

scanned_atstring

When the service was last scanned

curl 'https://api.magnify.modat.io/host/203.0.113.7/v1' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
      }
    ]
  }
}

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.

Request body (JSON) · 5Show

querystringalways present

Query in Modat's query language, up to 2000 characters

pageinteger

Page number, minimum 1 (default 1)

page_sizeinteger

Results per page, 10 to 100 (default 10)

facetsstring[]

Facet paths to count

facet_sizeinteger

Values per facet, 1 to 50 (default 10)

Response fields · 7Show

page_nrinteger

Current page

total_pagesinteger

Number of pages

total_recordsinteger

Number of matching hosts

ipstring

Host address

orgstring

Organisation of the ASN

services[]object

Services seen on the host

facetsobject

Facet counts, when requested

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}'
Replace YOUR_API_KEY with your key
Response
{
  "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": {}
}

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

Request body (JSON) · 5Show

querystringalways present

Query in Modat's query language, up to 2000 characters

pageinteger

Page number, minimum 1 (default 1)

page_sizeinteger

Results per page, 10 to 100 (default 10)

facetsstring[]

Facet paths to count

facet_sizeinteger

Values per facet, 1 to 50 (default 10)

Response fields · 3Show

page_nrinteger

Current page

total_pagesinteger

Number of pages

total_recordsinteger

Number of matching services

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}'
Replace YOUR_API_KEY with your key
Response
{
  "page_nr": 1,
  "total_pages": 1,
  "total_records": 1,
  "page": [
    {
      "ip": "203.0.113.7"
    }
  ]
}

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

Request body (JSON) · 4Show

sincestringalways present

Start time, date-time

ipstringalways present

IP address

portintegeralways present

Port

transportstringalways present

tcp or udp

Response fields · 1Show

(body)object

Service records, see the OpenAPI spec for the full model

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"}'
Replace YOUR_API_KEY with your key
Response
{
  "records": [
    {
      "ip": "203.0.113.7",
      "port": 443
    }
  ]
}

DNS

DNS records of a zone by FQDN

GET/dns/zones/{fqdn}/v1

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

Path parameters

fqdnstringrequiredtakes your domain

Fully qualified domain name

Example: example.com
Response fields · 6Show

fqdnstring

The zone

ipstring

IPv4 address of an A record

created_atstring

When the record was first seen

deleted_atstring

When the record stopped being seen, if it did

discovered_atstring

When the zone was discovered

modified_atstring

Latest time any record became active or stopped being active

curl 'https://api.magnify.modat.io/dns/zones/example.com/v1' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
}

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

Request body (JSON) · 5Show

querystringalways present

Query in Modat's query language, up to 2000 characters

pageinteger

Page number, minimum 1 (default 1)

page_sizeinteger

Results per page, 1 to 100 (default 10)

facetsstring[]

Facet paths to count

facet_sizeinteger

Values per facet, 1 to 50 (default 10)

Response fields · 1Show

(body)object

Paged observations; see the OpenAPI spec for the model

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}'
Replace YOUR_API_KEY with your key
Response
{
  "page_nr": 1,
  "total_pages": 1,
  "page": [
    {
      "fqdn": "example.com"
    }
  ]
}

Account

Search quota usage

GET/search/quotas/v1

  • Passive: the target is not contacted

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

Response fields · 4Show

search_quotainteger

Search quota for the period

search_results_quotainteger

Results quota for the period

remaining_search_quotainteger

Searches left

remaining_results_quotainteger

Results left

curl 'https://api.magnify.modat.io/search/quotas/v1' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "search_quota": 1000,
  "search_results_quota": 10000,
  "remaining_search_quota": 900,
  "remaining_results_quota": 9000
}