{
  "x402Version": 2,
  "id": 71588,
  "slug": "saylorinnovations-api-sdg-country",
  "resource": "https://saylorinnovations.com/api/sdg/country",
  "description": "UN Sustainable Development Goal indicators for a country - latest values and trends",
  "type": "http",
  "serviceName": "Saylor Innovations Development D",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95877",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "found": {
        "type": "boolean",
        "description": "True when the lookup matched a record"
      },
      "retrieved_at": {
        "type": "string",
        "description": "Time the data was retrieved from the source (UTC)"
      },
      "code": {
        "type": "string",
        "description": "Code assigned by the issuing system"
      },
      "country": {
        "type": [
          "string",
          "null"
        ],
        "description": "Country name"
      },
      "m49": {
        "type": "string"
      },
      "reported": {
        "type": [
          "number",
          "null"
        ]
      },
      "requested": {
        "type": [
          "number",
          "null"
        ]
      },
      "indicators": {
        "type": "array",
        "items": {
          "type": "object"
        },
        "description": "Indicator values"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      },
      "source_url": {
        "type": "string",
        "description": "URL of the original source"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      }
    },
    "required": [
      "found",
      "retrieved_at",
      "code",
      "indicators",
      "source",
      "note"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "code": "IND"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "found": true,
            "retrieved_at": "2026-09-30T00:00:00.000Z",
            "code": "IND",
            "country": "India",
            "indicators": [
              {
                "goal": 7,
                "series": "EG_ACS_ELEC",
                "label": "Population with access to electricity (%)",
                "value": 99.2,
                "year": 2022,
                "units": "PERCENT",
                "trend_from": {
                  "value": 59.3,
                  "year": 2000
                }
              }
            ],
            "source": "UN SDG Global Database",
            "source_url": "https://unstats.un.org/sdgs/dataportal",
            "note": "Latest national reported values; indicator years differ."
          }
        }
      },
      "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"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "ISO alpha-3 or alpha-2 country code"
                  }
                },
                "required": [
                  "code"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "found": {
                    "type": "boolean",
                    "description": "True when the lookup matched a record"
                  },
                  "retrieved_at": {
                    "type": "string",
                    "description": "Time the data was retrieved from the source (UTC)"
                  },
                  "code": {
                    "type": "string",
                    "description": "Code assigned by the issuing system"
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Country name"
                  },
                  "m49": {
                    "type": "string"
                  },
                  "reported": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "requested": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "indicators": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "Indicator values"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  },
                  "source_url": {
                    "type": "string",
                    "description": "URL of the original source"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  }
                },
                "required": [
                  "found",
                  "retrieved_at",
                  "code",
                  "indicators",
                  "source",
                  "note"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "sdg",
    "country",
    "united-nations",
    "development"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.802Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Development D",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "ISO alpha-3 or alpha-2 country code"
        }
      },
      "required": [
        "code"
      ]
    },
    "exampleResponse": {
      "found": true,
      "retrieved_at": "2026-09-30T00:00:00.000Z",
      "code": "IND",
      "country": "India",
      "indicators": [
        {
          "goal": 7,
          "series": "EG_ACS_ELEC",
          "label": "Population with access to electricity (%)",
          "value": 99.2,
          "year": 2022,
          "units": "PERCENT",
          "trend_from": {
            "value": 59.3,
            "year": 2000
          }
        }
      ],
      "source": "UN SDG Global Database",
      "source_url": "https://unstats.un.org/sdgs/dataportal",
      "note": "Latest national reported values; indicator years differ."
    },
    "parameterLocation": "query",
    "freeSample": "https://saylorinnovations.com/samples/sdg-country.json",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "code": "IND"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "found": true,
              "retrieved_at": "2026-09-30T00:00:00.000Z",
              "code": "IND",
              "country": "India",
              "indicators": [
                {
                  "goal": 7,
                  "series": "EG_ACS_ELEC",
                  "label": "Population with access to electricity (%)",
                  "value": 99.2,
                  "year": 2022,
                  "units": "PERCENT",
                  "trend_from": {
                    "value": 59.3,
                    "year": 2000
                  }
                }
              ],
              "source": "UN SDG Global Database",
              "source_url": "https://unstats.un.org/sdgs/dataportal",
              "note": "Latest national reported values; indicator years differ."
            }
          }
        },
        "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"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "ISO alpha-3 or alpha-2 country code"
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "found": {
                      "type": "boolean",
                      "description": "True when the lookup matched a record"
                    },
                    "retrieved_at": {
                      "type": "string",
                      "description": "Time the data was retrieved from the source (UTC)"
                    },
                    "code": {
                      "type": "string",
                      "description": "Code assigned by the issuing system"
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Country name"
                    },
                    "m49": {
                      "type": "string"
                    },
                    "reported": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "requested": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "indicators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      },
                      "description": "Indicator values"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    },
                    "source_url": {
                      "type": "string",
                      "description": "URL of the original source"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    }
                  },
                  "required": [
                    "found",
                    "retrieved_at",
                    "code",
                    "indicators",
                    "source",
                    "note"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/sdg/country?code=IND",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "found": true,
    "retrieved_at": "string",
    "code": "string",
    "country": "string",
    "m49": "string",
    "reported": 0,
    "requested": 0,
    "indicators": [
      {}
    ],
    "source": "string",
    "source_url": "string",
    "note": "string"
  }
}