# Serper Webpage

Get Serper Webpage data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Serper, pass parameters such as includeMarkdown, url, and retrieve structured data including text, returned credits field, returned links field, returned markdown field, and title to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/web/web-serper-webpage/c920aaab-16f0-491f-9577-3b5074b3d754/
API ID: c920aaab-16f0-491f-9577-3b5074b3d754
Provider: serper
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/serper/
Page update time: 2026-12-03T02:53:13.626Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / billing credit
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:13.337Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "usage",
  "priceMicroUsd": "1000",
  "rounding": "ceil",
  "unit": "credit",
  "unitQuantity": "1"
}
```

## Usage and limits
## Serper Webpage API

Extract text from a public web page, optionally including Markdown. Provide url in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `text` | Text |
| `credits` | Returned credits field |
| `links[]` | Returned links field |
| `markdown` | Returned markdown field |
| `metadata.title` | Title |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Serper Webpage request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin."
        },
        "includeMarkdown": {
          "type": "boolean",
          "description": "Whether the Webpage extractor should include Markdown."
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits": {
      "type": "integer"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "markdown": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        }
      }
    },
    "text": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Third-party reference · Basic request (abridged; HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/serper/' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "includeMarkdown": true,
  "url": "https://example.com"
}'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Configured HTTP 200; actual status is unverified.
```json
{
  "credits": 2,
  "links": [
    "https://iana.org/domains/example"
  ],
  "markdown": "## Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
  "metadata": {
    "title": "Example Domain"
  },
  "text": "Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\nLearn more"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide url in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### What type does includeMarkdown use?
includeMarkdown uses the JSON type boolean in body. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- serper: https://openany.si/web/web-serper-webpage/c920aaab-16f0-491f-9577-3b5074b3d754/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
