---
title: "Paid API Pre-flight Check (x402)"
method: GET
path: "/x402/v2/paid-api-preflight"
tags: ["x402"]
---

# Paid API Pre-flight Check (x402)

`GET /x402/v2/paid-api-preflight`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/paid-api-preflight`
- Auth: none required

Verify any paid API endpoint before your agent spends money. Checks reachability, SSL, response time, and validates the payment protocol handshake (L402, x402, MPP). Returns a proceed/caution/avoid recommendation with parsed payment details. Use this before calling any paid external API to avoid wasting funds on broken, misconfigured, or fraudulent endpoints.

## Query parameters

- `url` string, required: The paid API endpoint URL to check before paying

## Response `200`

Success

- object
  - `url` string
  - `issues` string[]
  - `server` string
  - `ssl_valid` boolean
  - `status_code` integer
  - `is_reachable` boolean
  - `recommendation` string
  - `payment_details` object
  - `payment_protocol` string
  - `response_time_ms` integer
  - `facilitator_reachable` boolean
  - `payment_handshake_valid` boolean

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
