Netlas API

Netlas API as documented publicly: 12 operations. Contract generated from the documentation by API Evangelist (2026-11-16); not the provider's own document.

GitHub OpenAPI

Operations 12

GET /api/host GET /api/host #
GET /api/host/ Host Info #
GET /api/host/23.215.0.136 GET /api/host/23.215.0.136 #
GET /api/host/example.com GET /api/host/example.com #
GET /api/host/google.com GET /api/host/google.com #
GET /api/indices/ Get Indices #
GET /api/scanner/ Get Scans #
GET /api/scanner/$1/rescan GET /api/scanner/$1/rescan #
GET /api/scanner/{id}/ Get Scan #
GET /api/scanner/{id}/report/ Get Scan Report #
GET /api/users/current/ Get User Profile #
GET /api/users/profile_data/ Get User Counters #

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/netlas:netlas-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

netlas-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Netlas API
  version: '2026-11-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-16: 12 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Netlas has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 7
    documentation: 5
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.netlas.io/api-reference
servers:
- url: https://app.netlas.io
paths:
  /api/host:
    get:
      operationId: get_api_host
      tags:
      - Api
      summary: GET /api/host
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X 'GET' \"https://app.netlas.io/api/host/\"  -H \"Authorization: Bearer $NETLAS_API_KEY \" \n Netlas API authorization\
          \ follows RFC 6750 , The OAuth 2.0 Authorization Framework: Bearer Token Usage . \n The X-API-Key header was previously used for authentication\
          \ and is still supported, but considered deprecated and may be removed in future versions. \n If you are using the Netlas CLI or SDK,\
          \ securely"
  /api/host/:
    get:
      operationId: get_api_host
      tags:
      - Api
      summary: Host Info
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/host/23.215.0.136:
    get:
      operationId: get_api_host_23_215_0_136
      tags:
      - Api
      summary: GET /api/host/23.215.0.136
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl - s - X GET  "https://app.netlas.io/api/host/23.215.0.136/"  - H "Authorization: Bearer $NETLAS_API_KEY" '
  /api/host/example.com:
    get:
      operationId: get_api_host_example_com
      tags:
      - Api
      summary: GET /api/host/example.com
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl - s - X GET  "https://app.netlas.io/api/host/example.com/"  - H "Authorization: Bearer $NETLAS_API_KEY" '
  /api/host/google.com:
    get:
      operationId: get_api_host_google_com
      tags:
      - Api
      summary: GET /api/host/google.com
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl - s - X GET  "https://app.netlas.io/api/host/google.com/"  - G  -- data - urlencode ''fields=whois.registrant.organization''  --
          data - urlencode ''source_type=include''  - H "Authorization: Bearer $NETLAS_API_KEY" Response samples 200 400 402 429 500 504 Content
          type application/json Example Host by IP Host by Domain Host by IP Copy Expand all Collapse all { "type" : "ip" , "ip" : "23.215.0.136"'
  /api/indices/:
    get:
      operationId: get_api_indices
      tags:
      - Api
      summary: Get Indices
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiIndicesResponse'
      x-evidence:
        kind: documentation
  /api/scanner/:
    get:
      operationId: get_api_scanner
      tags:
      - Api
      summary: Get Scans
      x-source: https://docs.netlas.io/api-reference
      parameters:
      - name: own_scans_only
        in: query
        required: false
        schema:
          type: boolean
        description: Filter to return only the scans owned by the user
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiScannerResponse'
      x-evidence:
        kind: documentation
  /api/scanner/$1/rescan:
    get:
      operationId: get_api_scanner_1_rescan
      tags:
      - Api
      summary: GET /api/scanner/$1/rescan
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiScanner1RescanResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl - X POST \"https://app.netlas.io/api/scanner/$1/rescan/\"  - H \"content-type: application/json\"  - H \"Authorization:\
          \ Bearer $NETLAS_API_KEY\" \n Response samples 201 400 403 404 500 Content type application/json Copy Expand all Collapse all [ { \"\
          id\" : 124 , \"name\" : \"My Private Scan\" , \"label\" : \"1791288000-example\" , \"targets\" : [ \"example.com\" , \"23.215.0.136\"\
          \ ] , \"created_at\" : \"2026-10-06T12:"
  /api/scanner/{id}/:
    get:
      operationId: get_api_scanner_id
      tags:
      - Api
      summary: Get Scan
      x-source: https://docs.netlas.io/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiScannerIdResponse'
      x-evidence:
        kind: documentation
  /api/scanner/{id}/report/:
    get:
      operationId: get_api_scanner_id_report
      tags:
      - Api
      summary: Get Scan Report
      x-source: https://docs.netlas.io/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiScannerIdReportResponse'
      x-evidence:
        kind: documentation
  /api/users/current/:
    get:
      operationId: get_api_users_current
      tags:
      - Api
      summary: Get User Profile
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiUsersCurrentResponse'
      x-evidence:
        kind: documentation
  /api/users/profile_data/:
    get:
      operationId: get_api_users_profile_data
      tags:
      - Api
      summary: Get User Counters
      x-source: https://docs.netlas.io/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiUsersProfileDataResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiIndicesResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        label:
          type: string
        scan_started_at:
          type: string
        scan_ended_at:
          type: string
        type:
          type: string
        availability:
          type: string
        is_default:
          type: boolean
        speed:
          type: string
        state:
          type: string
        count:
          type: integer
    GetApiScannerResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        label:
          type: string
        targets:
          type: array
        created_at:
          type: string
        owner:
          type: object
        is_scan_from_team:
          type: boolean
        mode:
          type: string
        state:
          type: string
        rescan_of:
          type: string
        agent:
          type: object
    GetApiScanner1RescanResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        label:
          type: string
        targets:
          type: array
          items:
            type: string
        created_at:
          type: string
          format: date-time
        owner:
          type: object
          properties:
            email:
              type: string
            first_name:
              type: string
            last_name:
              type: string
            teams:
              type: array
              items: {}
        is_scan_from_team:
          type: boolean
        state:
          type: string
        mode:
          type: string
        agent:
          type: object
          properties:
            id:
              type: integer
            description:
              type: string
            name:
              type: string
            label:
              type: string
            location:
              type: string
            ip_address:
              type: array
              items:
                type: string
            is_default:
              type: boolean
            queue_eta:
              type: integer
        rescan_of:
          type: integer
    GetApiScannerIdResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        label:
          type: string
        targets:
          type: array
        created_at:
          type: string
        owner:
          type: object
        is_scan_from_team:
          type: boolean
        mode:
          type: string
        state:
          type: string
        rescan_of:
          type: string
        agent:
          type: object
    GetApiScannerIdReportResponse:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        created_at:
          type: string
        scan_id:
          type: integer
        scope:
          type: array
        saved_graph:
          type: string
        mode:
          type: string
        agent:
          type: object
        responses:
          type: array
        cve:
          type: object
    GetApiUsersCurrentResponse:
      type: object
      properties:
        api_key:
          type: object
        email:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        account_category:
          type: string
        occupation:
          type: string
        occupation_details:
          type: string
        is_welcome_tour_passed:
          type: boolean
        plan:
          type: object
        plan_active_until:
          type: string
        next_plan:
          type: object
        is_next_plan_paid:
          type: boolean
        next_plan_paid_period:
          type: string
        referral_code:
          type: string
        bonuses:
          type: integer
        notifications:
          type: array
        teams:
          type: array
        is_recurring:
          type: boolean
        is_authenticated_via_social:
          type: boolean
        referral_link_usage_amount:
          type: integer
        profession:
          type: string
        usage_purpose:
          type: string
    GetApiUsersProfileDataResponse:
      type: object
      properties:
        requests_left:
          type: object
        coins:
          type: object
        scan_coins:
          type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api