Api Endpoint

API Direct

Get detailed information about a YouTube video by URL or video ID.

Open interactive test console

Offering

Provider
x402.apidirect.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.apidirect.io/v1/youtube/video
MIME type
application/json
First seen
2026-10-25T22:37:01.717Z
Last seen
Tags
YouTube

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.006 USDC
Atomic price: 6000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.006 USDC
Atomic price: 6000 · Network: eip155:8453 · Asset: USDC · Scheme: upto
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "6000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  },
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "6000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  }
]

Observed health

Status
Healthy
Latest latency
66 ms
Average latency
65 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 500,
          "description": "YouTube video URL (watch?v=, youtu.be/, /shorts/, /embed/, /live/ or /v/ forms) or 11-character video ID"
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "maxLength": 500,
              "description": "YouTube video URL (watch?v=, youtu.be/, /shorts/, /embed/, /live/ or /v/ forms) or 11-character video ID"
            }
          },
          "required": [
            "url"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}