跳到正文
TakoAPI
返回技能列表

tpn-proxy

由 actuallymentor 提供

Web & Frontend Development
618下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Make web requests through decentralized SOCKS5 proxies via the Tao Private Network (TPN)

描述

该技能的功能

Routes HTTP and HTTPS traffic through decentralized SOCKS5 proxies on the Tao Private Network, a Bittensor subnet (SN65) with exit nodes in 80+ countries. Supports datacenter and residential IP types. Authentication works via API key or x402 micropayments without an account.

x402 micropayment support lets autonomous agents generate proxies without an API key or account, paying per request in USDC on Base.

何时使用

  • Checking what content a website serves to visitors in a specific country
  • Verifying geo-restricted pricing or availability from a residential IP
  • Testing regional CDN behavior and DNS routing
  • Fetching public data that rate-limits by IP address
  • Making anonymous web requests without a standing VPN subscription

示例工作流

输入

User asks: Fetch my IP address through a German exit node

智能体
  1. 1

    Validates country code as 'DE' and sets duration to 60 minutes (default)

  2. 2

    Calls POST /api/v1/proxy/generate with geo='DE', format='text', minutes=60

  3. 3

    Parses the returned socks5:// URI to extract host, port, username, and password

  4. 4

    Fetches https://ipv4.icanhazip.com through the proxy using socks5://

  5. 5

    Returns the German exit IP, full socks5h:// credential block, expiry time, and a ready-to-paste curl example

输出

German exit IP address, structured SOCKS5 credential block with host/port/username/password/expiry, full socks5h:// URI, and curl example

前置要求

  • TPN_API_KEY environment variable
  • TPN account at api.taoprivatenetwork.com to obtain an API key (or USDC on Base for x402 access)

安装

clawhub install actuallymentor/tpn-proxy

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接