🧪 Skills

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

v1.0.0
❤️ 0
⬇️ 121
👁 1
Share

Description


name: obul-proxy description: "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 x402 payment negotiation automatically." homepage: https://obul.ai metadata: obul-skill: emoji: "🔗" requires: env: [ "OBUL_API_KEY" ] primaryEnv: "OBUL_API_KEY" registries: {}

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

Endpoint Price Purpose
GET /healthz $0.00 Health check
/* Varies Proxy 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

Error Cause Solution
401 Unauthorized Missing or invalid API key Verify OBUL_API_KEY is set and valid.
402 Payment Required Upstream requires payment Ensure your Obul account has sufficient balance.
403 Forbidden API key lacks permissions Check your key has the required scopes.
404 Not Found Invalid upstream URL Verify the upstream endpoint URL is correct.
429 Too Many Requests Rate limit exceeded Add a short delay between requests.
500 Internal Server Error Obul proxy issue Retry the request. If persistent, check status at https://proxy.obul.ai/healthz.
503 Service Unavailable Proxy temporarily down Wait a few seconds and retry.

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs