WhoisFreaks ASN WHOIS API

Autonomous System Number WHOIS

Operations 1

GET /v2.0/asn-whois ASN WHOIS Lookup #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/whoisfreaks-asn-whois-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

Get an API key

Free tier, no email required.

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

OpenAPI Specification

whoisfreaks-asn-whois-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WhoisFreaks ASN WHOIS API
  description: 'Complete WhoisFreaks API — WHOIS, DNS, SSL, Geolocation, Typosquatting,

    IP Intelligence, Domain Reputation, and bulk database downloads.


    ## Authentication

    All requests require an `apiKey` query parameter.


    ## Resources

    - Docs: https://whoisfreaks.com/documentation

    - Billing: https://billing.whoisfreaks.com

    - Support: support@whoisfreaks.com

    '
  version: 1.0.0
  contact:
    name: WhoisFreaks Support
    email: support@whoisfreaks.com
    url: https://whoisfreaks.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://api.whoisfreaks.com
  description: API Solutions (live lookups)
- url: https://files.whoisfreaks.com
  description: Database file downloads
security:
- ApiKeyAuth: []
tags:
- name: ASN WHOIS
  description: Autonomous System Number WHOIS
paths:
  /v2.0/asn-whois:
    get:
      tags:
      - ASN WHOIS
      summary: ASN WHOIS Lookup
      description: WHOIS for an ASN. 1 credit.
      operationId: asnWhois
      parameters:
      - name: asn
        in: query
        schema:
          type: string
        required: true
        example: as15169
      - $ref: '#/components/parameters/Format'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsnWhoisResponse'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    AsnWhoisResponse:
      type: object
      properties:
        asn:
          $ref: '#/components/schemas/AsnInfo'
      additionalProperties: true
      description: ASN WHOIS v2 (/v2.0/asn-whois) — pass-through of ipgeolocation ASN data.
    ErrorResponse:
      type: object
      properties:
        timestamp:
          type: string
        path:
          type: string
        status: {}
        error:
          type: string
        message:
          type: string
        code:
          type: integer
      additionalProperties: true
      description: Error response. `status` may be an integer (e.g. 401), boolean, or string depending on the endpoint, so it is intentionally untyped to avoid deserialization failures.
    AsnPeer:
      type: object
      properties:
        as_number:
          type: string
        description:
          type: string
        country:
          type: string
      additionalProperties: true
    AsnInfo:
      type: object
      properties:
        as_number:
          type: string
        organization:
          type: string
        country:
          type: string
        type:
          type: string
        domain:
          type: string
        date_allocated:
          type: string
        asn_name:
          type: string
        allocation_status:
          type: string
        num_of_ipv4_routes:
          type: string
        num_of_ipv6_routes:
          type: string
        rir:
          type: string
        routes:
          type: array
          items:
            type: string
        downstreams:
          type: array
          items:
            $ref: '#/components/schemas/AsnPeer'
        upstreams:
          type: array
          items:
            $ref: '#/components/schemas/AsnPeer'
        peers:
          type: array
          items:
            $ref: '#/components/schemas/AsnPeer'
        whois_response:
          type: string
      additionalProperties: true
  parameters:
    Format:
      name: format
      in: query
      schema:
        type: string
        enum:
        - json
        - xml
        default: json
  responses:
    ErrorResponse:
      description: Error response (4XX)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey