# x402 Pay-as-you-go Pricing

## Pricing

<table><thead><tr><th width="40">#</th><th width="350.5625">x402 API Endpoint</th><th width="282.57421875">Origin Endpoint</th><th>Cost per Request (USD)</th></tr></thead><tbody><tr><td>1</td><td><code>https://openapi.misttrack.io/x402/address_labels</code></td><td><code>v1/address_labels</code></td><td>$0.1</td></tr><tr><td>2</td><td><code>https://openapi.misttrack.io/x402/address_overview</code></td><td><code>v1/address_overview</code></td><td>$0.5</td></tr><tr><td>3</td><td><code>https://openapi.misttrack.io/x402/risk_score</code></td><td><code>v2/risk_score</code></td><td>$1.0</td></tr><tr><td>4</td><td><code>https://openapi.misttrack.io/x402/risk_score_create_task</code></td><td><code>v2/risk_score_create_task</code></td><td>$1.0</td></tr><tr><td>5</td><td><code>https://openapi.misttrack.io/v2/risk_score_query_task</code></td><td><code>v2/risk_score_query_task</code></td><td>$0</td></tr><tr><td>6</td><td><code>https://openapi.misttrack.io/x402/transactions_investigation</code></td><td><code>v1/transactions_investigation</code></td><td>$1.0</td></tr><tr><td>7</td><td><code>https://openapi.misttrack.io/x402/address_action</code></td><td><code>v1/address_action</code></td><td>$0.5</td></tr><tr><td>8</td><td><code>https://openapi.misttrack.io/x402/address_trace</code></td><td><code>v1/address_trace</code></td><td>$0.5</td></tr><tr><td>9</td><td><code>https://openapi.misttrack.io/x402/address_counterparty</code></td><td><code>v1/address_counterparty</code></td><td>$0.5</td></tr></tbody></table>

## Integration Option 1: Code

Python SDK: <https://github.com/slowmist/misttrack-skills/blob/main/scripts/pay.py>

```python
from scripts.pay import request_with_x402

response = request_with_x402(
    url="https://openapi.misttrack.io/x402/address_labels?address=0x...&coin=ETH",
    private_key="your_private_key_hex",
    chain_id=8453, # Base Chain
    auto_pay=True,
)
print(response.json())
```

## Integration Option 2: Agent Skills

​​Getting Started:

<https://github.com/slowmist/misttrack-skills/blob/main/README.md#x402-payment-pay-per-use>

Example Usage:

<https://github.com/slowmist/misttrack-skills/blob/main/skills/payment.md>

## Integration Option 3: Coinbase Agentic Wallet

Open-source repository: <https://github.com/coinbase/agentic-wallet-skills>

Quickstart guide: <https://docs.cdp.coinbase.com/agentic-wallet/quickstart>

### Step-by-Step Guide

> Environment: macOS 15.6

1. Install Coinbase Agentic Wallet Skills

```bash
npx skills add coinbase/agentic-wallet-skills
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FRD1n3MSbUAI5sh2mk7yZ%2Fagentwallet1.png?alt=media&#x26;token=13e4429c-1e98-496f-bcef-400f622931bf" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FFlr2Y3YqGYJ69VKo7Iqd%2Fagentwallet2.png?alt=media&#x26;token=4e1a8350-9127-42b6-9c12-eaa0f7ed9d63" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FEjyJMVmL9H4JWI2TyYb3%2Fa3.png?alt=media&#x26;token=ba215826-df3f-4c88-9854-4a4095ce46c2" alt=""><figcaption></figcaption></figure></div>

2. Check Wallet Status

```bash
npx awal@latest status
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FPAcsxVFxS5geWxlzWTf3%2Fa44.png?alt=media&#x26;token=7aba7ee0-9201-47ae-b7a6-7c0ba2fee266" alt=""><figcaption></figcaption></figure></div>

Once the wallet is ready, proceed to authentication: <https://docs.cdp.coinbase.com/agentic-wallet/skills/authenticate>

3. Authenticate Your Wallet

```bash
npx awal@latest auth login <email>
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FoctkECZzHvMvsSEW4U8B%2Fa5.png?alt=media&#x26;token=0cc993e9-c477-45b7-b225-37467a270da4" alt=""><figcaption></figcaption></figure></div>

4. Check Wallet Address and Balance

```bash
npx awal@latest balance
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FUR7AEx3VJyTFmGi3d7RB%2Fa6.png?alt=media&#x26;token=2f46afc0-03ad-437f-b4c1-abf028dbd748" alt=""><figcaption></figcaption></figure></div>

```bash
npx awal@latest address
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2F09HqeCbWR9yxtHGGnGK5%2Fa61.png?alt=media&#x26;token=ad3dd6ba-1288-42d0-a96e-feeb7f200415" alt=""><figcaption></figcaption></figure></div>

5. Fund Your Wallet

Transfer USDC to the wallet address above using one of the following methods:

* From your personal crypto wallet
* By withdrawing from a centralized exchange

6. Call the MistTrack x402 API and Pay

For more details: <https://docs.cdp.coinbase.com/agentic-wallet/skills/pay-for-service>

```bash
npx awal@latest x402 pay "https://openapi.misttrack.io/x402/address_labels?address=0x3644598cd36c8e3361aee30f6a28521175b33b10&coin=ETH" --max-amount 1000000
```

<div align="left"><figure><img src="https://2289122987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQJl2Dct9zEgH2fSUNas%2Fuploads%2FWLAkQ1U4Azrxrik6LYds%2Fa7.png?alt=media&#x26;token=4c7a7dcf-9a1d-47af-bca6-79ed692f6355" alt=""><figcaption></figcaption></figure></div>

You're all set!
