CustomJS API

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

GitHub OpenAPI

Operations 7

POST /__js1- POST /__js1- #
POST /__js1-YOUR_API_KEY POST /__js1-YOUR_API_KEY #
POST /ai-scraper POST /ai-scraper #
POST /html2pdf POST /html2pdf #
POST /pages/api/page POST /pages/api/page #
POST /pages/form/submit/a1b2c3d4-XXXX-XXXX-XXXX-XXXXXXXXXXXX POST /pages/form/submit/a1b2c3d4-XXXX-XXXX-XXXX-XXXXXXXXXXXX #
POST /pdf-template/inv_8291_prod POST /pdf-template/inv_8291_prod #

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/customjs-space:customjs-space-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

customjs-space-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: CustomJS API
  version: '2026-11-04'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-04: 7 operation(s) read from 9 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; CustomJS has published no machine-readable contract that the
    pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 7
    documentation: 0
    pages-with-code: 9
    pages-read: 9
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-04'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://www.customjs.space/integration/native-api/documentation
  - https://www.customjs.space/products/headless-forms
  - https://www.customjs.space/products/pdf-generation
  - https://www.customjs.space/products/web-scraper
  - https://www.customjs.space/integration/native-api/overview
  - https://www.customjs.space/integration/native-api/api-key
  - https://www.customjs.space/integration/native-api/html-pages
  - https://www.customjs.space/integration/native-api/inline-vs-stored
  - https://www.customjs.space/integration/make/modules/inline-javascript
servers:
- url: https://e.customjs.io
paths:
  /__js1-:
    post:
      operationId: post_js1
      tags:
      - Js1
      summary: POST /__js1-
      x-source: https://www.customjs.space/integration/native-api/inline-vs-stored
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostJs1Request'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl or SDK snippet straight into your stack. Open the playground Get an API key execute.curl curl -X POST 'https://e.customjs.io/__js1-'\
          \  -H 'x-api-key: YOUR_API_KEY'  -d '{\n \"input\": \"{\\\"name\\\":\\\"Jon Doe\\\"}\",\n \"code\": \"return input.name\"\n }' 600 free\
          \ executions / month · no credit card Frequently Asked Questions + When should I use inline vs. stored execution? + Which helpers and\
          \ NPM modules can"
  /__js1-YOUR_API_KEY:
    post:
      operationId: post_js1_YOUR_API_KEY
      tags:
      - Js1 Your Api Key
      summary: POST /__js1-YOUR_API_KEY
      x-source: https://www.customjs.space/integration/native-api/overview
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostJs1YourApiKeyRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST 'https://e.customjs.io/__js1-YOUR_API_KEY'  -H 'Content-Type: application/json'  -H 'customjs-origin: inline/pdf-generator'\
          \  --data-raw '{\n \"input\": { \"html\": \"Hello World\" },\n \"code\": \"const {HTML2PDF} = require(\\\"./utils\\\"); return HTML2PDF(input.html);\"\
          ,\n \"returnBinary\": \"true\"\n }' > output.pdf //get started One API, everything you need. Get an API key Read the docs Footer CustomJS"
  /ai-scraper:
    post:
      operationId: post_ai_scraper
      tags:
      - Ai Scraper
      summary: POST /ai-scraper
      x-source: https://www.customjs.space/products/web-scraper
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostAiScraperResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://e.customjs.io/ai-scraper  -H \"x-api-key: YOUR_API_KEY\"  -d '{\n \"input\": {\n \"goal\": \"Open apple.com/shop/buy-mac/macbook-air,\n\
          \ find the cheapest MacBook Air and return\n name, price and shipping date as JSON.\"\n }\n }' "
  /html2pdf:
    post:
      operationId: post_html2pdf
      tags:
      - Html2Pdf
      summary: POST /html2pdf
      x-source: https://www.customjs.space/integration/native-api/documentation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostHtml2PdfRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST ''https://e.customjs.io/html2pdf''  -H ''x-api-key: YOUR_API_KEY''  -H ''Content-Type: application/json''  -d ''{
          "input": { "html": "<h1>Hello</h1>" } }'' > output.pdf Rate Limiting Every response includes your current usage in the rate-limit headers.
          Header Description x-ratelimit-limit Maximum requests allowed in the current window x-ratelimit-used Requests used in the current window
          x-rat'
  /pages/api/page:
    post:
      operationId: post_pages_api_page
      tags:
      - Pages
      summary: POST /pages/api/page
      x-source: https://www.customjs.space/integration/native-api/html-pages
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPagesApiPageRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPagesApiPageResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.app.customjs.io/pages/api/page  -H \"x-api-key: YOUR_API_KEY\" GET /pages/api/page List every page in your\
          \ workspace. Returns an array of page objects. Use this to find a page's pageId before updating it. Example curl https://api.app.customjs.io/pages/api/page\
          \  -H \"x-api-key: YOUR_API_KEY\" Response [ \n { \n \"pageId\" : \"pg_8f21\" ,\n \"name\" : \"Launch page\" ,\n \"htmlFileUrl\" : \"\
          https://pa"
  /pages/form/submit/a1b2c3d4-XXXX-XXXX-XXXX-XXXXXXXXXXXX:
    post:
      operationId: post_pages_form_submit_a1b2c3d4_XXXX_XXXX_XXXX_XXXXXXXXXXXX
      tags:
      - Pages
      summary: POST /pages/form/submit/a1b2c3d4-XXXX-XXXX-XXXX-XXXXXXXXXXXX
      x-source: https://www.customjs.space/products/headless-forms
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPagesFormSubmitA1B2C3D4XxxxXxxxXxxxXxxxxxxxxxxxRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.app.customjs.io/pages/form/submit/a1b2c3d4-XXXX-XXXX-XXXX-XXXXXXXXXXXX  -H \"Content-Type: application/json\"\
          \  -d '{\n \"email\": \" [email protected] \",\n \"name\": \"John Doe\",\n \"message\": \"Hello, this is a test submission!\",\n \"\
          customField\": \"Any data you want\"\n }' Use this prompt with AI tools to automatically generate forms that submit to your headless\
          \ endpoint The No-Brainer Fe"
  /pdf-template/inv_8291_prod:
    post:
      operationId: post_pdf_template_inv_8291_prod
      tags:
      - Pdf Template
      summary: POST /pdf-template/inv_8291_prod
      x-source: https://www.customjs.space/products/pdf-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPdfTemplateInv8291ProdRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl curl -X POST https://e.customjs.io/pdf-template/inv_8291_prod  -H \"x-api-key: YOUR_API_KEY\"  -d '{\n \"customer\": \"\
          John Doe\",\n \"amount\": \"94.00\",\n \"currency\": \"USD\"\n }' One stored template · tiny payloads · versioned //example Perfect\
          \ for invoices and documents Generate professional invoices, receipts, and business documents with pixel-perfect accuracy. INVOICE Invoice\
          \ #INV-2024-001 Your Compan"
components:
  schemas:
    PostJs1Request:
      type: object
      properties:
        input:
          type: string
        code:
          type: string
    PostJs1YourApiKeyRequest:
      type: object
      properties:
        input:
          type: object
          properties:
            html:
              type: string
        code:
          type: string
        returnBinary:
          type: string
    PostAiScraperResponse:
      type: object
      properties:
        name:
          type: string
        price:
          type: string
        shipping_date:
          type: string
    PostHtml2PdfRequest:
      type: object
      properties:
        input:
          type: object
          properties:
            html:
              type: string
    PostPagesApiPageRequest:
      type: object
      properties:
        name:
          type: string
        htmlContent:
          type: string
    PostPagesApiPageResponse:
      type: object
      properties:
        pageId:
          type: string
        name:
          type: string
        htmlFileUrl:
          type: string
    PostPagesFormSubmitA1B2C3D4XxxxXxxxXxxxXxxxxxxxxxxxRequest:
      type: object
      properties:
        email:
          type: string
        name:
          type: string
        message:
          type: string
        customField:
          type: string
    PostPdfTemplateInv8291ProdRequest:
      type: object
      properties:
        customer:
          type: string
        amount:
          type: string
        currency:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
security:
- apiKey: []
tags:
- name: Ai Scraper
- name: Html2Pdf
- name: Js1
- name: Js1 Your Api Key
- name: Pages
- name: Pdf Template