{
  "x402Version": 2,
  "id": 27236,
  "slug": "27236",
  "resource": "https://geodns.iwsolutions.ca/api/resolve",
  "description": "Geo-located DNS resolution — resolve hostnames from specific countries to see how CDNs, geo-blocking, and DNS-based routing differ by region.",
  "type": "http",
  "serviceName": "Geographic DNS Lookup",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xDd85eD9E404d22c137a5d9Fc3C200847aa3B11CF",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "hostname": {
            "type": "string"
          },
          "pricing": {
            "properties": {
              "base_fee": {
                "type": "string"
              },
              "per_country": {
                "type": "string"
              },
              "total_charged": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "record_type": {
            "type": "string"
          },
          "results": {
            "items": {
              "properties": {
                "country": {
                  "description": "ISO 3166-1 alpha-2 code",
                  "type": "string"
                },
                "error": {
                  "description": "Error message if resolution failed",
                  "type": "string"
                },
                "records": {
                  "description": "Resolved DNS records",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "resolved_at": {
                  "description": "ISO 8601 timestamp",
                  "type": "string"
                },
                "resolver": {
                  "description": "Resolver location label",
                  "type": "string"
                },
                "response_ms": {
                  "description": "Resolution time in milliseconds",
                  "type": "integer"
                },
                "ttl": {
                  "description": "Time to live in seconds",
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "countries": [
              "US",
              "JP",
              "DE"
            ],
            "hostname": "google.com",
            "record_type": "A"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "hostname": "google.com",
            "pricing": {
              "base_fee": "$0.0050",
              "per_country": "N/A",
              "total_charged": "$0.0050"
            },
            "record_type": "A",
            "results": [
              {
                "country": "US",
                "records": [
                  "142.250.139.102",
                  "142.250.139.113"
                ],
                "resolved_at": "2026-06-17T02:39:22.071Z",
                "resolver": "OpenDNS, United States",
                "response_ms": 28,
                "ttl": 300
              },
              {
                "country": "JP",
                "records": [
                  "142.251.219.174"
                ],
                "resolved_at": "2026-06-17T02:39:22.102Z",
                "resolver": "DNS0, Tokyo PoP",
                "response_ms": 58,
                "ttl": 300
              },
              {
                "country": "DE",
                "error": "Resolution timed out",
                "records": [],
                "resolved_at": "2026-06-17T02:39:22.150Z",
                "resolver": "Quad9, Frankfurt PoP",
                "response_ms": 2001,
                "ttl": 0
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "countries": {
                    "description": "ISO 3166-1 alpha-2 country codes (up to 20)",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "hostname": {
                    "description": "Domain name to resolve",
                    "type": "string"
                  },
                  "record_type": {
                    "description": "DNS record type: A, AAAA, CNAME, MX, TXT, NS",
                    "type": "string"
                  }
                },
                "required": [
                  "hostname",
                  "countries"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "hostname": {
                    "type": "string"
                  },
                  "pricing": {
                    "properties": {
                      "base_fee": {
                        "type": "string"
                      },
                      "per_country": {
                        "type": "string"
                      },
                      "total_charged": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "record_type": {
                    "type": "string"
                  },
                  "results": {
                    "items": {
                      "properties": {
                        "country": {
                          "description": "ISO 3166-1 alpha-2 code",
                          "type": "string"
                        },
                        "error": {
                          "description": "Error message if resolution failed",
                          "type": "string"
                        },
                        "records": {
                          "description": "Resolved DNS records",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "resolved_at": {
                          "description": "ISO 8601 timestamp",
                          "type": "string"
                        },
                        "resolver": {
                          "description": "Resolver location label",
                          "type": "string"
                        },
                        "response_ms": {
                          "description": "Resolution time in milliseconds",
                          "type": "integer"
                        },
                        "ttl": {
                          "description": "Time to live in seconds",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "dns",
    "geo",
    "network",
    "cdn",
    "bazaar"
  ],
  "sourceHost": "geodns.iwsolutions.ca",
  "lastUpdated": "2026-10-10T17:36:43.57Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 6,
    "lastCalledAt": "2026-10-10T17:36:43.233Z"
  },
  "metadata": {
    "serviceName": "Geographic DNS Lookup",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "countries": [
                "US",
                "JP",
                "DE"
              ],
              "hostname": "google.com",
              "record_type": "A"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "hostname": "google.com",
              "pricing": {
                "base_fee": "$0.0050",
                "per_country": "N/A",
                "total_charged": "$0.0050"
              },
              "record_type": "A",
              "results": [
                {
                  "country": "US",
                  "records": [
                    "142.250.139.102",
                    "142.250.139.113"
                  ],
                  "resolved_at": "2026-06-17T02:39:22.071Z",
                  "resolver": "OpenDNS, United States",
                  "response_ms": 28,
                  "ttl": 300
                },
                {
                  "country": "JP",
                  "records": [
                    "142.251.219.174"
                  ],
                  "resolved_at": "2026-06-17T02:39:22.102Z",
                  "resolver": "DNS0, Tokyo PoP",
                  "response_ms": 58,
                  "ttl": 300
                },
                {
                  "country": "DE",
                  "error": "Resolution timed out",
                  "records": [],
                  "resolved_at": "2026-06-17T02:39:22.150Z",
                  "resolver": "Quad9, Frankfurt PoP",
                  "response_ms": 2001,
                  "ttl": 0
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "countries": {
                      "description": "ISO 3166-1 alpha-2 country codes (up to 20)",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "hostname": {
                      "description": "Domain name to resolve",
                      "type": "string"
                    },
                    "record_type": {
                      "description": "DNS record type: A, AAAA, CNAME, MX, TXT, NS",
                      "type": "string"
                    }
                  },
                  "required": [
                    "hostname",
                    "countries"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "hostname": {
                      "type": "string"
                    },
                    "pricing": {
                      "properties": {
                        "base_fee": {
                          "type": "string"
                        },
                        "per_country": {
                          "type": "string"
                        },
                        "total_charged": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "record_type": {
                      "type": "string"
                    },
                    "results": {
                      "items": {
                        "properties": {
                          "country": {
                            "description": "ISO 3166-1 alpha-2 code",
                            "type": "string"
                          },
                          "error": {
                            "description": "Error message if resolution failed",
                            "type": "string"
                          },
                          "records": {
                            "description": "Resolved DNS records",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "resolved_at": {
                            "description": "ISO 8601 timestamp",
                            "type": "string"
                          },
                          "resolver": {
                            "description": "Resolver location label",
                            "type": "string"
                          },
                          "response_ms": {
                            "description": "Resolution time in milliseconds",
                            "type": "integer"
                          },
                          "ttl": {
                            "description": "Time to live in seconds",
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "geodns.iwsolutions.ca",
    "manifest_name": "geodns.iwsolutions.ca",
    "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": {
      "hostname": "string",
      "pricing": {
        "base_fee": "string",
        "per_country": "string",
        "total_charged": "string"
      },
      "record_type": "string",
      "results": [
        {
          "country": "string",
          "error": "string",
          "records": [
            "string"
          ],
          "resolved_at": "string",
          "resolver": "string",
          "response_ms": 0,
          "ttl": 0
        }
      ]
    },
    "type": "string"
  }
}