← 返回
开发者工具 Key 中文

Obul Proxy (x402)

USE THIS SKILL WHEN: the user wants to proxy a request through Obul, call an x402 API directly, or needs to understand the Obul proxy URL pattern. Handles x4...
当用户需要通过Obul代理请求、直接调用x402 API或了解Obul代理URL格式时使用此技能。处理x4...
notbdu
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 542
下载
💾 7
安装
1
版本
#latest

概述

Obul Proxy

Proxy any upstream request through Obul; Obul handles x402 discovery and payment flow automatically.

Authentication

All requests route through the Obul proxy. Include your Obul API key in every request:

{
  "headers": {
    "Content-Type": "application/json",
    "x-obul-api-key": "{{OBUL_API_KEY}}"
  }
}

Base URL: https://proxy.obul.ai/proxy/{scheme}/{host}

Common Operations

Health Check

Verify the Obul proxy is operational.

Pricing: $0.00

{
  "method": "GET",
  "url": "https://proxy.obul.ai/healthz",
  "headers": {
    "Content-Type": "application/json",
    "x-obul-api-key": "{{OBUL_API_KEY}}"
  }
}

Response: Returns {"status":"ok"} when the proxy is healthy.

Proxy a Request

Forward any HTTP request through the Obul proxy. The proxy handles x402 payment negotiation automatically.

Pricing: Varies based on upstream endpoint

{
  "method": "POST",
  "url": "https://proxy.obul.ai/proxy/https/x402.browserbase.com/browser/session/create",
  "headers": {
    "Content-Type": "application/json",
    "x-obul-api-key": "{{OBUL_API_KEY}}"
  },
  "body": {}
}

Response: The proxied response from the upstream x402 endpoint.

Endpoint Pricing Reference

EndpointPricePurpose
-------------------------------------------------------------------------
GET /healthz$0.00Health check
/*VariesProxy any upstream x402 request

When to Use

  • Calling x402 endpoints — Route any x402-enabled API call through Obul without handling payments manually.
  • Unified API access — Use a single Obul API key to access multiple x402-enabled services.
  • Automatic payment handling — Let Obul negotiate and process payments for per-request micropayments.

Best Practices

  • Never reveal your API key — Keep OBUL_API_KEY secure and never expose it in logs or client-side code.
  • Use environment variables — Store your API key in OBUL_API_KEY env var and reference {{OBUL_API_KEY}} in requests.
  • Check health before use — Verify the proxy is operational with /healthz if you encounter issues.

Error Handling

ErrorCauseSolution
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
401 UnauthorizedMissing or invalid API keyVerify OBUL_API_KEY is set and valid.
402 Payment RequiredUpstream requires paymentEnsure your Obul account has sufficient balance.
403 ForbiddenAPI key lacks permissionsCheck your key has the required scopes.
404 Not FoundInvalid upstream URLVerify the upstream endpoint URL is correct.
429 Too Many RequestsRate limit exceededAdd a short delay between requests.
500 Internal Server ErrorObul proxy issueRetry the request. If persistent, check status at https://proxy.obul.ai/healthz.
503 Service UnavailableProxy temporarily downWait a few seconds and retry.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 11:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 426 📥 118,063
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,906
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,749