MeterCall DOCS Get an API key

SDKs

Official libraries wrap the REST API, handle 402 retries, sign receipts, and bundle the x402 agent-pay flow. All SDKs are MIT-licensed on GitHub at github.com/metercall.

Not built yet?The raw REST API works from anything that speaks HTTP — the SDKs are a convenience, not a dependency. If your language isn't here, use curl (see Quickstart) until we ship.

JavaScript / TypeScript #

Status: Coming soon (planned: May 2026). Typed, zero-dependency, ESM + CJS, runs in Node, Bun, Deno, and browsers.

Install

npm install @metercall/sdk
# or
pnpm add @metercall/sdk
yarn add @metercall/sdk
bun add @metercall/sdk

cURL equivalent today

curl -X POST https://metercall.ai/v1/module/openai/call \
  -H "Authorization: Bearer mc_live_..." \
  -H "Content-Type: application/json" \
  -d '{"action":"chat","model":"gpt-4.1","messages":[{"role":"user","content":"hi"}]}'

Python #

Status: Coming soon (planned: May 2026). Type-annotated (PEP 604), asyncio + sync clients, pydantic models.

Install

pip install metercall
# or
uv add metercall
poetry add metercall

cURL equivalent

curl -X POST https://metercall.ai/v1/module/notion/call \
  -H "Authorization: Bearer mc_live_..." \
  -H "Content-Type: application/json" \
  -d '{"action":"create_page","database":"db_123","title":"Hello"}'

Go #

Status: Coming soon (planned: June 2026). Context-aware, zero-dependency go.mod, supports Go 1.22+.

Install

go get github.com/metercall/metercall-go

cURL equivalent

curl -X POST https://metercall.ai/v1/module/twilio/call \
  -H "Authorization: Bearer mc_live_..." \
  -H "Content-Type: application/json" \
  -d '{"action":"send_sms","to":"+14155551234","body":"Hi"}'

Ruby #

Status: Coming soon (planned: June 2026). Ruby 3.2+, Faraday under the hood.

Install

gem install metercall
# or in Gemfile
gem 'metercall'

cURL equivalent

curl -X POST https://metercall.ai/v1/module/shopify/call \
  -H "Authorization: Bearer mc_live_..." \
  -d '{"action":"list_orders","limit":25}'

PHP #

Status: Coming soon (planned: July 2026). PHP 8.2+, Guzzle.

Install

composer require metercall/metercall

cURL equivalent

curl -X POST https://metercall.ai/v1/module/mailgun/call \
  -H "Authorization: Bearer mc_live_..." \
  -d '{"action":"send","to":"user@acme.co","subject":"hi","body":"hi"}'

Rust #

Status: Coming soon (planned: July 2026). Tokio, reqwest, serde, with optional #[no_std] for edge runtimes.

Install

cargo add metercall

cURL equivalent

curl -X POST https://metercall.ai/v1/module/pagerduty/call \
  -H "Authorization: Bearer mc_live_..." \
  -d '{"action":"trigger","service":"svc_01","summary":"Prod down"}'
Feature requestsWant a language we haven't listed (Elixir, Swift, Kotlin, Zig)? Open an issue at github.com/metercall/sdks. Active demand bumps it up the queue.