Skip to main content
POST
Scrape Website Content

Request contract

  • Method and path: POST /apis/v1/api-ninjas/scrape-website
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/scrape-website
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

The website address to retrieve content from (must be a valid URL).

Examples:

"https://example.com"

"https://api-ninjas.com"

text_only
boolean

When enabled, extracts visible text while filtering out HTML markup and metadata. Defaults to false (returns full HTML content).

user_agent
string

Custom User-Agent header string for the request. Use when you need to specify a particular browser or device identity.

Examples:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"

"MyBot/1.0"

Response

Tool result data

data
string
required