LaminarForge API VPS Browser API

lf-vps-browser — Browser-based: screenshots, PDF from HTML, content extraction, LLM safety, cache keys, tool orchestration, knowledge base Q&A

GitHub OpenAPI

Operations 6

GET /v1/web-screenshot Capture screenshot of a URL (basic) #
GET /v1/pdf-from-html Convert HTML to PDF proxy #
GET /v1/tool-orchestrator Sequential tool orchestration #
GET /v1/safety Content safety classification #
GET /v1/ai-cache-key Generate deterministic AI cache keys #
GET /v1/knowledge-base-qa Simple knowledge base Q&A #

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/laminarforge-dev:laminarforge-dev-vps-browser-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

laminarforge-dev-vps-browser-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Laminarforge Dev VPS Browser API
  version: 1.1.0
  contact:
    url: https://laminarforge.dev/contact
  description: 'Operations tagged VPS Browser across 2 of this provider''s published API definitions: laminarforge-dev-openapi.json, laminarforge-dev-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: VPS Browser
  description: 'lf-vps-browser — Browser-based: screenshots, PDF from HTML, content extraction, LLM safety, cache keys, tool orchestration, knowledge base Q&A'
paths:
  /v1/web-screenshot:
    get:
      tags:
      - VPS Browser
      summary: Capture screenshot of a URL (basic)
      description: Fetches the HTML content of a target URL and returns it with a screenshot proxy response. Passes through to a screenshot-api service. Returns base64-encoded image preview on success.
      operationId: webScreenshot
      security:
      - ApiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          format: uri
        description: Target URL to screenshot
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: screenshot_captured
                  sizeBytes:
                    type: integer
                    description: Raw image byte size
                  imageBase64:
                    type: string
                    description: Truncated base64 preview of the screenshot image
                  alt:
                    type: string
                  note:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/pdf-from-html:
    get:
      tags:
      - VPS Browser
      summary: Convert HTML to PDF proxy
      description: Accepts inline HTML content or a URL to fetch HTML from, wraps it in a styled document, and returns the processed HTML suitable for PDF rendering. Provide 'html' parameter with raw markup or 'url' parameter to fetch from a URL.
      operationId: pdfFromHtml
      security:
      - ApiKeyAuth: []
      parameters:
      - name: html
        in: query
        schema:
          type: string
        description: Raw HTML content to convert
      - name: url
        in: query
        schema:
          type: string
          format: uri
        description: URL to fetch HTML from (alternative to inline html)
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: proxy
                  note:
                    type: string
                    description: PDF generation note
                  htmlLength:
                    type: integer
                    description: Length of processed HTML document
                  contentPreview:
                    type: string
                    description: First 500 characters of generated HTML
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/tool-orchestrator:
    get:
      tags:
      - VPS Browser
      summary: Sequential tool orchestration
      description: Executes a sequence of HTTP requests (up to 5 steps) as defined in a JSON plan array. Each step can specify method, URL, and headers. Returns results for each step including HTTP status, body length, and success indicator.
      operationId: toolOrchestrator
      security:
      - ApiKeyAuth: []
      parameters:
      - name: plan
        in: query
        required: true
        schema:
          type: string
        description: JSON array of step objects, each with url, method (optional, default GET), headers (optional), and name (optional)
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalSteps:
                    type: integer
                    description: Number of steps in the plan
                  executed:
                    type: integer
                    description: Number of steps executed
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        step:
                          type: integer
                        name:
                          type: string
                        url:
                          type: string
                        status:
                          type: integer
                        bodyLength:
                          type: integer
                        success:
                          type: boolean
                        error:
                          type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/safety:
    get:
      tags:
      - VPS Browser
      summary: Content safety classification
      description: Scans input text for toxic/hateful content, sexual content, violence/gore, and PII/personal data using keyword and regex pattern matching. Returns a safety assessment with per-category findings.
      operationId: llmSafetyCheck
      security:
      - ApiKeyAuth: []
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
        description: Text to analyze for safety concerns
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  safe:
                    type: boolean
                    description: True if no categories triggered
                  riskLevel:
                    type: string
                    enum:
                    - none
                    - low
                    - medium
                    description: Overall risk assessment
                  categories:
                    type: object
                    description: Per-category findings
                    properties:
                      toxic:
                        type: object
                        properties:
                          detected:
                            type: boolean
                          label:
                            type: string
                          matches:
                            type: array
                            items:
                              type: string
                      sexual:
                        type: object
                        properties:
                          detected:
                            type: boolean
                          label:
                            type: string
                          matches:
                            type: array
                            items:
                              type: string
                      violent:
                        type: object
                        properties:
                          detected:
                            type: boolean
                          label:
                            type: string
                          matches:
                            type: array
                            items:
                              type: string
                      personal:
                        type: object
                        properties:
                          detected:
                            type: boolean
                          label:
                            type: string
                          matches:
                            type: array
                            items:
                              type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/ai-cache-key:
    get:
      tags:
      - VPS Browser
      summary: Generate deterministic AI cache keys
      description: Generates a deterministic cache key from LLM request parameters (prompt, model, temperature). Used for caching AI responses. Returns a prefix:model:contentHash style key with component breakdown.
      operationId: aiCacheKey
      security:
      - ApiKeyAuth: []
      parameters:
      - name: prompt
        in: query
        required: true
        schema:
          type: string
        description: Prompt text to hash into the cache key
      - name: model
        in: query
        schema:
          type: string
          default: default
        description: Model identifier
      - name: temperature
        in: query
        schema:
          type: string
          default: '0.7'
        description: Temperature value as string
      - name: extra
        in: query
        schema:
          type: string
          default: ''
        description: Extra context to mix into the cache key
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  cacheKey:
                    type: string
                    description: Deterministic cache key string
                  strategy:
                    type: string
                    description: Key construction strategy
                  components:
                    type: object
                    properties:
                      model:
                        type: string
                      temperature:
                        type: string
                      promptLength:
                        type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/knowledge-base-qa:
    get:
      tags:
      - VPS Browser
      summary: Simple knowledge base Q&A
      description: Answers basic questions about the LaminarForge API using a built-in knowledge base. Matches question keywords to pre-defined answers about API keys, pricing, health, rate limits, and documentation.
      operationId: knowledgeBaseQa
      security:
      - ApiKeyAuth: []
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Question (alias)
      - name: question
        in: query
        required: true
        schema:
          type: string
        description: Question text to match against the knowledge base
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  question:
                    type: string
                    description: The original question
                  answer:
                    type: string
                    description: Matched answer from the knowledge base
                  matchedTier:
                    type: boolean
                    description: Whether a matching answer was found
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key authentication. Provide via X-API-Key header or Authorization: Bearer <key> header.'
    X402Payment:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: x402 pay-per-call payment. Send base64url(JSON) of the x402 payment payload in X-PAYMENT (or PAYMENT-SIGNATURE). No account or API key needed. Call the endpoint once without credentials and the 402 response tells you the exact price, network, asset and payTo address to pay.
x-refined-from:
- laminarforge-dev-openapi.json
- laminarforge-dev-openapi.json