@apifreaks/openapi-specs 0.4.26 → 0.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +217 -67
- package/dist/index.js +217 -67
- package/dist/specs/dns/bulk-dns-lookup.yaml +16 -0
- package/dist/specs/dns/dns-lookup.yaml +23 -0
- package/dist/specs/dns/reverse-dns-lookup.yaml +10 -1
- package/dist/specs/domain/domain-typosquatting.yaml +47 -28
- package/package.json +1 -1
- package/specs/dns/bulk-dns-lookup.json +36 -7
- package/specs/dns/dns-lookup.json +32 -0
- package/specs/dns/reverse-dns-lookup.json +14 -1
- package/specs/domain/domain-typosquatting.json +62 -30
package/dist/index.js
CHANGED
|
@@ -6148,9 +6148,42 @@ var bulk_dns_lookup_default = {
|
|
|
6148
6148
|
type: "array",
|
|
6149
6149
|
items: {
|
|
6150
6150
|
type: "string",
|
|
6151
|
-
enum: [
|
|
6151
|
+
enum: [
|
|
6152
|
+
"A",
|
|
6153
|
+
"AAAA",
|
|
6154
|
+
"MX",
|
|
6155
|
+
"NS",
|
|
6156
|
+
"SOA",
|
|
6157
|
+
"SPF",
|
|
6158
|
+
"TXT",
|
|
6159
|
+
"CNAME",
|
|
6160
|
+
"PTR",
|
|
6161
|
+
"all"
|
|
6162
|
+
]
|
|
6152
6163
|
}
|
|
6153
6164
|
}
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
name: "isAuthoritative",
|
|
6168
|
+
in: "query",
|
|
6169
|
+
required: false,
|
|
6170
|
+
description: "Set true to read the records from each zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cname_depth to follow it. Answers read this way are not added to the historical DNS database.",
|
|
6171
|
+
schema: {
|
|
6172
|
+
type: "boolean",
|
|
6173
|
+
default: false
|
|
6174
|
+
}
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
name: "cname_depth",
|
|
6178
|
+
in: "query",
|
|
6179
|
+
required: false,
|
|
6180
|
+
description: "How many CNAME links to follow before returning the records they point at, from 0 to 4. The default, 0, returns only what each queried name itself holds. A value below 0 or above 4 is rejected with a 400. Note the spelling: the single DNS lookup names this cnameDepth.",
|
|
6181
|
+
schema: {
|
|
6182
|
+
type: "integer",
|
|
6183
|
+
minimum: 0,
|
|
6184
|
+
maximum: 4,
|
|
6185
|
+
default: 0
|
|
6186
|
+
}
|
|
6154
6187
|
}
|
|
6155
6188
|
],
|
|
6156
6189
|
requestBody: {
|
|
@@ -6295,9 +6328,7 @@ var bulk_dns_lookup_default = {
|
|
|
6295
6328
|
ttl: 300,
|
|
6296
6329
|
rawText: 'example.com. 300 IN TXT "_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"',
|
|
6297
6330
|
rRsetType: 16,
|
|
6298
|
-
strings: [
|
|
6299
|
-
"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"
|
|
6300
|
-
]
|
|
6331
|
+
strings: ["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"]
|
|
6301
6332
|
},
|
|
6302
6333
|
{
|
|
6303
6334
|
name: "example.com",
|
|
@@ -6324,9 +6355,7 @@ var bulk_dns_lookup_default = {
|
|
|
6324
6355
|
ttl: 300,
|
|
6325
6356
|
rawText: 'example.com. 300 IN SPF "v=spf1 -all"',
|
|
6326
6357
|
rRsetType: 99,
|
|
6327
|
-
strings: [
|
|
6328
|
-
"v=spf1 -all"
|
|
6329
|
-
]
|
|
6358
|
+
strings: ["v=spf1 -all"]
|
|
6330
6359
|
}
|
|
6331
6360
|
]
|
|
6332
6361
|
}
|
|
@@ -7831,6 +7860,38 @@ var dns_lookup_default = {
|
|
|
7831
7860
|
]
|
|
7832
7861
|
},
|
|
7833
7862
|
description: "A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, PTR, or all. Values are case-insensitive. PTR is looked up from `ipAddress`; the other types are looked up from `host-name`. With only `ipAddress` sent, use `PTR` or `all`."
|
|
7863
|
+
},
|
|
7864
|
+
{
|
|
7865
|
+
name: "isAuthoritative",
|
|
7866
|
+
in: "query",
|
|
7867
|
+
required: false,
|
|
7868
|
+
schema: {
|
|
7869
|
+
type: "boolean",
|
|
7870
|
+
default: false
|
|
7871
|
+
},
|
|
7872
|
+
description: "Set true to read the records from the zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cnameDepth to follow it. Answers read this way are not added to the historical DNS database."
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
name: "cnameDepth",
|
|
7876
|
+
in: "query",
|
|
7877
|
+
required: false,
|
|
7878
|
+
schema: {
|
|
7879
|
+
type: "integer",
|
|
7880
|
+
minimum: 0,
|
|
7881
|
+
maximum: 4,
|
|
7882
|
+
default: 0
|
|
7883
|
+
},
|
|
7884
|
+
description: "How many CNAME links to follow before returning the records they point at. 0 returns only what the queried name itself holds. A value below 0 or above 4 is rejected with a 400."
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
name: "relativeRecords",
|
|
7888
|
+
in: "query",
|
|
7889
|
+
required: false,
|
|
7890
|
+
schema: {
|
|
7891
|
+
type: "boolean",
|
|
7892
|
+
default: true
|
|
7893
|
+
},
|
|
7894
|
+
description: "Keeps the records picked up for other names along the way, such as a CNAME target's own records. Set false to return only the records whose name is the queried domain itself. PTR records are kept either way."
|
|
7834
7895
|
}
|
|
7835
7896
|
],
|
|
7836
7897
|
responses: {
|
|
@@ -8402,7 +8463,7 @@ var reverse_dns_lookup_default = {
|
|
|
8402
8463
|
name: "exact",
|
|
8403
8464
|
in: "query",
|
|
8404
8465
|
required: false,
|
|
8405
|
-
description: "When
|
|
8466
|
+
description: "When false (default), the value is matched as a pattern, where '*' matches any characters. When true, the value is matched exactly. Ignored for A and AAAA records, which always match the IP.",
|
|
8406
8467
|
schema: {
|
|
8407
8468
|
type: "boolean",
|
|
8408
8469
|
default: false
|
|
@@ -8418,6 +8479,19 @@ var reverse_dns_lookup_default = {
|
|
|
8418
8479
|
minimum: 1,
|
|
8419
8480
|
default: 1
|
|
8420
8481
|
}
|
|
8482
|
+
},
|
|
8483
|
+
{
|
|
8484
|
+
name: "sort",
|
|
8485
|
+
in: "query",
|
|
8486
|
+
required: false,
|
|
8487
|
+
schema: {
|
|
8488
|
+
type: "string",
|
|
8489
|
+
enum: [
|
|
8490
|
+
"asc",
|
|
8491
|
+
"desc"
|
|
8492
|
+
]
|
|
8493
|
+
},
|
|
8494
|
+
description: "Sort results by last-seen time: asc for ascending or desc for descending. Results are not sorted when omitted."
|
|
8421
8495
|
}
|
|
8422
8496
|
],
|
|
8423
8497
|
responses: {
|
|
@@ -10909,7 +10983,7 @@ var domain_typosquatting_default = {
|
|
|
10909
10983
|
info: {
|
|
10910
10984
|
title: "Domain Typosquatting API - Find Typo and Look-Alike Domains for Brand Protection and Phishing Discovery",
|
|
10911
10985
|
version: "1.0.0",
|
|
10912
|
-
description: "
|
|
10986
|
+
description: "Find the registered lookalike domains of a brand by keyword or by wildcard pattern, across 7,851 TLDs and SLDs. Each match returns its registration, expiry and last-seen dates where available and a drop flag, 100 matches to a page. Built for brand and trademark protection, phishing discovery, scheduled monitoring and reclaiming names that come free.",
|
|
10913
10987
|
contact: {
|
|
10914
10988
|
name: "APIFreaks Support",
|
|
10915
10989
|
url: "https://apifreaks.com/contact",
|
|
@@ -10927,7 +11001,7 @@ var domain_typosquatting_default = {
|
|
|
10927
11001
|
get: {
|
|
10928
11002
|
tags: ["Domain APIs"],
|
|
10929
11003
|
summary: "Find registered typo-variant or wildcard-pattern domains for a brand keyword.",
|
|
10930
|
-
description: "The Domain Typosquatting API searches
|
|
11004
|
+
description: "The Domain Typosquatting API searches registered domains for names that look like a brand. Send a keyword for typo and homoglyph variants, or a wildcard pattern to also catch brand-plus-word and IDN names; each request takes one of the two, never both. Results cover 7,851 TLDs and SLDs and include each match's registration, expiry and last-seen dates where available and its drop flag, 100 matches to a page.",
|
|
10931
11005
|
parameters: [
|
|
10932
11006
|
{
|
|
10933
11007
|
name: "format",
|
|
@@ -10957,10 +11031,10 @@ var domain_typosquatting_default = {
|
|
|
10957
11031
|
required: false,
|
|
10958
11032
|
schema: {
|
|
10959
11033
|
type: "string",
|
|
10960
|
-
minLength:
|
|
11034
|
+
minLength: 5,
|
|
10961
11035
|
maxLength: 63
|
|
10962
11036
|
},
|
|
10963
|
-
description: "Wildcard search
|
|
11037
|
+
description: "Wildcard search that combines fuzzy matching with * wildcards, to also catch names that add words around the brand and IDN names (start the pattern with xn--). * is the only wildcard and each one matches zero or more characters, anywhere in the pattern, up to 3 per request. The pattern needs at least 5 characters besides the asterisks and at most 63 in total; more than 3 asterisks or any other regex character returns 400. Use either keyword or pattern, never both."
|
|
10964
11038
|
},
|
|
10965
11039
|
{
|
|
10966
11040
|
name: "pageToken",
|
|
@@ -10969,7 +11043,7 @@ var domain_typosquatting_default = {
|
|
|
10969
11043
|
schema: {
|
|
10970
11044
|
type: "string"
|
|
10971
11045
|
},
|
|
10972
|
-
description: "Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request. Results page at 100
|
|
11046
|
+
description: "Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request; a request with only pageToken returns 400. Results page at 100 matches per page, and each page is a separate search."
|
|
10973
11047
|
}
|
|
10974
11048
|
],
|
|
10975
11049
|
responses: {
|
|
@@ -10985,11 +11059,11 @@ var domain_typosquatting_default = {
|
|
|
10985
11059
|
summary: "Keyword search (paypal)",
|
|
10986
11060
|
value: {
|
|
10987
11061
|
status: true,
|
|
10988
|
-
totalRecords:
|
|
11062
|
+
totalRecords: 1304,
|
|
10989
11063
|
currentPage: 1,
|
|
11064
|
+
totalPages: 14,
|
|
10990
11065
|
hasNextPage: true,
|
|
10991
|
-
|
|
10992
|
-
nextPageToken: "<opaque_token>",
|
|
11066
|
+
nextPageToken: "eyJkb21haW5OYW1lIjoicGFlcGFsLmZyIiwiY3VycmVudFBhZ2UiOjF9",
|
|
10993
11067
|
domains: [
|
|
10994
11068
|
{
|
|
10995
11069
|
domainName: "p-aypal.com",
|
|
@@ -11007,42 +11081,67 @@ var domain_typosquatting_default = {
|
|
|
11007
11081
|
domainName: "p0aypal.com",
|
|
11008
11082
|
createDate: "2017-12-29",
|
|
11009
11083
|
expiryDate: "2026-12-29",
|
|
11010
|
-
lastSeen: "2026-
|
|
11084
|
+
lastSeen: "2026-11-06",
|
|
11011
11085
|
isDropped: false
|
|
11012
11086
|
},
|
|
11013
11087
|
{
|
|
11014
|
-
domainName: "
|
|
11015
|
-
|
|
11088
|
+
domainName: "p4ypal.com",
|
|
11089
|
+
createDate: "2020-10-15",
|
|
11090
|
+
expiryDate: "2030-10-15",
|
|
11091
|
+
lastSeen: "2026-11-06",
|
|
11092
|
+
isDropped: false
|
|
11016
11093
|
},
|
|
11017
11094
|
{
|
|
11018
|
-
domainName: "
|
|
11019
|
-
createDate: "
|
|
11020
|
-
expiryDate: "
|
|
11095
|
+
domainName: "paapal.com",
|
|
11096
|
+
createDate: "2018-12-24",
|
|
11097
|
+
expiryDate: "2026-12-24",
|
|
11098
|
+
lastSeen: "2026-09-29",
|
|
11099
|
+
isDropped: false
|
|
11100
|
+
},
|
|
11101
|
+
{
|
|
11102
|
+
domainName: "paaypal.asia",
|
|
11103
|
+
createDate: "2008-03-24",
|
|
11104
|
+
expiryDate: "2027-03-24",
|
|
11105
|
+
lastSeen: "2026-08-22",
|
|
11106
|
+
isDropped: false
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
domainName: "paaypal.com",
|
|
11110
|
+
createDate: "2000-05-21",
|
|
11111
|
+
expiryDate: "2027-05-21",
|
|
11112
|
+
lastSeen: "2026-11-07",
|
|
11113
|
+
isDropped: false
|
|
11114
|
+
},
|
|
11115
|
+
{
|
|
11116
|
+
domainName: "padpal.com",
|
|
11117
|
+
createDate: "2000-04-09",
|
|
11118
|
+
expiryDate: "2027-04-09",
|
|
11119
|
+
lastSeen: "2026-09-29",
|
|
11021
11120
|
isDropped: false
|
|
11022
11121
|
}
|
|
11023
11122
|
]
|
|
11024
11123
|
}
|
|
11025
11124
|
},
|
|
11026
11125
|
patternSuccess: {
|
|
11027
|
-
summary: "Wildcard pattern search (
|
|
11126
|
+
summary: "Wildcard pattern search (paypal-*)",
|
|
11028
11127
|
value: {
|
|
11029
11128
|
status: true,
|
|
11030
|
-
totalRecords:
|
|
11129
|
+
totalRecords: 10370,
|
|
11031
11130
|
currentPage: 1,
|
|
11131
|
+
totalPages: 104,
|
|
11032
11132
|
hasNextPage: true,
|
|
11033
|
-
|
|
11034
|
-
nextPageToken: "<opaque_token>",
|
|
11133
|
+
nextPageToken: "eyJkb21haW5OYW1lIjoicGFpcGFsbC5jb20iLCJjdXJyZW50UGFnZSI6MX0=",
|
|
11035
11134
|
domains: [
|
|
11036
11135
|
{
|
|
11037
|
-
domainName: "
|
|
11038
|
-
createDate: "
|
|
11039
|
-
expiryDate: "2026-
|
|
11040
|
-
lastSeen: "2026-
|
|
11041
|
-
isDropped:
|
|
11136
|
+
domainName: "p-aypal.com",
|
|
11137
|
+
createDate: "2025-04-17",
|
|
11138
|
+
expiryDate: "2026-04-17",
|
|
11139
|
+
lastSeen: "2026-05-29",
|
|
11140
|
+
isDropped: true
|
|
11042
11141
|
},
|
|
11043
11142
|
{
|
|
11044
|
-
domainName: "
|
|
11045
|
-
lastSeen: "
|
|
11143
|
+
domainName: "p-aypal.de",
|
|
11144
|
+
lastSeen: "2024-07-11",
|
|
11046
11145
|
isDropped: true
|
|
11047
11146
|
}
|
|
11048
11147
|
]
|
|
@@ -11138,7 +11237,14 @@ var domain_typosquatting_default = {
|
|
|
11138
11237
|
schemas: {
|
|
11139
11238
|
DomainTyposquattingResponse: {
|
|
11140
11239
|
type: "object",
|
|
11141
|
-
required: [
|
|
11240
|
+
required: [
|
|
11241
|
+
"status",
|
|
11242
|
+
"totalRecords",
|
|
11243
|
+
"currentPage",
|
|
11244
|
+
"hasNextPage",
|
|
11245
|
+
"totalPages",
|
|
11246
|
+
"domains"
|
|
11247
|
+
],
|
|
11142
11248
|
properties: {
|
|
11143
11249
|
status: {
|
|
11144
11250
|
type: "boolean",
|
|
@@ -11184,15 +11290,15 @@ var domain_typosquatting_default = {
|
|
|
11184
11290
|
},
|
|
11185
11291
|
createDate: {
|
|
11186
11292
|
type: "string",
|
|
11187
|
-
description: "
|
|
11293
|
+
description: "Registration date (YYYY-MM-DD), where available."
|
|
11188
11294
|
},
|
|
11189
11295
|
expiryDate: {
|
|
11190
11296
|
type: "string",
|
|
11191
|
-
description: "
|
|
11297
|
+
description: "Expiry date (YYYY-MM-DD), where available."
|
|
11192
11298
|
},
|
|
11193
11299
|
lastSeen: {
|
|
11194
11300
|
type: "string",
|
|
11195
|
-
description: "Last time the domain was observed (YYYY-MM-DD)
|
|
11301
|
+
description: "Last time the domain was observed (YYYY-MM-DD), where available."
|
|
11196
11302
|
},
|
|
11197
11303
|
isDropped: {
|
|
11198
11304
|
type: "boolean",
|
|
@@ -59760,6 +59866,22 @@ paths:
|
|
|
59760
59866
|
- CNAME
|
|
59761
59867
|
- PTR
|
|
59762
59868
|
- all
|
|
59869
|
+
- name: isAuthoritative
|
|
59870
|
+
in: query
|
|
59871
|
+
required: false
|
|
59872
|
+
description: Set true to read the records from each zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cname_depth to follow it. Answers read this way are not added to the historical DNS database.
|
|
59873
|
+
schema:
|
|
59874
|
+
type: boolean
|
|
59875
|
+
default: false
|
|
59876
|
+
- name: cname_depth
|
|
59877
|
+
in: query
|
|
59878
|
+
required: false
|
|
59879
|
+
description: 'How many CNAME links to follow before returning the records they point at, from 0 to 4. The default, 0, returns only what each queried name itself holds. A value below 0 or above 4 is rejected with a 400. Note the spelling: the single DNS lookup names this cnameDepth.'
|
|
59880
|
+
schema:
|
|
59881
|
+
type: integer
|
|
59882
|
+
minimum: 0
|
|
59883
|
+
maximum: 4
|
|
59884
|
+
default: 0
|
|
59763
59885
|
requestBody:
|
|
59764
59886
|
required: true
|
|
59765
59887
|
content:
|
|
@@ -60969,7 +61091,7 @@ security:
|
|
|
60969
61091
|
- ApiKeyAuthHeader: []
|
|
60970
61092
|
- ApiKeyAuthQuery: []
|
|
60971
61093
|
`,
|
|
60972
|
-
"dns-lookup": "openapi: 3.1.1\ninfo:\n title: DNS Lookup API - Live DNS Records, TTLs & PTR Lookups for Any Hostname\n version: 1.0.0\n description: Performs a live DNS lookup for any hostname or IP address, returning real-time records from authoritative name servers. Supports A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME record types, plus PTR records, which are looked up from an IP address passed in the ipAddress parameter with type PTR or all. Each record object includes parsed fields such as address, target, priority, TTL, serial, or verification strings, depending on the record type. Pass a comma-separated list of record types with the type parameter, or use 'all' to retrieve every supported type. The optional format parameter allows switching between JSON and XML output.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: DNS Lookup API Server\npaths:\n /domain/dns/live:\n get:\n tags:\n - DNS APIs\n summary: Perform a live DNS lookup for any hostname or IP address\n description: Retrieve real-time DNS records for any hostname or IP address. Returns A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, and PTR records with full parsed fields.\n operationId: dnsLookup\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Format of the response.\n - name: host-name\n in: query\n required: false\n schema:\n type: string\n description: Hostname or URL whose DNS records are required. Send `host-name`, `ipAddress`, or both.\n - name: ipAddress\n in: query\n required: false\n schema:\n type: string\n description: IPv4 or IPv6 address whose PTR record is required. Use it with `type` set to `PTR` or `all`. Send `host-name`, `ipAddress`, or both; with both, `host-name` is used for the other record types and `ipAddress` for the PTR record.\n - name: type\n in: query\n required: true\n schema:\n type: string\n enum:\n - A\n - AAAA\n - MX\n - NS\n - SOA\n - SPF\n - TXT\n - CNAME\n - PTR\n - all\n description: 'A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, PTR, or all. Values are case-insensitive. PTR is looked up from `ipAddress`; the other types are looked up from `host-name`. With only `ipAddress` sent, use `PTR` or `all`.'\n responses:\n '200':\n description: Successful DNS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DNSLookupResponse'\n examples:\n default:\n value:\n status: true\n queryTime: '2026-06-06 10:43:05'\n domainName: example.com\n domainRegistered: true\n dnsTypes:\n A: 1\n NS: 2\n SOA: 6\n MX: 15\n TXT: 16\n AAAA: 28\n SPF: 99\n dnsRecords:\n - name: example.com\n type: 1\n dnsType: A\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tA\\t104.20.23.154\"\n rRsetType: 1\n address: 104.20.23.154\n - name: example.com\n type: 1\n dnsType: A\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tA\\t172.66.147.243\"\n rRsetType: 1\n address: 172.66.147.243\n - name: example.com\n type: 2\n dnsType: NS\n ttl: 21600\n rawText: \"example.com.\\t\\t21600\\tIN\\tNS\\telliott.ns.cloudflare.com.\"\n rRsetType: 2\n singleName: elliott.ns.cloudflare.com.\n - name: example.com\n type: 2\n dnsType: NS\n ttl: 21600\n rawText: \"example.com.\\t\\t21600\\tIN\\tNS\\thera.ns.cloudflare.com.\"\n rRsetType: 2\n singleName: hera.ns.cloudflare.com.\n - name: example.com\n type: 6\n dnsType: SOA\n ttl: 1800\n rawText: \"example.com.\\t\\t1800\\tIN\\tSOA\\telliott.ns.cloudflare.com. dns.cloudflare.com. 2405749864 10000 2400 604800 1800\"\n rRsetType: 6\n admin: dns.cloudflare.com.\n host: elliott.ns.cloudflare.com.\n expire: 604800\n minimum: 1800\n refresh: 10000\n retry: 2400\n serial: 2405749864\n - name: example.com\n type: 15\n dnsType: MX\n ttl: 236\n rawText: \"example.com.\\t\\t236\\tIN\\tMX\\t0 .\"\n rRsetType: 15\n target: .\n priority: 0\n - name: example.com\n type: 16\n dnsType: TXT\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tTXT\\t\\\"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\\\"\"\n rRsetType: 16\n strings:\n - _k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\n - name: example.com\n type: 28\n dnsType: AAAA\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tAAAA\\t2606:4700:10:0:0:0:ac42:93f3\"\n rRsetType: 28\n address: 2606:4700:10:0:0:0:ac42:93f3\n - name: example.com\n type: 28\n dnsType: AAAA\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tAAAA\\t2606:4700:10:0:0:0:6814:179a\"\n rRsetType: 28\n address: 2606:4700:10:0:0:0:6814:179a\n - name: example.com\n type: 99\n dnsType: SPF\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tSPF\\t\\\"v=spf1 -all\\\"\"\n rRsetType: 99\n strings:\n - v=spf1 -all\n ptrLookup:\n summary: PTR lookup via ipAddress\n value:\n status: true\n queryTime: '2026-07-23 09:51:24'\n ipAddress: 8.8.8.8\n dnsTypes:\n PTR: 12\n dnsRecords:\n - name: 8.8.8.8.in-addr.arpa\n type: 12\n dnsType: PTR\n ttl: 16954\n rawText: \"8.8.8.8.in-addr.arpa.\\t16954\\tIN\\tPTR\\tdns.google.\"\n rRsetType: 12\n singleName: dns.google.\n unregisteredDomain:\n summary: Domain not registered, or no records found (200 with domainRegistered false; credits are still charged)\n value:\n status: true\n queryTime: '2026-11-20 10:10:24'\n domainName: thisdomaindoesnotexist-zzz123.com\n domainRegistered: false\n dnsRecords: []\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid parameters, or missing API key\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingParams:\n summary: Neither host-name nor ipAddress provided (or another required parameter missing)\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/domain/dns/live\n status: 400\n timestamp: '2026-07-23T09:50:58.722Z'\n invalidType:\n summary: Unsupported DNS record type\n value:\n timestamp: '2026-07-23T09:51:08.447Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please provide correct dns records type(s) [For Technical Support: support@whoisfreaks.com]'\n path: /v2.0/dns/live\n malformedHostname:\n summary: Hostname missing a valid TLD\n value:\n timestamp: '2026-07-23T09:54:13.140Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value[For Technical Support: support@whoisfreaks.com]'\n path: /v2.0/dns/live\n ptrWithoutIpAddress:\n summary: PTR requested without ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: IP Address is required!\n path: /v2.0/dns/live\n recordTypeWithoutHostName:\n summary: Non-PTR type requested with only ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: Domain name is required!\n path: /v2.0/dns/live\n invalidIpAddress:\n summary: Malformed ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: Pass a valid value for 'ipAddress' param.\n path: /v2.0/dns/live\n missingApiKey:\n summary: API key not sent\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/domain/dns/live\n status: 400\n timestamp: '2026-11-25T10:07:00.000Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 API key invalid\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid API key\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/dns/live\n status: 401\n timestamp: '2026-11-25T10:07:00.000Z'\n '406':\n description: Unsupported Media Type \u2014 format is not json or xml\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badFormat:\n summary: format value not supported\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/domain/dns/live\n status: 406\n timestamp: '2026-11-25T10:07:00.000Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n DNSLookupResponse:\n type: object\n required:\n - status\n - queryTime\n - dnsRecords\n properties:\n status:\n type: boolean\n description: Indicates whether the query was processed successfully.\n queryTime:\n type: string\n description: Time at which the query was made, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n domainName:\n type: string\n description: Queried domain name.\n domainRegistered:\n type: boolean\n description: Indicates whether the domain is registered.\n ipAddress:\n type: string\n description: IP address queried (present when the ipAddress parameter is used, together with or instead of host-name).\n dnsTypes:\n $ref: '#/components/schemas/DnsTypes'\n description: Map of each record type found to its IANA type code. Omitted when the domain is not registered or no records were found.\n dnsRecords:\n type: array\n description: List of DNS records. Field presence varies by dnsType \u2014 see DnsRecord for which fields apply to which type.\n items:\n $ref: '#/components/schemas/DnsRecord'\n DnsTypes:\n type: object\n description: 'Map of each DNS record type present in dnsRecords to its IANA DNS resource record type code (e.g. A: 1, AAAA: 28, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12). Indicates which record types were found, not how many of each \u2014 count entries in dnsRecords for that.'\n additionalProperties:\n title: DnsTypeCode\n type: integer\n description: 'IANA DNS resource record type code for this DNS record type (A: 1, AAAA: 28, CNAME: 5, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12).'\n DnsRecord:\n type: object\n description: A single DNS resource record. name, type, dnsType, ttl, rawText, and rRsetType are always present; every other field is populated only for the dnsType(s) noted in its description.\n required:\n - name\n - type\n - dnsType\n - ttl\n - rawText\n - rRsetType\n properties:\n name:\n type: string\n description: Name of the queried domain, or the reverse DNS name (e.g. '8.8.8.8.in-addr.arpa') for PTR records.\n type:\n type: integer\n description: DNS type code (1=A, 28=AAAA, 5=CNAME, 15=MX, 2=NS, 6=SOA, 16=TXT, 99=SPF, 12=PTR).\n dnsType:\n type: string\n enum:\n - A\n - AAAA\n - CNAME\n - MX\n - NS\n - SOA\n - TXT\n - SPF\n - PTR\n description: DNS record type as a string.\n ttl:\n type: integer\n description: Time to live in seconds.\n rawText:\n type: string\n description: Raw (un-parsed) DNS record text.\n rRsetType:\n type: integer\n description: Resource record set type code.\n address:\n type: string\n description: IPv4 or IPv6 address. Present only when dnsType is A or AAAA.\n target:\n type: string\n description: Target hostname. Present only when dnsType is CNAME or MX.\n priority:\n type: integer\n description: Mail server priority. Present only when dnsType is MX.\n singleName:\n type: string\n description: Authoritative name server (NS) or reverse-resolved hostname (PTR). Present only when dnsType is NS or PTR.\n admin:\n type: string\n description: Administrative contact email. Present only when dnsType is SOA.\n host:\n type: string\n description: Primary name server. Present only when dnsType is SOA.\n expire:\n type: integer\n description: Expiry time in seconds. Present only when dnsType is SOA.\n minimum:\n type: integer\n description: Minimum TTL in seconds. Present only when dnsType is SOA.\n refresh:\n type: integer\n description: Refresh interval in seconds. Present only when dnsType is SOA.\n retry:\n type: integer\n description: Retry interval in seconds. Present only when dnsType is SOA.\n serial:\n type: integer\n description: Serial number. Present only when dnsType is SOA.\n strings:\n type: array\n description: Verification or policy strings. Present only when dnsType is TXT or SPF.\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
61094
|
+
"dns-lookup": "openapi: 3.1.1\ninfo:\n title: DNS Lookup API - Live DNS Records, TTLs & PTR Lookups for Any Hostname\n version: 1.0.0\n description: Performs a live DNS lookup for any hostname or IP address, returning real-time records from authoritative name servers. Supports A, AAAA, MX, NS, SOA, SPF, TXT, and CNAME record types, plus PTR records, which are looked up from an IP address passed in the ipAddress parameter with type PTR or all. Each record object includes parsed fields such as address, target, priority, TTL, serial, or verification strings, depending on the record type. Pass a comma-separated list of record types with the type parameter, or use 'all' to retrieve every supported type. The optional format parameter allows switching between JSON and XML output.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: DNS Lookup API Server\npaths:\n /domain/dns/live:\n get:\n tags:\n - DNS APIs\n summary: Perform a live DNS lookup for any hostname or IP address\n description: Retrieve real-time DNS records for any hostname or IP address. Returns A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, and PTR records with full parsed fields.\n operationId: dnsLookup\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Format of the response.\n - name: host-name\n in: query\n required: false\n schema:\n type: string\n description: Hostname or URL whose DNS records are required. Send `host-name`, `ipAddress`, or both.\n - name: ipAddress\n in: query\n required: false\n schema:\n type: string\n description: IPv4 or IPv6 address whose PTR record is required. Use it with `type` set to `PTR` or `all`. Send `host-name`, `ipAddress`, or both; with both, `host-name` is used for the other record types and `ipAddress` for the PTR record.\n - name: type\n in: query\n required: true\n schema:\n type: string\n enum:\n - A\n - AAAA\n - MX\n - NS\n - SOA\n - SPF\n - TXT\n - CNAME\n - PTR\n - all\n description: 'A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, PTR, or all. Values are case-insensitive. PTR is looked up from `ipAddress`; the other types are looked up from `host-name`. With only `ipAddress` sent, use `PTR` or `all`.'\n - name: isAuthoritative\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Set true to read the records from the zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cnameDepth to follow it. Answers read this way are not added to the historical DNS database.\n - name: cnameDepth\n in: query\n required: false\n schema:\n type: integer\n minimum: 0\n maximum: 4\n default: 0\n description: How many CNAME links to follow before returning the records they point at. 0 returns only what the queried name itself holds. A value below 0 or above 4 is rejected with a 400.\n - name: relativeRecords\n in: query\n required: false\n schema:\n type: boolean\n default: true\n description: Keeps the records picked up for other names along the way, such as a CNAME target's own records. Set false to return only the records whose name is the queried domain itself. PTR records are kept either way.\n responses:\n '200':\n description: Successful DNS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DNSLookupResponse'\n examples:\n default:\n value:\n status: true\n queryTime: '2026-06-06 10:43:05'\n domainName: example.com\n domainRegistered: true\n dnsTypes:\n A: 1\n NS: 2\n SOA: 6\n MX: 15\n TXT: 16\n AAAA: 28\n SPF: 99\n dnsRecords:\n - name: example.com\n type: 1\n dnsType: A\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tA\\t104.20.23.154\"\n rRsetType: 1\n address: 104.20.23.154\n - name: example.com\n type: 1\n dnsType: A\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tA\\t172.66.147.243\"\n rRsetType: 1\n address: 172.66.147.243\n - name: example.com\n type: 2\n dnsType: NS\n ttl: 21600\n rawText: \"example.com.\\t\\t21600\\tIN\\tNS\\telliott.ns.cloudflare.com.\"\n rRsetType: 2\n singleName: elliott.ns.cloudflare.com.\n - name: example.com\n type: 2\n dnsType: NS\n ttl: 21600\n rawText: \"example.com.\\t\\t21600\\tIN\\tNS\\thera.ns.cloudflare.com.\"\n rRsetType: 2\n singleName: hera.ns.cloudflare.com.\n - name: example.com\n type: 6\n dnsType: SOA\n ttl: 1800\n rawText: \"example.com.\\t\\t1800\\tIN\\tSOA\\telliott.ns.cloudflare.com. dns.cloudflare.com. 2405749864 10000 2400 604800 1800\"\n rRsetType: 6\n admin: dns.cloudflare.com.\n host: elliott.ns.cloudflare.com.\n expire: 604800\n minimum: 1800\n refresh: 10000\n retry: 2400\n serial: 2405749864\n - name: example.com\n type: 15\n dnsType: MX\n ttl: 236\n rawText: \"example.com.\\t\\t236\\tIN\\tMX\\t0 .\"\n rRsetType: 15\n target: .\n priority: 0\n - name: example.com\n type: 16\n dnsType: TXT\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tTXT\\t\\\"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\\\"\"\n rRsetType: 16\n strings:\n - _k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\n - name: example.com\n type: 28\n dnsType: AAAA\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tAAAA\\t2606:4700:10:0:0:0:ac42:93f3\"\n rRsetType: 28\n address: 2606:4700:10:0:0:0:ac42:93f3\n - name: example.com\n type: 28\n dnsType: AAAA\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tAAAA\\t2606:4700:10:0:0:0:6814:179a\"\n rRsetType: 28\n address: 2606:4700:10:0:0:0:6814:179a\n - name: example.com\n type: 99\n dnsType: SPF\n ttl: 300\n rawText: \"example.com.\\t\\t300\\tIN\\tSPF\\t\\\"v=spf1 -all\\\"\"\n rRsetType: 99\n strings:\n - v=spf1 -all\n ptrLookup:\n summary: PTR lookup via ipAddress\n value:\n status: true\n queryTime: '2026-07-23 09:51:24'\n ipAddress: 8.8.8.8\n dnsTypes:\n PTR: 12\n dnsRecords:\n - name: 8.8.8.8.in-addr.arpa\n type: 12\n dnsType: PTR\n ttl: 16954\n rawText: \"8.8.8.8.in-addr.arpa.\\t16954\\tIN\\tPTR\\tdns.google.\"\n rRsetType: 12\n singleName: dns.google.\n unregisteredDomain:\n summary: Domain not registered, or no records found (200 with domainRegistered false; credits are still charged)\n value:\n status: true\n queryTime: '2026-11-20 10:10:24'\n domainName: thisdomaindoesnotexist-zzz123.com\n domainRegistered: false\n dnsRecords: []\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid parameters, or missing API key\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingParams:\n summary: Neither host-name nor ipAddress provided (or another required parameter missing)\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/domain/dns/live\n status: 400\n timestamp: '2026-07-23T09:50:58.722Z'\n invalidType:\n summary: Unsupported DNS record type\n value:\n timestamp: '2026-07-23T09:51:08.447Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please provide correct dns records type(s) [For Technical Support: support@whoisfreaks.com]'\n path: /v2.0/dns/live\n malformedHostname:\n summary: Hostname missing a valid TLD\n value:\n timestamp: '2026-07-23T09:54:13.140Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value[For Technical Support: support@whoisfreaks.com]'\n path: /v2.0/dns/live\n ptrWithoutIpAddress:\n summary: PTR requested without ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: IP Address is required!\n path: /v2.0/dns/live\n recordTypeWithoutHostName:\n summary: Non-PTR type requested with only ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: Domain name is required!\n path: /v2.0/dns/live\n invalidIpAddress:\n summary: Malformed ipAddress\n value:\n timestamp: '2026-11-25T10:07:00.000Z'\n status: 400\n error: Invalid Param Exception\n message: Pass a valid value for 'ipAddress' param.\n path: /v2.0/dns/live\n missingApiKey:\n summary: API key not sent\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/domain/dns/live\n status: 400\n timestamp: '2026-11-25T10:07:00.000Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 API key invalid\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid API key\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/dns/live\n status: 401\n timestamp: '2026-11-25T10:07:00.000Z'\n '406':\n description: Unsupported Media Type \u2014 format is not json or xml\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badFormat:\n summary: format value not supported\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/domain/dns/live\n status: 406\n timestamp: '2026-11-25T10:07:00.000Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n DNSLookupResponse:\n type: object\n required:\n - status\n - queryTime\n - dnsRecords\n properties:\n status:\n type: boolean\n description: Indicates whether the query was processed successfully.\n queryTime:\n type: string\n description: Time at which the query was made, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n domainName:\n type: string\n description: Queried domain name.\n domainRegistered:\n type: boolean\n description: Indicates whether the domain is registered.\n ipAddress:\n type: string\n description: IP address queried (present when the ipAddress parameter is used, together with or instead of host-name).\n dnsTypes:\n $ref: '#/components/schemas/DnsTypes'\n description: Map of each record type found to its IANA type code. Omitted when the domain is not registered or no records were found.\n dnsRecords:\n type: array\n description: List of DNS records. Field presence varies by dnsType \u2014 see DnsRecord for which fields apply to which type.\n items:\n $ref: '#/components/schemas/DnsRecord'\n DnsTypes:\n type: object\n description: 'Map of each DNS record type present in dnsRecords to its IANA DNS resource record type code (e.g. A: 1, AAAA: 28, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12). Indicates which record types were found, not how many of each \u2014 count entries in dnsRecords for that.'\n additionalProperties:\n title: DnsTypeCode\n type: integer\n description: 'IANA DNS resource record type code for this DNS record type (A: 1, AAAA: 28, CNAME: 5, MX: 15, NS: 2, SOA: 6, TXT: 16, SPF: 99, PTR: 12).'\n DnsRecord:\n type: object\n description: A single DNS resource record. name, type, dnsType, ttl, rawText, and rRsetType are always present; every other field is populated only for the dnsType(s) noted in its description.\n required:\n - name\n - type\n - dnsType\n - ttl\n - rawText\n - rRsetType\n properties:\n name:\n type: string\n description: Name of the queried domain, or the reverse DNS name (e.g. '8.8.8.8.in-addr.arpa') for PTR records.\n type:\n type: integer\n description: DNS type code (1=A, 28=AAAA, 5=CNAME, 15=MX, 2=NS, 6=SOA, 16=TXT, 99=SPF, 12=PTR).\n dnsType:\n type: string\n enum:\n - A\n - AAAA\n - CNAME\n - MX\n - NS\n - SOA\n - TXT\n - SPF\n - PTR\n description: DNS record type as a string.\n ttl:\n type: integer\n description: Time to live in seconds.\n rawText:\n type: string\n description: Raw (un-parsed) DNS record text.\n rRsetType:\n type: integer\n description: Resource record set type code.\n address:\n type: string\n description: IPv4 or IPv6 address. Present only when dnsType is A or AAAA.\n target:\n type: string\n description: Target hostname. Present only when dnsType is CNAME or MX.\n priority:\n type: integer\n description: Mail server priority. Present only when dnsType is MX.\n singleName:\n type: string\n description: Authoritative name server (NS) or reverse-resolved hostname (PTR). Present only when dnsType is NS or PTR.\n admin:\n type: string\n description: Administrative contact email. Present only when dnsType is SOA.\n host:\n type: string\n description: Primary name server. Present only when dnsType is SOA.\n expire:\n type: integer\n description: Expiry time in seconds. Present only when dnsType is SOA.\n minimum:\n type: integer\n description: Minimum TTL in seconds. Present only when dnsType is SOA.\n refresh:\n type: integer\n description: Refresh interval in seconds. Present only when dnsType is SOA.\n retry:\n type: integer\n description: Retry interval in seconds. Present only when dnsType is SOA.\n serial:\n type: integer\n description: Serial number. Present only when dnsType is SOA.\n strings:\n type: array\n description: Verification or policy strings. Present only when dnsType is TXT or SPF.\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
|
|
60973
61095
|
"reverse-dns-lookup": `openapi: 3.1.1
|
|
60974
61096
|
info:
|
|
60975
61097
|
title: Reverse DNS Lookup API - Find Every Hostname Behind an IP, MX, NS, or CNAME
|
|
@@ -61033,7 +61155,7 @@ paths:
|
|
|
61033
61155
|
- name: exact
|
|
61034
61156
|
in: query
|
|
61035
61157
|
required: false
|
|
61036
|
-
description: When
|
|
61158
|
+
description: When false (default), the value is matched as a pattern, where '*' matches any characters. When true, the value is matched exactly. Ignored for A and AAAA records, which always match the IP.
|
|
61037
61159
|
schema:
|
|
61038
61160
|
type: boolean
|
|
61039
61161
|
default: false
|
|
@@ -61045,6 +61167,15 @@ paths:
|
|
|
61045
61167
|
type: integer
|
|
61046
61168
|
minimum: 1
|
|
61047
61169
|
default: 1
|
|
61170
|
+
- name: sort
|
|
61171
|
+
in: query
|
|
61172
|
+
required: false
|
|
61173
|
+
schema:
|
|
61174
|
+
type: string
|
|
61175
|
+
enum:
|
|
61176
|
+
- asc
|
|
61177
|
+
- desc
|
|
61178
|
+
description: 'Sort results by last-seen time: asc for ascending or desc for descending. Results are not sorted when omitted.'
|
|
61048
61179
|
responses:
|
|
61049
61180
|
'200':
|
|
61050
61181
|
description: Successful Response
|
|
@@ -62926,7 +63057,7 @@ security:
|
|
|
62926
63057
|
info:
|
|
62927
63058
|
title: Domain Typosquatting API - Find Typo and Look-Alike Domains for Brand Protection and Phishing Discovery
|
|
62928
63059
|
version: 1.0.0
|
|
62929
|
-
description:
|
|
63060
|
+
description: Find the registered lookalike domains of a brand by keyword or by wildcard pattern, across 7,851 TLDs and SLDs. Each match returns its registration, expiry and last-seen dates where available and a drop flag, 100 matches to a page. Built for brand and trademark protection, phishing discovery, scheduled monitoring and reclaiming names that come free.
|
|
62930
63061
|
contact:
|
|
62931
63062
|
name: APIFreaks Support
|
|
62932
63063
|
url: https://apifreaks.com/contact
|
|
@@ -62940,7 +63071,7 @@ paths:
|
|
|
62940
63071
|
tags:
|
|
62941
63072
|
- Domain APIs
|
|
62942
63073
|
summary: Find registered typo-variant or wildcard-pattern domains for a brand keyword.
|
|
62943
|
-
description: The Domain Typosquatting API searches
|
|
63074
|
+
description: The Domain Typosquatting API searches registered domains for names that look like a brand. Send a keyword for typo and homoglyph variants, or a wildcard pattern to also catch brand-plus-word and IDN names; each request takes one of the two, never both. Results cover 7,851 TLDs and SLDs and include each match's registration, expiry and last-seen dates where available and its drop flag, 100 matches to a page.
|
|
62944
63075
|
parameters:
|
|
62945
63076
|
- name: format
|
|
62946
63077
|
in: query
|
|
@@ -62965,15 +63096,15 @@ paths:
|
|
|
62965
63096
|
required: false
|
|
62966
63097
|
schema:
|
|
62967
63098
|
type: string
|
|
62968
|
-
minLength:
|
|
63099
|
+
minLength: 5
|
|
62969
63100
|
maxLength: 63
|
|
62970
|
-
description: Wildcard search
|
|
63101
|
+
description: Wildcard search that combines fuzzy matching with * wildcards, to also catch names that add words around the brand and IDN names (start the pattern with xn--). * is the only wildcard and each one matches zero or more characters, anywhere in the pattern, up to 3 per request. The pattern needs at least 5 characters besides the asterisks and at most 63 in total; more than 3 asterisks or any other regex character returns 400. Use either keyword or pattern, never both.
|
|
62971
63102
|
- name: pageToken
|
|
62972
63103
|
in: query
|
|
62973
63104
|
required: false
|
|
62974
63105
|
schema:
|
|
62975
63106
|
type: string
|
|
62976
|
-
description: Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request. Results page at 100
|
|
63107
|
+
description: Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request; a request with only pageToken returns 400. Results page at 100 matches per page, and each page is a separate search.
|
|
62977
63108
|
responses:
|
|
62978
63109
|
'200':
|
|
62979
63110
|
description: Success
|
|
@@ -62986,11 +63117,11 @@ paths:
|
|
|
62986
63117
|
summary: Keyword search (paypal)
|
|
62987
63118
|
value:
|
|
62988
63119
|
status: true
|
|
62989
|
-
totalRecords:
|
|
63120
|
+
totalRecords: 1304
|
|
62990
63121
|
currentPage: 1
|
|
63122
|
+
totalPages: 14
|
|
62991
63123
|
hasNextPage: true
|
|
62992
|
-
|
|
62993
|
-
nextPageToken: <opaque_token>
|
|
63124
|
+
nextPageToken: eyJkb21haW5OYW1lIjoicGFlcGFsLmZyIiwiY3VycmVudFBhZ2UiOjF9
|
|
62994
63125
|
domains:
|
|
62995
63126
|
- domainName: p-aypal.com
|
|
62996
63127
|
createDate: '2025-04-17'
|
|
@@ -63003,31 +63134,50 @@ paths:
|
|
|
63003
63134
|
- domainName: p0aypal.com
|
|
63004
63135
|
createDate: '2017-12-29'
|
|
63005
63136
|
expiryDate: '2026-12-29'
|
|
63006
|
-
lastSeen: '2026-
|
|
63137
|
+
lastSeen: '2026-11-06'
|
|
63007
63138
|
isDropped: false
|
|
63008
|
-
- domainName:
|
|
63009
|
-
|
|
63010
|
-
|
|
63011
|
-
|
|
63012
|
-
|
|
63139
|
+
- domainName: p4ypal.com
|
|
63140
|
+
createDate: '2020-10-15'
|
|
63141
|
+
expiryDate: '2030-10-15'
|
|
63142
|
+
lastSeen: '2026-11-06'
|
|
63143
|
+
isDropped: false
|
|
63144
|
+
- domainName: paapal.com
|
|
63145
|
+
createDate: '2018-12-24'
|
|
63146
|
+
expiryDate: '2026-12-24'
|
|
63147
|
+
lastSeen: '2026-09-29'
|
|
63148
|
+
isDropped: false
|
|
63149
|
+
- domainName: paaypal.asia
|
|
63150
|
+
createDate: '2008-03-24'
|
|
63151
|
+
expiryDate: '2027-03-24'
|
|
63152
|
+
lastSeen: '2026-08-22'
|
|
63153
|
+
isDropped: false
|
|
63154
|
+
- domainName: paaypal.com
|
|
63155
|
+
createDate: '2000-05-21'
|
|
63156
|
+
expiryDate: '2027-05-21'
|
|
63157
|
+
lastSeen: '2026-11-07'
|
|
63158
|
+
isDropped: false
|
|
63159
|
+
- domainName: padpal.com
|
|
63160
|
+
createDate: '2000-04-09'
|
|
63161
|
+
expiryDate: '2027-04-09'
|
|
63162
|
+
lastSeen: '2026-09-29'
|
|
63013
63163
|
isDropped: false
|
|
63014
63164
|
patternSuccess:
|
|
63015
|
-
summary: Wildcard pattern search (
|
|
63165
|
+
summary: Wildcard pattern search (paypal-*)
|
|
63016
63166
|
value:
|
|
63017
63167
|
status: true
|
|
63018
|
-
totalRecords:
|
|
63168
|
+
totalRecords: 10370
|
|
63019
63169
|
currentPage: 1
|
|
63170
|
+
totalPages: 104
|
|
63020
63171
|
hasNextPage: true
|
|
63021
|
-
|
|
63022
|
-
nextPageToken: <opaque_token>
|
|
63172
|
+
nextPageToken: eyJkb21haW5OYW1lIjoicGFpcGFsbC5jb20iLCJjdXJyZW50UGFnZSI6MX0=
|
|
63023
63173
|
domains:
|
|
63024
|
-
- domainName:
|
|
63025
|
-
createDate: '
|
|
63026
|
-
expiryDate: '2026-
|
|
63027
|
-
lastSeen: '2026-
|
|
63028
|
-
isDropped:
|
|
63029
|
-
- domainName:
|
|
63030
|
-
lastSeen: '
|
|
63174
|
+
- domainName: p-aypal.com
|
|
63175
|
+
createDate: '2025-04-17'
|
|
63176
|
+
expiryDate: '2026-04-17'
|
|
63177
|
+
lastSeen: '2026-05-29'
|
|
63178
|
+
isDropped: true
|
|
63179
|
+
- domainName: p-aypal.de
|
|
63180
|
+
lastSeen: '2024-07-11'
|
|
63031
63181
|
isDropped: true
|
|
63032
63182
|
emptyResult:
|
|
63033
63183
|
summary: No matches found
|
|
@@ -63134,13 +63284,13 @@ components:
|
|
|
63134
63284
|
description: Domain name.
|
|
63135
63285
|
createDate:
|
|
63136
63286
|
type: string
|
|
63137
|
-
description:
|
|
63287
|
+
description: Registration date (YYYY-MM-DD), where available.
|
|
63138
63288
|
expiryDate:
|
|
63139
63289
|
type: string
|
|
63140
|
-
description:
|
|
63290
|
+
description: Expiry date (YYYY-MM-DD), where available.
|
|
63141
63291
|
lastSeen:
|
|
63142
63292
|
type: string
|
|
63143
|
-
description: Last time the domain was observed (YYYY-MM-DD)
|
|
63293
|
+
description: Last time the domain was observed (YYYY-MM-DD), where available.
|
|
63144
63294
|
isDropped:
|
|
63145
63295
|
type: boolean
|
|
63146
63296
|
description: Indicates whether the domain has dropped out of the registry and become available to register again.
|
|
@@ -50,6 +50,22 @@ paths:
|
|
|
50
50
|
- CNAME
|
|
51
51
|
- PTR
|
|
52
52
|
- all
|
|
53
|
+
- name: isAuthoritative
|
|
54
|
+
in: query
|
|
55
|
+
required: false
|
|
56
|
+
description: Set true to read the records from each zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cname_depth to follow it. Answers read this way are not added to the historical DNS database.
|
|
57
|
+
schema:
|
|
58
|
+
type: boolean
|
|
59
|
+
default: false
|
|
60
|
+
- name: cname_depth
|
|
61
|
+
in: query
|
|
62
|
+
required: false
|
|
63
|
+
description: 'How many CNAME links to follow before returning the records they point at, from 0 to 4. The default, 0, returns only what each queried name itself holds. A value below 0 or above 4 is rejected with a 400. Note the spelling: the single DNS lookup names this cnameDepth.'
|
|
64
|
+
schema:
|
|
65
|
+
type: integer
|
|
66
|
+
minimum: 0
|
|
67
|
+
maximum: 4
|
|
68
|
+
default: 0
|
|
53
69
|
requestBody:
|
|
54
70
|
required: true
|
|
55
71
|
content:
|