🚀 100% X402 Compliant | Live on Base Network

Google Places API with X402 Gasless Payments

Access real Google Places data with automatic micropayments. The X402 protocol handles everything - no gas fees, no API keys, just seamless location data via CDP facilitator.

Just $0.01 per search
Instant activation
Gasless payments
1000+ API calls today
<1s response time
$0.01 per search
Global coverage

Live API Demo

Real-time
Location: 37.7749,-122.4194 (San Francisco)
Blue Bottle Coffee
66 Mint St, San Francisco
4.3
Philz Coffee
3101 24th St, San Francisco
4.2
Ritual Coffee Roasters
1026 Valencia St, San Francisco
4.4
Payment Processed ✓
$0.01 USDC
Production Endpoint:
POST
https://places-api.x402hub.xyz/api/places/text-search
💡 Use our Claude Code MCP server for seamless integration

The API Pricing Problem

Traditional API pricing models are broken. We built X402 to fix them.

Traditional API Issues

High minimum commitments

$200+/month minimums

Complex billing

Multiple tiers, overages, hidden fees

Unused quotas

Pay for searches you don't use

API key management

Security risks, rotation complexity

Payment friction

Credit cards, invoicing, approvals

Our Solution

X402 Protocol

$0.01 USDC per search via Base network

Zero gas fees

CDP facilitator covers all transaction costs

EIP-712 signatures

Secure wallet-based authentication

Production ready

Live at places-api.x402hub.xyz

Claude Code MCP

Native integration for AI assistants

How It Works

Get location data in 3 simple steps

X402 Places API makes micropayments seamless. Just make a request and we handle the rest.

01

Make API Request

Send a standard HTTP POST request to our text-search endpoint

Step 01
// Using x402-fetch wrapper
const response = await fetchWithPayment(
  'https://places-api.x402hub.xyz/api/places/text-search',
  {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      query: 'coffee shops',
      location: '37.7749,-122.4194',
      radius: 2000
    })
  }
);
02

X402 Payment Flow

CDP facilitator processes EIP-712 signature for gasless payment on Base network

Step 02
// Automatic payment flow:
// 1. Server returns 402 Payment Required
// 2. Client creates EIP-712 signature
// 3. CDP facilitator verifies and executes
// 4. Request retried with X-Payment header
// All gas fees paid by facilitator ✨
03

Receive Data

Get Google Places data with payment metadata included in response

Step 03
{
  "results": [{
    "place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "name": "Blue Bottle Coffee",
    "formatted_address": "66 Mint St, San Francisco",
    "rating": 4.3,
    "geometry": { "location": { "lat": 37.7749, "lng": -122.4194 }}
  }],
  "metadata": {
    "cost": "$0.01",
    "protocol": "x402 v1.0",
    "payment_method": "gasless_micropayment"
  }
}

Why Choose X402 Places API?

Built for developers who want simple, transparent, and cost-effective location data access.

X402 Protocol

$0.01 USDC per search

Transparent micropayments via Base network

Gasless transactions

CDP facilitator covers all gas fees

EIP-712 signatures

Secure payment authorization standard

No API keys needed

Wallet-based authentication only

Developer Experience

Claude Code MCP

Native integration with Claude Code

x402-fetch/axios

Drop-in wrappers for automatic payments

Standard REST API

Simple POST endpoint with JSON

Complete documentation

Full API reference and examples

Production Ready

Live on Base mainnet

Production deployment at places-api.x402hub.xyz

Vercel serverless

Scalable edge deployment

Google Places API

Real authenticated Google data

Service discovery

X402 /.well-known/x402 endpoint

Network & Security

Base network

Mainnet and Sepolia testnet support

USDC payments

EIP-3009 transferWithAuthorization

Facilitator verified

CDP facilitator validation

Anti-replay protection

Secure signature validation

Claude Code Ready

MCP server available

Places-x402-Mcp on GitHub

Natural language

Query places with simple text

Automatic payments

MCP handles X402 flow

Session persistence

Maintains payment state

Monitoring & Health

/health endpoint

API health and status checks

/api/info

Service metadata and capabilities

Payment metadata

Cost and protocol info in responses

Error handling

Clear 402 payment flow responses

True Pay-Per-Use Pricing

$0.01 USDC per search. Zero gas fees. Zero setup costs. Zero monthly minimums. Pay only for what you use.

Most Popular

X402 Places API

Pay-per-use model

$0.01USDC per search
Gas fees: $0.00 (CDP facilitator covers)
Network: Base (mainnet & testnet)
Protocol: X402 v1.0 (EIP-712 signatures)
Production ready (places-api.x402hub.xyz)
Claude Code MCP server available
Real Google Places data
No API keys required

Cost Calculator

Monthly cost:$10.00
Per search:$0.01

Example usage:

• 100 searches/month = $1.00 USDC
• 1,000 searches/month = $10.00 USDC
• 10,000 searches/month = $100.00 USDC
• 100,000 searches/month = $1,000.00 USDC

What you get:

✓ Actual Google Places API data
✓ Zero gas fees (CDP facilitator covers)
✓ Instant payments via X402 protocol
✓ Pay only for successful requests

Payment & Integration

Token:
USDC on Base
Protocol:
X402 v1.0 (EIP-712)
Facilitator:
CDP (Coinbase)
Integration:
x402-fetch, x402-axios, MCP