{
  "x402Version": 2,
  "id": 40888,
  "slug": "40888",
  "resource": "https://lab.paidapis.net/api/reliable-eth-price",
  "description": "Reliability: ETH/USD price with retry-with-backoff and last-known-good cache fallback layered on top — sells dependability, not the raw data itself. Optional ?simulateFailureRate=0-1 for demoing the fallback path.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf74f2020aC3d73F2Bf5ee0F8Bf635475eA881319",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "attempts": {
            "type": "integer"
          },
          "cacheAgeSeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "ethUsdPrice": {
            "type": "number"
          },
          "simulateFailureRate": {
            "type": "number"
          },
          "source": {
            "enum": [
              "live",
              "cache-fallback"
            ],
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "simulateFailureRate": 0
          },
          "type": "http"
        },
        "output": {
          "example": {
            "attempts": 0,
            "cacheAgeSeconds": 0,
            "ethUsdPrice": 0,
            "simulateFailureRate": 0,
            "source": "live"
          },
          "type": "json"
        }
      },
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "queryParams": {
                "properties": {
                  "simulateFailureRate": {
                    "description": "0-1, simulates upstream failures to demo the fallback path.",
                    "type": "number"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "attempts": {
                    "type": "integer"
                  },
                  "cacheAgeSeconds": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "ethUsdPrice": {
                    "type": "number"
                  },
                  "simulateFailureRate": {
                    "type": "number"
                  },
                  "source": {
                    "enum": [
                      "live",
                      "cache-fallback"
                    ],
                    "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-28T15:34:38.508Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-28T15:34:38.386Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "simulateFailureRate": 0
            },
            "type": "http"
          },
          "output": {
            "example": {
              "attempts": 0,
              "cacheAgeSeconds": 0,
              "ethUsdPrice": 0,
              "simulateFailureRate": 0,
              "source": "live"
            },
            "type": "json"
          }
        },
        "schema": {
          "properties": {
            "input": {
              "properties": {
                "queryParams": {
                  "properties": {
                    "simulateFailureRate": {
                      "description": "0-1, simulates upstream failures to demo the fallback path.",
                      "type": "number"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "attempts": {
                      "type": "integer"
                    },
                    "cacheAgeSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "ethUsdPrice": {
                      "type": "number"
                    },
                    "simulateFailureRate": {
                      "type": "number"
                    },
                    "source": {
                      "enum": [
                        "live",
                        "cache-fallback"
                      ],
                      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "attempts": 0,
    "cacheAgeSeconds": 0,
    "ethUsdPrice": 0,
    "simulateFailureRate": 0,
    "source": "live"
  }
}