# Web Search

Search Crustdata Web via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Crustdata, pass parameters such as page, query, sources, and retrieve structured data including search result title, returned result URL, available search result snippet, reported result position, and reported query completion status for reference collection, and page selection.

Documentation: https://openany.si/market/apis/crustdata/crustdata-web-search/?offering=58d35ee2-98a8-4e47-a718-1c54cecc725f
API ID: 58d35ee2-98a8-4e47-a718-1c54cecc725f
Provider: crustdata
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/crustdata/crustdata/web/search/live
Page update time: 2026-12-03T02:49:32.720Z
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.3 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:32.157Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "300000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Web Search 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": {
      "additionalProperties": false,
      "properties": {
        "page": {
          "const": 1,
          "type": "integer"
        },
        "query": {
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        },
        "sources": {
          "const": [
            "web"
          ],
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "query",
        "sources",
        "page"
      ],
      "type": "object",
      "description": "Search one page of public web results through Crustdata. Send query, use the web source and set page to one. The results provide titles, URLs and available snippets, and success indicates whether the query completed. Use the returned links to gather references or select public pages for a separate HTML fetch."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object",
      "properties": {
        "empty_pages": {
          "type": "array",
          "items": {}
        },
        "failed_pages": {
          "type": "array",
          "items": {}
        },
        "total_results": {
          "type": "integer"
        }
      }
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "integer"
          },
          "snippet": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/crustdata/crustdata/web/search/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "page": 1,
  "query": "Crustdata official documentation",
  "sources": [
    "web"
  ]
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "metadata": {
    "empty_pages": [],
    "failed_pages": [],
    "total_results": 9
  },
  "query": "Crustdata official documentation",
  "results": [
    {
      "position": 1,
      "snippet": "Crust Cloud is a suite of featured products, tools and APIs to help build Web3.0 experiences, especially in decentralized data storage and data retrieval,",
      "source": "web",
      "title": "Crust Cloud Documentation",
      "url": "https://www.google.com/goto?url=CAESVwHEIkXXyONng2d7_QqPSKJYRmEo8aAUTE2_BZ6j1T1nekEtD-spJ1im-zcPN919ncBT9DgQ55aluag8C9aMX1hmd5YeWQv7MgO9YDiW97dQOkE50DO9Aw&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 2,
      "snippet": "Crust provides a decentralized storage network of Web3 ecosystem. It supports multiple storage layer protocols such as IPFS, and exposes storage interfaces to ...Read more",
      "source": "web",
      "title": "Crust Overview - Crust Wiki",
      "url": "https://www.google.com/goto?url=CAESbAHEIkXXc9pjZhS0A9O3M4PIy2aWfV0keGwxaGy3xk6kdX4bqzW3NCYmmUTKfuI5w17Px42V8UWzfeLul48Z2aBzljJ49NmUt2xm1CpfFlEcqGw2MXbQgmRAuvvXGRscbAx9vwFT89Z1-YYIhg&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 3,
      "snippet": "Crust provides standard file upload and download services based on the combination of IPFS. Developers can build cloud storage functions, file distribution ...",
      "source": "web",
      "title": "File Storage - Crust Wiki",
      "url": "https://www.google.com/goto?url=CAEShQEBxCJF1-BqSr2RK-1Sgo_Vvrm4qdUF39SJTdLd5gwGus622YC9Ivy75yHvuPBOzUYHDD60jSaAQ7bLidTxtUZPdeY2e10AZx466H3ufl1_wpiyzemAwf2y4NPWg4Ri9pbMpSYNJz_r6Q_YiouLZCQFbXCtiyBhPfuu2aJQr3u8z0zLtzOG&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 4,
      "snippet": "Documentation crust 0.20.2 Peer-to-peer networking library. Automatically reconnect and manage connections. COPYING LICENSE Notes.md",
      "source": "web",
      "title": "crust 0.20.2",
      "url": "https://www.google.com/goto?url=CAESZgHEIkXXBp8ZID2afm93uFIz5KDctzzv6MRFl4KzkTVIAx0KDf69wsolyON3njtKMICKEXJw2aHKvkv2dCTdRdBo70gKvl8QMqjWii03ukiNtm97nONIYurlMdJnBFHJIvWcXAOQyw&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 5,
      "snippet": "Now that we have the API initialized, the next step would be to start using it to interact and extract data starting with chain constants. Edit this page.Read more",
      "source": "web",
      "title": "Create an instance | crust{.js}",
      "url": "https://docs.crust.network/api/start/create/"
    },
    {
      "position": 6,
      "snippet": "This doc contains a code sample to demonstrate how to upload a file to IPFS, and place a storage order to get the file stored in Crust Network.",
      "source": "web",
      "title": "Store file with Crust Storage API - Crust Wiki",
      "url": "https://www.google.com/goto?url=CAEScwHEIkXXRtMAmIZsCMiCAID0e0FPkbJImL0XIPw71oMEoU8IavE5eq5s5cIGdFD_zZBijFaBs6UzrgmR135cqkfFr9joEIOmgH8YwEHMzDpmRquwfOXQI_y0KTz8UMkHtEIK6aZdPsRg6UUmzaLRM5r0JRY&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 7,
      "snippet": "The Member node acts as the storage provider in Group. There can be multiple Member nodes in a Group, and their effective storage can be clustered on Owner",
      "source": "web",
      "title": "Member Node - Crust Wiki",
      "url": "https://www.google.com/goto?url=CAESaQHEIkXXVv25JZtPKKptN6ogZN0XRoXVUqOanOvn-A58BCleLlunPswE3l5xpmCR3j6fxClr8z12QRaFkZ9HBLIm4nwiQx54NNkGFlQz7fMgpB_mKAJy42jw9W4fvm4rmuC73y_wd6kdqA&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 8,
      "snippet": "This document provides guidelines on how to register as new merchants, how to configure order-taking strategies, and how to lock in collateral and receive ...Read more",
      "source": "web",
      "title": "Merchant Guidance - Crust Wiki",
      "url": "https://www.google.com/goto?url=CAESbwHEIkXXus8y8ZZffgDXGovvk6BrerQLX1MEeqoGcfH9Q_MdxjN0NmOI08RjruesgmyEtz2NM2aYecL1aX1Rtj_ww3cTLJScbCn6A_gWgnWNgojBPHlW3TtGzZ9YwFco1G8OFVnQqeLuEwM-tjg2kQ&gsessionid=al7t8j8oKCZjqFkxgfe4IavNxFlC0UuV4F5W8piFO0uM4lZWbImilw"
    },
    {
      "position": 9,
      "snippet": "Documentation. The Crust protocol stack requires a large number of documents to be accurately described. If you think Crust wiki has content that can be ...Read more",
      "source": "web",
      "title": "Contributing - Crust Wiki",
      "url": "https://wiki.crust.network/docs/en/contributing"
    }
  ],
  "success": true,
  "timestamp": 1794312968435
}
```

## 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.

## Available implementations
- crustdata: https://openany.si/market/apis/crustdata/crustdata-web-search/?offering=58d35ee2-98a8-4e47-a718-1c54cecc725f

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