{
  "x402Version": 2,
  "id": 35678,
  "slug": "35678",
  "resource": "https://agentsvc.io/api/v1/proxy/dns-lookup",
  "description": "Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.",
  "type": "http",
  "serviceName": "DNS Lookup",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "domain": {
                "description": "The queried domain name",
                "type": "string"
              },
              "records": {
                "description": "Map of DNS record type → array of records",
                "properties": {
                  "A": {
                    "description": "IPv4 addresses",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "AAAA": {
                    "description": "IPv6 addresses",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "CNAME": {
                    "description": "Canonical name records",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "MX": {
                    "description": "Mail exchange records",
                    "items": {
                      "properties": {
                        "exchange": {
                          "type": "string"
                        },
                        "priority": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "NS": {
                    "description": "Nameserver records",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "TXT": {
                    "description": "TXT records (joined entries)",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "resolved_at": {
                "description": "ISO 8601 timestamp of the lookup",
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "domain",
              "records",
              "resolved_at"
            ],
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "utility",
      "info": {
        "input": {
          "body": {
            "domain": "github.com",
            "types": [
              "A",
              "MX"
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "domain": "example.com",
              "records": {
                "A": [
                  "93.184.216.34"
                ],
                "MX": [
                  {
                    "exchange": "mail.example.com",
                    "priority": 10
                  }
                ]
              },
              "resolved_at": "2026-04-07T12:00:00.000Z"
            },
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "domain": {
                    "description": "Domain name to look up (e.g. 'example.com', 'mail.google.com')",
                    "type": "string"
                  },
                  "types": {
                    "default": [
                      "A"
                    ],
                    "description": "DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS",
                    "items": {
                      "enum": [
                        "A",
                        "AAAA",
                        "MX",
                        "TXT",
                        "CNAME",
                        "NS"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "domain"
                ]
              },
              "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": {
                  "data": {
                    "properties": {
                      "domain": {
                        "description": "The queried domain name",
                        "type": "string"
                      },
                      "records": {
                        "description": "Map of DNS record type → array of records",
                        "properties": {
                          "A": {
                            "description": "IPv4 addresses",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "AAAA": {
                            "description": "IPv6 addresses",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "CNAME": {
                            "description": "Canonical name records",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "MX": {
                            "description": "Mail exchange records",
                            "items": {
                              "properties": {
                                "exchange": {
                                  "type": "string"
                                },
                                "priority": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "NS": {
                            "description": "Nameserver records",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "TXT": {
                            "description": "TXT records (joined entries)",
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "type": "object"
                      },
                      "resolved_at": {
                        "description": "ISO 8601 timestamp of the lookup",
                        "format": "date-time",
                        "type": "string"
                      }
                    },
                    "required": [
                      "domain",
                      "records",
                      "resolved_at"
                    ],
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "dns",
        "network",
        "domain",
        "lookup",
        "a",
        "mx",
        "txt",
        "dns-lookup",
        "dns-records"
      ]
    },
    "builder-code": {
      "info": {
        "a": "bc_q6wi3opd"
      }
    }
  },
  "tags": [
    "dns",
    "network",
    "domain",
    "lookup",
    "a",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "agentsvc.io",
  "lastUpdated": "2026-10-11T11:55:41.164Z",
  "quality": {
    "calls30d": 12,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-11T11:55:40.949Z"
  },
  "metadata": {
    "serviceName": "DNS Lookup",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
    "extensions": {
      "bazaar": {
        "category": "utility",
        "info": {
          "input": {
            "body": {
              "domain": "github.com",
              "types": [
                "A",
                "MX"
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "domain": "example.com",
                "records": {
                  "A": [
                    "93.184.216.34"
                  ],
                  "MX": [
                    {
                      "exchange": "mail.example.com",
                      "priority": 10
                    }
                  ]
                },
                "resolved_at": "2026-04-07T12:00:00.000Z"
              },
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "domain": {
                      "description": "Domain name to look up (e.g. 'example.com', 'mail.google.com')",
                      "type": "string"
                    },
                    "types": {
                      "default": [
                        "A"
                      ],
                      "description": "DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS",
                      "items": {
                        "enum": [
                          "A",
                          "AAAA",
                          "MX",
                          "TXT",
                          "CNAME",
                          "NS"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "domain"
                  ]
                },
                "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": {
                    "data": {
                      "properties": {
                        "domain": {
                          "description": "The queried domain name",
                          "type": "string"
                        },
                        "records": {
                          "description": "Map of DNS record type → array of records",
                          "properties": {
                            "A": {
                              "description": "IPv4 addresses",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "AAAA": {
                              "description": "IPv6 addresses",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "CNAME": {
                              "description": "Canonical name records",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "MX": {
                              "description": "Mail exchange records",
                              "items": {
                                "properties": {
                                  "exchange": {
                                    "type": "string"
                                  },
                                  "priority": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "NS": {
                              "description": "Nameserver records",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "TXT": {
                              "description": "TXT records (joined entries)",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "resolved_at": {
                          "description": "ISO 8601 timestamp of the lookup",
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "required": [
                        "domain",
                        "records",
                        "resolved_at"
                      ],
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "dns",
          "network",
          "domain",
          "lookup",
          "a",
          "mx",
          "txt",
          "dns-lookup",
          "dns-records"
        ]
      },
      "builder-code": {
        "info": {
          "a": "bc_q6wi3opd"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentsvc.io",
    "manifest_name": "agentsvc.io",
    "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": {
      "data": {
        "domain": "string",
        "records": {
          "A": [
            "string"
          ],
          "AAAA": [
            "string"
          ],
          "CNAME": [
            "string"
          ],
          "MX": [
            {
              "exchange": "string",
              "priority": 0
            }
          ],
          "NS": [
            "string"
          ],
          "TXT": [
            "string"
          ]
        },
        "resolved_at": "2026-01-01T00:00:00Z"
      },
      "success": true
    },
    "type": "string"
  }
}