{
  "x402Version": 2,
  "id": 12406,
  "slug": "12406",
  "resource": "https://lab.paidapis.net/api/freshness-priced-data",
  "description": "Freshness-tiered pricing: gas price + ETH/USD price, same data either way. ?freshness=cached ($0.002) serves the last known values with no network call; ?freshness=live ($0.02) forces a guaranteed-current fetch right now.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf74f2020aC3d73F2Bf5ee0F8Bf635475eA881319",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "freshness": "cached"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "ethPriceCachedAt": "",
            "ethUsdPrice": 0,
            "freshness": "cached",
            "gasPriceGwei": 0,
            "gasSampleCount": 0,
            "servedAt": ""
          },
          "type": "json"
        }
      },
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "queryParams": {
                "properties": {
                  "freshness": {
                    "description": "Either \"cached\" (default) or \"live\".",
                    "enum": [
                      "cached",
                      "live"
                    ],
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "ethPriceCachedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "ethUsdPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "freshness": {
                    "enum": [
                      "cached",
                      "live"
                    ],
                    "type": "string"
                  },
                  "gasPriceGwei": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "gasSampleCount": {
                    "type": "integer"
                  },
                  "servedAt": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          }
        }
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_xdmnqyvi"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "lab.paidapis.net",
  "lastUpdated": "2026-09-17T03:32:53.621Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-17T03:32:53.389Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "lab.paidapis.net",
    "manifest_name": "lab.paidapis.net",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}