Web Scraping API

SharpAPI

1000 atoms
Base tier
About
The Web Scraping API is designed to extract structured data from any publicly accessible URL, providing insights into page content, metadata, and structure in a machine-readable JSON format. This API is ideal for applications requiring automated data extraction for SEO, competitive analysis, content aggregation, or market research.
With a simple API call, you can retrieve key information such as:
- Page title and metadata (description, keywords, author, Open Graph & Twitter card details)
- Headers and meta tags (content type, viewport, canonical URL, charset)
- Structured content extraction (headings, paragraphs, key text elements)
- Internal and external links for site structure analysis
- Language detection for localization and content categorization
- Timestamped results for accurate tracking and logging
API Playground
API Documentation
web-scraping
GET
https://api.apyhub.com/sharpapi/api/v1/utilities/scrape_url/
Request example
Method:
GET
Content Type:
application/json
Query Parameter(s)
Attribute | Type | Mandatory | Description |
---|---|---|---|
url | String | Yes | The URL to scrape |
Sample Response
HTTP Response Codes
The method may return one of the following HTTP status codes:
Status Code | Description |
---|---|
200 | The request was successful |
401 | Required authentication information is either missing or not valid for the resource. |
400 | Invalid input - if the file is invalid or corrupted |
500 | If any unexpected error occurs while submitting the request. |
Authentication
All API requests to ApyHub services need to be authenticated. Currently we support
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".Points to note:
- Credential secrets are generated on the fly and are not stored in plain text, so on generating a credential please save the secrets somewhere safe.
- Use the
apy-token
as the header parameter to pass the token. - Use the
Authorization
header to send the basic authentication credentials.
Error codes
To search for a specific error code, enter the code in the search box below. Alternatively, you can click on the button to view a complete list of all error codes.
Table of contents