NativePort Scraper API
The scraperApi API from NativePort — 1 operation(s) for scraperapi.
The scraperApi API from NativePort — 1 operation(s) for scraperapi.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/nativeport-ai:nativeport-ai-scraperapi-api"
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.
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: 3.2.0
info:
title: Reference Scraper API
version: 1.0.0
servers:
- url: https://api.nativeport.ai
description: NativePort production
- url: http://localhost:8787
description: Local development (wrangler dev)
tags:
- name: scraperApi
paths:
/scraperapi:
get:
operationId: scraperApi_scrape
summary: Scrape a target URL
description: 'Relays to the ScraperAPI sync endpoint `https://api.scraperapi.com/`, slotting the secret
`api_key` in as the leading query parameter. The target URL plus whatever ScraperAPI controls
you need live in the query string, while a client-sent `api_key` (query param) or
`x-sapi-api_key` (header) gets dropped.'
tags:
- scraperApi
parameters:
- name: url
in: query
description: URL of the page to scrape.
required: true
schema:
type: string
format: uri
- name: render
in: query
description: Have JavaScript rendered before the page comes back (ScraperAPI control).
required: false
schema:
type: boolean
- name: country_code
in: query
description: Send the request out through a proxy in the given country (ScraperAPI control).
required: false
schema:
type: string
responses:
'200':
description: 'ScraperAPI''s answer, relayed as-is. Typically the scraped page as HTML, or JSON when a
structured/auto-parse mode was requested. Bodies may be big — ScraperAPI''s ceiling is ~50MB.
'
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
'401':
description: 'The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ "error": "Unauthorized." }`.
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 'No route matched the path, or the matched route disallows that method (an unlisted
`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the
gateway sends it. A path on one of the four model-inference routes also `404`s this way when
the specific endpoint or model isn''t on that provider''s allowlist; an unsupported model
addressed through `/inference` gets that endpoint''s own `400` instead (see the Inference tag).
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearerAuth: []
post:
operationId: scraperApi_post
summary: Form submission passthrough (POST)
description: 'The sync endpoint also takes `POST`/`PUT`, for form submission against the target site. Your
body goes through untouched; controls stay in the query string.'
tags:
- scraperApi
parameters:
- name: url
in: query
description: The URL being targeted.
required: true
schema:
type: string
format: uri
responses:
'200':
description: 'ScraperAPI''s answer, relayed as-is. Typically the scraped page as HTML, or JSON when a
structured/auto-parse mode was requested. Bodies may be big — ScraperAPI''s ceiling is ~50MB.
'
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
'401':
description: 'The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ "error": "Unauthorized." }`.
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 'No route matched the path, or the matched route disallows that method (an unlisted
`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the
gateway sends it. A path on one of the four model-inference routes also `404`s this way when
the specific endpoint or model isn''t on that provider''s allowlist; an unsupported model
addressed through `/inference` gets that endpoint''s own `400` instead (see the Inference tag).
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
security:
- bearerAuth: []
put:
operationId: scraperApi_put
summary: Form submission passthrough (PUT)
description: 'Same as `POST`, for targets that want `PUT`. The body crosses unmodified; controls ride in
the query string.'
tags:
- scraperApi
parameters:
- name: url
in: query
description: The URL being targeted.
required: true
schema:
type: string
format: uri
responses:
'200':
description: 'ScraperAPI''s answer, relayed as-is. Typically the scraped page as HTML, or JSON when a
structured/auto-parse mode was requested. Bodies may be big — ScraperAPI''s ceiling is ~50MB.
'
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
'401':
description: 'The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ "error": "Unauthorized." }`.
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: 'No route matched the path, or the matched route disallows that method (an unlisted
`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the
gateway sends it. A path on one of the four model-inference routes also `404`s this way when
the specific endpoint or model isn''t on that provider''s allowlist; an unsupported model
addressed through `/inference` gets that endpoint''s own `400` instead (see the Inference tag).
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
security:
- bearerAuth: []
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: Explanatory message meant for humans.
required:
- error
title: Error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Your per-client bearer token — the API key the gateway issued to you. Present it in
`Authorization: Bearer <token>` form. A token that is missing, unknown, or revoked draws a
`401`. Before the call is sent upstream the token is removed (stripped, or swapped for the
upstream''s own credential); it never makes it past the gateway.
'