HTTP Toolkit client API

HTTP client request sending through the proxy

Operations 1

POST /client/send Send an HTTP request #

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/http-toolkit-client-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 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.

OpenAPI Specification

http-toolkit-client-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HTTP Toolkit Server Client API
  description: 'The backend REST API exposed by the HTTP Toolkit server, used to start and manage the local HTTP/HTTPS proxy, launch intercepted applications, manage interception rules, handle certificate operations, and send requests through the proxy. The server listens on localhost (default port 45456) and uses token-based authentication via the Authorization header.

    '
  version: 1.0.0
  contact:
    name: HTTP Toolkit
    url: https://httptoolkit.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:45456
  description: Local HTTP Toolkit server (default port)
security:
- bearerAuth: []
tags:
- name: client
  description: HTTP client request sending through the proxy
paths:
  /client/send:
    post:
      summary: Send an HTTP request
      description: 'Sends an HTTP request through the proxy and streams back the response as newline-delimited JSON (NDJSON). The response stream emits typed events including response-start, response-body-part, and response-end. Request and response body data is base64-encoded.

        '
      operationId: sendRequest
      tags:
      - client
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendRequestBody'
      responses:
        '200':
          description: 'NDJSON stream of response events. Each line is a JSON object with a `type` field indicating the event type.

            '
          content:
            application/x-ndjson:
              schema:
                $ref: '#/components/schemas/ResponseStreamEvent'
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  schemas:
    RequestDefinition:
      type: object
      required:
      - method
      - url
      properties:
        method:
          type: string
          description: HTTP method
          example: GET
        url:
          type: string
          format: uri
          description: Target URL
          example: https://example.com/api/data
        headers:
          type: object
          additionalProperties:
            type: string
          description: Request headers
        rawBody:
          type: string
          format: byte
          description: Base64-encoded request body
    SendRequestBody:
      type: object
      required:
      - request
      - options
      properties:
        request:
          $ref: '#/components/schemas/RequestDefinition'
        options:
          $ref: '#/components/schemas/RequestOptions'
    RequestOptions:
      type: object
      properties:
        trustAdditionalCAs:
          type: boolean
          description: Whether to trust additional CA certificates beyond system defaults
        clientCertificate:
          $ref: '#/components/schemas/ClientCertificate'
        proxyConfig:
          type: object
          additionalProperties: true
          description: Proxy configuration overrides for this specific request
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message
    ResponseStreamEvent:
      type: object
      required:
      - type
      - timestamp
      discriminator:
        propertyName: type
      properties:
        type:
          type: string
          enum:
          - response-start
          - response-body-part
          - response-end
          - error
          description: Type of stream event
        timestamp:
          type: number
          description: Performance timestamp when this event occurred
    ClientCertificate:
      type: object
      required:
      - pfx
      properties:
        pfx:
          type: string
          format: byte
          description: Base64-encoded PKCS#12 client certificate bundle
        passphrase:
          type: string
          description: Passphrase for the PKCS#12 bundle
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Token-based authentication using a server-generated bearer token