4chems Inquiries API

The inquiries API from 4chems — 2 operation(s) for inquiries.

Operations 2

POST /v1/inquiries Start Inquiry #
POST /v1/inquiries/verify Verify Inquiry #

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/4chems-com:4chems-com-inquiries-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

4chems-com-inquiries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: platform-api Inquiries API
  description: 'Platform API: infrastructure, operational, and customer tiers.'
  version: 0.12.1
tags:
- name: Inquiries
paths:
  /v1/inquiries:
    post:
      tags:
      - Inquiries
      summary: Start Inquiry
      description: 'Store an anonymous inquiry draft and email a 6-digit verification code.

        Ask the user for the code, then call verify_inquiry with the returned

        challenge_id and code — the inquiry reaches 4chems only after that

        verification succeeds.'
      operationId: start_inquiry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InquiryIn'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InquiryChallengeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
      x-destructive: false
      x-idempotent: false
      x-anonymous: true
  /v1/inquiries/verify:
    post:
      tags:
      - Inquiries
      summary: Verify Inquiry
      description: Verify the 6-digit code and deliver the inquiry to the helpdesk inbox.
      operationId: verify_inquiry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InquiryVerifyIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InquiryReceivedOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
      x-destructive: false
      x-idempotent: false
      x-anonymous: true
components:
  schemas:
    InquiryIn:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
        email:
          type: string
          format: email
          title: Email
        company:
          type: string
          maxLength: 120
          title: Company
          default: ''
        topic:
          $ref: '#/components/schemas/InquiryTopic'
        message:
          type: string
          maxLength: 4000
          minLength: 10
          title: Message
        website:
          type: string
          title: Website
          default: ''
      type: object
      required:
      - name
      - email
      - topic
      - message
      title: InquiryIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    InquiryReceivedOut:
      properties:
        inquiry_id:
          type: string
          format: uuid
          title: Inquiry Id
        reference:
          type: string
          title: Reference
        status:
          type: string
          title: Status
      type: object
      required:
      - inquiry_id
      - reference
      - status
      title: InquiryReceivedOut
    InquiryTopic:
      type: string
      enum:
      - migration
      - hosting
      - iuclid
      - chesar
      - qsar_toolbox
      - other
      title: InquiryTopic
    InquiryVerifyIn:
      properties:
        challenge_id:
          type: string
          format: uuid
          title: Challenge Id
        code:
          type: string
          maxLength: 6
          minLength: 6
          title: Code
      type: object
      required:
      - challenge_id
      - code
      title: InquiryVerifyIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InquiryChallengeOut:
      properties:
        challenge_id:
          type: string
          format: uuid
          title: Challenge Id
        expires_in_seconds:
          type: integer
          title: Expires In Seconds
        next_step:
          type: string
          title: Next Step
      type: object
      required:
      - challenge_id
      - expires_in_seconds
      - next_step
      title: InquiryChallengeOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer