IPGeolocation.io · Schema

Asn

Autonomous System Number details for the IP. Free plans receive `as_number`, `organization`, and `country` only. Paid plans also receive `type`, `domain`, `date_allocated`, and `rir`.

GeocodingIP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs

Properties

Name Type Description
as_number string AS number prefixed with `AS` (e.g. `AS1257`).
organization string Name of the organization that owns the ASN.
country string ISO 3166-1 alpha-2 country where the ASN is registered.
type string Organization type. Values: `ISP`, `HOSTING`, `BUSINESS`, `EDUCATION`, `GOVERNMENT`. Paid plans only.
domain string Primary domain of the ASN holder. Paid plans only.
date_allocated string Date when the ASN was allocated, in `YYYY-MM-DD` format (e.g. `2024-12-13`). Paid plans only.
rir string Regional Internet Registry (RIR) that allocated the ASN. Possible values include `RIPE`, `ARIN`, `APNIC`, `LACNIC`, `AFRINIC`, etc.
View JSON Schema on GitHub

JSON Schema

ip-location-asn-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipgeolocation/refs/heads/main/json-schema/ip-location-asn-schema.json",
  "title": "Asn",
  "description": "Autonomous System Number details for the IP. Free plans receive `as_number`,\n`organization`, and `country` only. Paid plans also receive `type`, `domain`,\n`date_allocated`, and `rir`.\n",
  "type": "object",
  "properties": {
    "as_number": {
      "type": "string",
      "description": "AS number prefixed with `AS` (e.g. `AS1257`).",
      "example": "AS1257"
    },
    "organization": {
      "type": "string",
      "description": "Name of the organization that owns the ASN.",
      "example": "Tele2 Sverige AB"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country where the ASN is registered.",
      "example": "SE"
    },
    "type": {
      "type": "string",
      "description": "Organization type. Values: `ISP`, `HOSTING`, `BUSINESS`, `EDUCATION`,\n`GOVERNMENT`. Paid plans only.\n",
      "example": "ISP"
    },
    "domain": {
      "type": "string",
      "description": "Primary domain of the ASN holder. Paid plans only.",
      "example": "tele2.com"
    },
    "date_allocated": {
      "type": "string",
      "description": "Date when the ASN was allocated, in `YYYY-MM-DD` format (e.g.\n`2024-12-13`). Paid plans only.\n",
      "example": "2024-12-13"
    },
    "rir": {
      "type": "string",
      "description": "Regional Internet Registry (RIR) that allocated the ASN. Possible values include `RIPE`, `ARIN`, `APNIC`, `LACNIC`, `AFRINIC`, etc.\n",
      "example": "RIPE"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ip-location-asn"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.