{
  "x402Version": 2,
  "id": 28648,
  "slug": "28648",
  "resource": "https://solar.nsgoods.org/solar-legality",
  "description": "Signed plug-in solar legality record for one US state. Free preview: GET /solar-legality/preview A missing or unknown state returns 400 or 404; you are never charged for an error.",
  "type": "http",
  "serviceName": "nsgoods Plug-in Solar Legality",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968271/bazaar-icons/b85d47ef16d28a8f.png",
  "resourceType": "Legal",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc87a06DEE4c0E85912296002617120BBfd5EF990",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "legal_status": {
            "type": "string"
          },
          "license": {
            "type": "object"
          },
          "query": {
            "type": "string"
          },
          "record": {
            "type": "object"
          }
        },
        "required": [
          "query",
          "record",
          "legal_status"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "state": "california"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "legal_status": "legal_signed",
            "license": {
              "name": "CC BY 4.0"
            },
            "query": "colorado",
            "record": {
              "avg_rate_cents": 15,
              "legislation": {
                "bill": "HB26-1007",
                "max_watts": 1920
              },
              "main_utilities": [
                "Xcel Energy"
              ],
              "slug": "colorado",
              "state": "Colorado",
              "status_badge_verbatim": "Legal — signed (eff. Jan 1, 2027)"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "state": {
                    "description": "US state slug or name, e.g. california.",
                    "type": "string"
                  }
                },
                "required": [
                  "state"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "legal_status": {
                    "type": "string"
                  },
                  "license": {
                    "type": "object"
                  },
                  "query": {
                    "type": "string"
                  },
                  "record": {
                    "type": "object"
                  }
                },
                "required": [
                  "query",
                  "record",
                  "legal_status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "solar",
    "energy",
    "us-states",
    "legality",
    "plug-in",
    "bazaar"
  ],
  "sourceHost": "solar.nsgoods.org",
  "lastUpdated": "2026-10-03T01:17:34.526Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-03T01:17:34.308Z"
  },
  "metadata": {
    "serviceName": "nsgoods Plug-in Solar Legality",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790968271/bazaar-icons/b85d47ef16d28a8f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "state": "california"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "legal_status": "legal_signed",
              "license": {
                "name": "CC BY 4.0"
              },
              "query": "colorado",
              "record": {
                "avg_rate_cents": 15,
                "legislation": {
                  "bill": "HB26-1007",
                  "max_watts": 1920
                },
                "main_utilities": [
                  "Xcel Energy"
                ],
                "slug": "colorado",
                "state": "Colorado",
                "status_badge_verbatim": "Legal — signed (eff. Jan 1, 2027)"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "state": {
                      "description": "US state slug or name, e.g. california.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "state"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "legal_status": {
                      "type": "string"
                    },
                    "license": {
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "record": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "query",
                    "record",
                    "legal_status"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "solar.nsgoods.org",
    "manifest_name": "solar.nsgoods.org",
    "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": {
    "example": {
      "legal_status": "string",
      "license": {},
      "query": "string",
      "record": {}
    },
    "type": "string"
  }
}