{
  "openapi": "3.0.1",
  "info": {
    "title": "Agent Toolbox: images, speech, chat, markdown and more",
    "description": "Everyday tools for AI agents in one Actor: image generation, speech to text, chat models (gpt-oss-120b, Qwen3), web pages and PDFs to Markdown, summaries, embeddings, translation, email checks, exchange rates, DNS and WHOIS. Pay per call; failed calls are free.",
    "version": "1.0",
    "x-build-id": "QMGA9ZKqv6BoTvTnI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zaffy_93~agent-toolbox/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zaffy_93-agent-toolbox",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/zaffy_93~agent-toolbox/runs": {
      "post": {
        "operationId": "runs-sync-zaffy_93-agent-toolbox",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/zaffy_93~agent-toolbox/run-sync": {
      "post": {
        "operationId": "run-sync-zaffy_93-agent-toolbox",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "tool"
        ],
        "properties": {
          "tool": {
            "title": "Tool",
            "enum": [
              "generate_image",
              "url_to_markdown",
              "file_to_markdown",
              "transcribe_audio",
              "embed_text",
              "translate_text",
              "summarize",
              "verify_email",
              "fx_rates",
              "dns_lookup",
              "chat_gpt_oss_120b",
              "chat_qwen3_30b",
              "domain_whois",
              "company_search",
              "company_lei",
              "company_us",
              "extract_data",
              "screenshot",
              "watch_field"
            ],
            "type": "string",
            "description": "Which tool to run. Each run is one call, charged only if it succeeds.",
            "default": "url_to_markdown"
          },
          "input": {
            "title": "Tool input (JSON)",
            "type": "object",
            "description": "The tool's own input. <b>generate_image</b> ($0.015): Generate a 1024x1024 JPEG image from a text prompt with FLUX.1 schnell; every prompt passes a safety check first (sexual content and other unsafe requests are refused and not charged). Returns the image as base64. Input fields: prompt, steps. <b>url_to_markdown</b> ($0.003): Fetch a public web page or document (HTML, PDF, Word, Excel, CSV, XML; up to 10 MB) and return it as clean Markdown with its title and final URL. Add render=true for pages that build their content with JavaScript: they are opened in a real headless Chrome first. Input fields: url, render. <b>file_to_markdown</b> ($0.004): Convert an uploaded document (PDF, Word, Excel, CSV, HTML, XML, OpenDocument; up to 10 MB) to Markdown. Input fields: filename, file_base64. <b>transcribe_audio</b> ($0.015): Speech to text with Whisper large v3 turbo: transcribe audio (mp3, wav, m4a, ogg, webm; up to 20 MB, about 20 minutes) from a URL or base64, or translate the speech into English. Returns the text, language, duration and timed segments; optionally word-level timestamps and ready-to-use SRT or VTT subtitles (captions of at most 2 lines and 6 seconds). Input fields: audio_url, audio_base64, language, task, timestamps, subtitles. <b>embed_text</b> ($0.003): Text embeddings with BGE-M3 (multilingual, 1024 dimensions) for search, clustering and RAG: up to 100 texts of up to 8,000 characters per call. Input fields: texts. <b>translate_text</b> ($0.003): Translate text (up to 5,000 characters) between 100 languages with M2M100 1.2B. Input fields: text, target_lang, source_lang. <b>summarize</b> ($0.004): Summarize text (up to 60,000 characters) or a public web page or PDF by URL with Llama 3.1 8B, short, medium or long, optionally focused on a topic. Input fields: text, url, length, focus. <b>verify_email</b> ($0.003): Check an email address: format, whether the domain exists and accepts mail (MX records), disposable providers, role accounts and free providers, with a valid / risky / invalid verdict. The mailbox itself is not probed. Input fields: email. <b>fx_rates</b> ($0.003): Currency exchange rates and conversion for about 30 currencies (USD, EUR, GBP, INR, JPY, CNY ...) from the European Central Bank reference rates of the latest working day. Input fields: base, symbols, amount. <b>dns_lookup</b> ($0.003): DNS records of a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS (1.1.1.1), with DNSSEC validation status. Input fields: name, type. <b>chat_gpt_oss_120b</b> ($0.008): OpenAI-compatible chat completion with gpt-oss-120b (OpenAI's open-weight reasoning model): set the base URL to /v1/llm/gpt-oss-120b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming. Input fields: messages, max_tokens, temperature, response_format. <b>chat_qwen3_30b</b> ($0.003): OpenAI-compatible chat completion with Qwen3.8 27B (Qwen3 30B's successor; Cloudflare retired Qwen3 30B on 20 Nov 2026): set the base URL to /v1/llm/qwen3-30b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming. Input fields: messages, max_tokens, temperature, response_format. <b>domain_whois</b> ($0.003): Domain registration data from RDAP (the successor of WHOIS): registrar, creation, expiry and update dates, status codes, nameservers and DNSSEC. Input fields: domain. <b>company_search</b> ($0.008): Find companies worldwide by name in the official GLEIF register of legal entities: legal name, LEI, country, registered address, company-register number, legal form and status, best match first, plus matching US-listed companies with ticker and SEC CIK. Input fields: query, country, limit. <b>company_lei</b> ($0.008): Full official record of a legal entity by its LEI (Legal Entity Identifier) from GLEIF: legal and other names, registered and head-office addresses, company-register number, legal form, status, founding date, LEI status, and its direct and ultimate parent companies. Input fields: lei. <b>company_us</b> ($0.015): US public company profile from SEC EDGAR by ticker or CIK: industry, exchange, state of incorporation, fiscal year end, address and phone, shares outstanding, latest full-year financials (revenue, net income, assets, liabilities, equity, cash, diluted EPS) and links to the latest 10-K, 10-Q and 8-K filings. Input fields: ticker, cik. <b>extract_data</b> ($0.008): Extract structured JSON from a web page, PDF or text: name the fields you want (up to 25, with types) and get each value with the exact quote from the page that states it. Every quote is checked against the page itself (verified, quoted, unverified or not_found), so values are never invented. Charged only when at least one field is found. Input fields: url, render, text, fields. <b>screenshot</b> ($0.004): Screenshot of a public web page in a real headless Chrome after it has loaded (JavaScript included): a JPEG of the visible window or the full page, 320 to 1920 pixels wide, as base64. Input fields: url, full_page, width. <b>watch_field</b> ($0.15): Watch one field on a web page for 30 days, e.g. a price, stock status or version number: it is read again every 15 to 1440 minutes and an alert goes to your webhook, Slack, Discord or Telegram when it changes, goes below or above a number, contains a text, or disappears. Returns the current value now; check status or stop it for free with the watch secret. Input fields: url, field, description, when, value, type, every_minutes, callback_url, format, label."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}