{
  "x402Version": 2,
  "id": 32647,
  "slug": "32647",
  "resource": "https://property.payapi.market/epc-rating",
  "description": "UK Energy Performance Certificate (EPC) ratings by postcode.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "average_band": {
            "type": "string"
          },
          "average_score": {
            "type": "integer"
          },
          "band_distribution": {
            "type": "object"
          },
          "certificates": {
            "type": "array"
          },
          "postcode": {
            "type": "string"
          },
          "total_found": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "limit": 20,
            "postcode": "EC1A 1BB"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "average_band": "C",
            "average_score": 71,
            "band_distribution": {
              "A": 0,
              "B": 0,
              "C": 1,
              "D": 0,
              "E": 0,
              "F": 0,
              "G": 0
            },
            "certificates": [
              {
                "address": "1 ST MARTIN'S LE GRAND, LONDON",
                "current_band": "C",
                "current_rating": 71,
                "lodgement_date": "2023-04-12",
                "potential_band": "B"
              }
            ],
            "postcode": "EC1A 1BB",
            "total_found": 1
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "limit": {
                    "description": "Max certificates to return. Defaults to 20.",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "postcode": {
                    "description": "UK postcode.",
                    "type": "string"
                  }
                },
                "required": [
                  "postcode"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "average_band": {
                    "type": "string"
                  },
                  "average_score": {
                    "type": "integer"
                  },
                  "band_distribution": {
                    "type": "object"
                  },
                  "certificates": {
                    "type": "array"
                  },
                  "postcode": {
                    "type": "string"
                  },
                  "total_found": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "property.payapi.market",
  "lastUpdated": "2026-10-08T07:51:59.532Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T07:51:59.346Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "limit": 20,
              "postcode": "EC1A 1BB"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "average_band": "C",
              "average_score": 71,
              "band_distribution": {
                "A": 0,
                "B": 0,
                "C": 1,
                "D": 0,
                "E": 0,
                "F": 0,
                "G": 0
              },
              "certificates": [
                {
                  "address": "1 ST MARTIN'S LE GRAND, LONDON",
                  "current_band": "C",
                  "current_rating": 71,
                  "lodgement_date": "2023-04-12",
                  "potential_band": "B"
                }
              ],
              "postcode": "EC1A 1BB",
              "total_found": 1
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "limit": {
                      "description": "Max certificates to return. Defaults to 20.",
                      "maximum": 100,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "postcode": {
                      "description": "UK postcode.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "postcode"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "average_band": {
                      "type": "string"
                    },
                    "average_score": {
                      "type": "integer"
                    },
                    "band_distribution": {
                      "type": "object"
                    },
                    "certificates": {
                      "type": "array"
                    },
                    "postcode": {
                      "type": "string"
                    },
                    "total_found": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "property.payapi.market",
    "manifest_name": "property.payapi.market",
    "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": {
    "average_band": "C",
    "average_score": 71,
    "band_distribution": {
      "A": 0,
      "B": 0,
      "C": 1,
      "D": 0,
      "E": 0,
      "F": 0,
      "G": 0
    },
    "certificates": [
      {
        "address": "1 ST MARTIN'S LE GRAND, LONDON",
        "current_band": "C",
        "current_rating": 71,
        "lodgement_date": "2023-04-12",
        "potential_band": "B"
      }
    ],
    "postcode": "EC1A 1BB",
    "total_found": 1
  }
}