// feature

PRICING LOOKUP BY COUNTRY

Messaging costs vary by destination — a text to the US costs differently than one to Germany or Brazil. Fastsend gives you the exact per-message price before every send so your AI agent never commits to an unexpected charge.

// how get_pricing works

  1. Call get_pricing with a channel and an optional two-letter country code
  2. Fastsend returns the exact per-message cost for that channel and destination
  3. Your AI can present this to the user for confirmation before sending
  4. Payment is settled automatically through x402 when the message is sent

// example

User: How much will it cost to send an SMS to France?

AI: Let me check the current price.

[Uses get_pricing(channel: "sms", country: "FR")]

AI: Sending an SMS to France costs $0.085 per message.
Shall I proceed?

// pricing principles

  • Price is known before commitment — no hidden fees at delivery
  • SMS pricing varies by destination country
  • Email pricing is flat per message
  • No minimum charge, no rounding up to bundles

// tip

For high-volume or international workflows, call get_pricing at the start of each session to cache the current rate and avoid repeated lookups.