{
  "info": {
    "name": "WebScraping.AI — mcp.ai",
    "description": "REST API for the WebScraping.AI MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/webscraping_ai",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "webscraping_ai_account_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/account/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "account",
            "info"
          ]
        },
        "description": "Tool to retrieve account API call quota and usage. Use when checking remaining requests and subscription details.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_ask_question",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ask/question",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ask",
            "question"
          ]
        },
        "description": "Tool to get an answer to a question about a given web page using LLM. Use when you need AI-powered analysis or extraction from a web page. Proxies and Chromium JavaScript rendering are used for page r",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"js\": false,\n  \"url\": \"\",\n  \"proxy\": \"\",\n  \"device\": \"\",\n  \"format\": \"\",\n  \"country\": \"\",\n  \"headers\": {},\n  \"timeout\": 0,\n  \"question\": \"\",\n  \"wait_for\": \"\",\n  \"js_script\": \"\",\n  \"js_timeout\": 0,\n  \"custom_proxy\": \"\",\n  \"error_on_404\": false,\n  \"error_on_redirect\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_extract_fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/extract/fields",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "extract",
            "fields"
          ]
        },
        "description": "Tool to extract structured data fields from a web page using AI. Returns extracted fields as JSON. Uses proxies and Chromium JavaScript rendering for page retrieval and processing.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"fields\": {},\n  \"unknown\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_get_rendered_html",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/rendered/html",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "rendered",
            "html"
          ]
        },
        "description": "Tool to retrieve fully rendered HTML of a webpage. Use when JS-generated content must be included.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"js\": \"\",\n  \"url\": \"\",\n  \"wait\": 0,\n  \"device\": \"\",\n  \"locale\": \"\",\n  \"cookies\": \"\",\n  \"headers\": {},\n  \"referer\": \"\",\n  \"timeout\": 0,\n  \"proxy_type\": \"\",\n  \"user_agent\": \"\",\n  \"disable_images\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_get_selected_html",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/selected/html",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "selected",
            "html"
          ]
        },
        "description": "Tool to extract HTML from specific page elements using CSS selectors. Use when you need HTML from a particular section rather than the entire page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"js\": false,\n  \"url\": \"\",\n  \"proxy\": \"\",\n  \"device\": \"\",\n  \"country\": \"\",\n  \"headers\": {},\n  \"timeout\": 0,\n  \"selector\": \"\",\n  \"wait_for\": \"\",\n  \"js_script\": \"\",\n  \"js_timeout\": 0,\n  \"custom_proxy\": \"\",\n  \"error_on_404\": false,\n  \"error_on_redirect\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_get_selected_multiple",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/selected/multiple",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "selected",
            "multiple"
          ]
        },
        "description": "Tool to extract HTML of multiple page areas by URL and CSS selectors. Use when you need to extract multiple elements without HTML parsing on your side.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"js\": false,\n  \"url\": \"\",\n  \"proxy\": \"\",\n  \"country\": \"\",\n  \"timeout\": 0,\n  \"selectors\": \"\",\n  \"js_timeout\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webscraping_ai_get_text",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/text",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "text"
          ]
        },
        "description": "Tool to retrieve raw text content from a specified web page. Returns unstructured plain text — markdown formatting (code fences, lists, headings) is not preserved. Use when you need plain text extract",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"proxy\": \"\",\n  \"locale\": \"\",\n  \"session\": \"\",\n  \"timeout\": 0,\n  \"render_js\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}