Abstract API · Capability

Abstract API - Web Scraping API — Web Scraping

Abstract API - Web Scraping API — Web Scraping. 1 operations. Lead operation: Abstract API Scrape Web Page. Self-contained Naftiko capability covering one Abstract Api business surface.

Run with Naftiko Abstract ApiWeb Scraping

What You Can Do

GET
Scrapewebpage — Abstract API Scrape Web Page
/v1

MCP Tools

abstract-api-scrape-web-page

Abstract API Scrape Web Page

read-only idempotent

Capability Spec

web-scraping-web-scraping.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Abstract API - Web Scraping API — Web Scraping
  description: 'Abstract API - Web Scraping API — Web Scraping. 1 operations. Lead operation: Abstract API Scrape Web Page.
    Self-contained Naftiko capability covering one Abstract Api business surface.'
  tags:
  - Abstract Api
  - Web Scraping
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ABSTRACT_API_API_KEY: ABSTRACT_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: web-scraping-web-scraping
    baseUri: https://scrape.abstractapi.com/v1
    description: Abstract API - Web Scraping API — Web Scraping business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: scrapewebpage
        method: GET
        description: Abstract API Scrape Web Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api_key
          in: query
          type: string
          description: Your unique API key for the Web Scraping API.
          required: true
        - name: url
          in: query
          type: string
          description: The URL of the webpage to scrape.
          required: true
        - name: render_js
          in: query
          type: boolean
          description: Whether to render JavaScript before returning HTML. Defaults to false.
    authentication:
      type: apikey
      key: api_key
      value: '{{env.ABSTRACT_API_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: web-scraping-web-scraping-rest
    port: 8080
    description: REST adapter for Abstract API - Web Scraping API — Web Scraping. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: scrapewebpage
        description: Abstract API Scrape Web Page
        call: web-scraping-web-scraping.scrapewebpage
        with:
          api_key: rest.api_key
          url: rest.url
          render_js: rest.render_js
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: web-scraping-web-scraping-mcp
    port: 9090
    transport: http
    description: MCP adapter for Abstract API - Web Scraping API — Web Scraping. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: abstract-api-scrape-web-page
      description: Abstract API Scrape Web Page
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: web-scraping-web-scraping.scrapewebpage
      with:
        api_key: tools.api_key
        url: tools.url
        render_js: tools.render_js
      outputParameters:
      - type: object
        mapping: $.