Skip to main content
Glama

bittensor_scrape

Extract web content from URLs using Bittensor's decentralized scraping network. Pay per use via blockchain for automated data collection.

Instructions

Web scraping and URL content extraction via Bittensor subnet 21. Cost: $0.01 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesURL to scrape, e.g. 'https://example.com'

Implementation Reference

  • The handler for the 'bittensor_scrape' tool in the CallToolRequest handler switch statement. It calls the 'callGateway' function with the 'bittensor-scrape' route.
    case "bittensor_scrape":
      result = await callGateway({ route: "bittensor-scrape", prompt: a.prompt });
      break;
  • The tool definition for 'bittensor_scrape' within the TOOLS array, including name, description, and input schema.
      name: "bittensor_scrape",
      description:
        "Web scraping and URL content extraction via Bittensor subnet 21. Cost: $0.01 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: {
            type: "string",
            description: "URL to scrape, e.g. 'https://example.com'",
          },
        },
        required: ["prompt"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wizerai1111/swarmrails-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server