@apifreaks/openapi-specs 0.4.7 → 0.4.9

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.
Files changed (31) hide show
  1. package/dist/index.cjs +49 -737
  2. package/dist/index.js +49 -737
  3. package/dist/specs/dns/dns-lookup.yaml +1 -2
  4. package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +3 -6
  5. package/dist/specs/ssl/ssl-certificate-lookup.yaml +3 -6
  6. package/dist/specs/user-agent/bulk-user-agent-parser.yaml +6 -6
  7. package/dist/specs/weather/air-quality.yaml +2 -4
  8. package/dist/specs/weather/bulk-live-weather.yaml +2 -4
  9. package/dist/specs/weather/historical-weather.yaml +1 -2
  10. package/dist/specs/weather/live-weather.yaml +2 -4
  11. package/dist/specs/weather/marine-weather.yaml +3 -6
  12. package/dist/specs/weather/time-series-weather.yaml +3 -4
  13. package/dist/specs/whois/asn-lookup.yaml +1 -2
  14. package/dist/specs/whois/bulk-whois-lookup.yaml +1 -2
  15. package/dist/specs/whois/domain-whois-history-lookup.yaml +1 -2
  16. package/dist/specs/whois/whois-domain-lookup.yaml +1 -2
  17. package/package.json +1 -1
  18. package/specs/dns/dns-lookup.json +1 -2
  19. package/specs/ssl/ssl-certificate-chain-lookup.json +3 -6
  20. package/specs/ssl/ssl-certificate-lookup.json +3 -6
  21. package/specs/user-agent/bulk-user-agent-parser.json +6 -6
  22. package/specs/weather/air-quality.json +2 -4
  23. package/specs/weather/bulk-live-weather.json +2 -4
  24. package/specs/weather/historical-weather.json +1 -2
  25. package/specs/weather/live-weather.json +2 -4
  26. package/specs/weather/marine-weather.json +3 -6
  27. package/specs/weather/time-series-weather.json +3 -4
  28. package/specs/whois/asn-lookup.json +1 -2
  29. package/specs/whois/bulk-whois-lookup.json +1 -2
  30. package/specs/whois/domain-whois-history-lookup.json +1 -2
  31. package/specs/whois/whois-domain-lookup.json +1 -2
package/dist/index.js CHANGED
@@ -6632,8 +6632,7 @@ var dns_lookup_default = {
6632
6632
  },
6633
6633
  queryTime: {
6634
6634
  type: "string",
6635
- format: "date-time",
6636
- description: "Time at which the query was made (Format:YYYY-MM-DD HH:mm:ss)."
6635
+ 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`)."
6637
6636
  },
6638
6637
  domainName: {
6639
6638
  type: "string",
@@ -31383,8 +31382,7 @@ var ssl_certificate_chain_lookup_default = {
31383
31382
  },
31384
31383
  queryTime: {
31385
31384
  type: "string",
31386
- format: "date-time",
31387
- description: "Timestamp when the query was executed."
31385
+ description: "Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
31388
31386
  },
31389
31387
  sslCertificates: {
31390
31388
  type: "array",
@@ -31427,13 +31425,11 @@ var ssl_certificate_chain_lookup_default = {
31427
31425
  },
31428
31426
  validityStartDate: {
31429
31427
  type: "string",
31430
- format: "date-time",
31431
- description: "Certificate validity start date."
31428
+ description: "Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`)."
31432
31429
  },
31433
31430
  validityEndDate: {
31434
31431
  type: "string",
31435
- format: "date-time",
31436
- description: "Certificate validity end date."
31432
+ description: "Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`)."
31437
31433
  },
31438
31434
  serialNumber: {
31439
31435
  type: "string",
@@ -32047,8 +32043,7 @@ var ssl_certificate_lookup_default = {
32047
32043
  },
32048
32044
  queryTime: {
32049
32045
  type: "string",
32050
- format: "date-time",
32051
- description: "Timestamp when the query was executed."
32046
+ description: "Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
32052
32047
  },
32053
32048
  sslCertificates: {
32054
32049
  type: "array",
@@ -32091,13 +32086,11 @@ var ssl_certificate_lookup_default = {
32091
32086
  },
32092
32087
  validityStartDate: {
32093
32088
  type: "string",
32094
- format: "date-time",
32095
- description: "Certificate validity start date."
32089
+ description: "Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`)."
32096
32090
  },
32097
32091
  validityEndDate: {
32098
32092
  type: "string",
32099
- format: "date-time",
32100
- description: "Certificate validity end date."
32093
+ description: "Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`)."
32101
32094
  },
32102
32095
  serialNumber: {
32103
32096
  type: "string",
@@ -33797,7 +33790,7 @@ var bulk_user_agent_parser_default = {
33797
33790
  info: {
33798
33791
  title: "Bulk User Agent Parser - Multi User Agent Parsing",
33799
33792
  version: "1.0.0",
33800
- description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33793
+ description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 20,000 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33801
33794
  contact: {
33802
33795
  name: "APIFreaks Support",
33803
33796
  url: "https://apifreaks.com/contact",
@@ -33815,7 +33808,7 @@ var bulk_user_agent_parser_default = {
33815
33808
  post: {
33816
33809
  tags: ["User Agent APIs"],
33817
33810
  summary: "Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details",
33818
- description: "Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33811
+ description: "Parse up to 20,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33819
33812
  operationId: "bulkParseUserAgent",
33820
33813
  parameters: [
33821
33814
  {
@@ -34044,7 +34037,7 @@ var bulk_user_agent_parser_default = {
34044
34037
  }
34045
34038
  },
34046
34039
  "413": {
34047
- description: "Payload Too Large \u2014 More than 100 strings in uaStrings",
34040
+ description: "Payload Too Large \u2014 More than 20,000 strings in uaStrings",
34048
34041
  content: {
34049
34042
  "application/json": {
34050
34043
  schema: {
@@ -34052,7 +34045,7 @@ var bulk_user_agent_parser_default = {
34052
34045
  },
34053
34046
  examples: {
34054
34047
  tooManyStrings: {
34055
- summary: "uaStrings array exceeds the 100-item limit",
34048
+ summary: "uaStrings array exceeds the 20,000-item limit",
34056
34049
  value: {
34057
34050
  error: "Payload too large Exception",
34058
34051
  message: "Maximum request body size limit exceeded",
@@ -34092,8 +34085,8 @@ var bulk_user_agent_parser_default = {
34092
34085
  properties: {
34093
34086
  uaStrings: {
34094
34087
  type: "array",
34095
- description: "Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.",
34096
- maxItems: 100,
34088
+ description: "Array of User-Agent strings to parse. Maximum 20,000 strings per request \u2014 exceeding that returns a 413.",
34089
+ maxItems: 2e4,
34097
34090
  items: {
34098
34091
  type: "string"
34099
34092
  }
@@ -35224,8 +35217,7 @@ var air_quality_default = {
35224
35217
  properties: {
35225
35218
  timestamp: {
35226
35219
  type: "string",
35227
- format: "date-time",
35228
- description: "ISO 8601 formatted timestamp (iso8601)."
35220
+ description: "Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
35229
35221
  },
35230
35222
  european_aqi: {
35231
35223
  type: "integer",
@@ -35293,8 +35285,7 @@ var air_quality_default = {
35293
35285
  properties: {
35294
35286
  timestamp: {
35295
35287
  type: "string",
35296
- format: "date-time",
35297
- description: "ISO 8601 formatted timestamp"
35288
+ description: "Local timestamp of this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
35298
35289
  },
35299
35290
  pm10: {
35300
35291
  type: "number",
@@ -36833,8 +36824,7 @@ var bulk_live_weather_default = {
36833
36824
  properties: {
36834
36825
  timestamp: {
36835
36826
  type: "string",
36836
- format: "date-time",
36837
- description: "ISO 8601 formatted timestamp of the current weather observation."
36827
+ description: "Local timestamp of the current weather observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
36838
36828
  },
36839
36829
  temperature_2m: {
36840
36830
  type: "number",
@@ -37039,8 +37029,7 @@ var bulk_live_weather_default = {
37039
37029
  properties: {
37040
37030
  timestamp: {
37041
37031
  type: "string",
37042
- format: "date-time",
37043
- description: "ISO 8601 formatted timestamp (iso8601)."
37032
+ description: "Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
37044
37033
  },
37045
37034
  european_aqi: {
37046
37035
  type: "integer",
@@ -38724,8 +38713,7 @@ var historical_weather_default = {
38724
38713
  properties: {
38725
38714
  timestamp: {
38726
38715
  type: "string",
38727
- format: "date-time",
38728
- description: "Local timestamp for this hourly reading (YYYY-MM-DDTHH:MM)."
38716
+ description: "Local timestamp for this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
38729
38717
  },
38730
38718
  temperature_2m: {
38731
38719
  type: "number",
@@ -39487,8 +39475,7 @@ var live_weather_default = {
39487
39475
  properties: {
39488
39476
  timestamp: {
39489
39477
  type: "string",
39490
- format: "date-time",
39491
- description: "ISO 8601 formatted timestamp of the current weather observation."
39478
+ description: "Local timestamp of the current weather observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
39492
39479
  },
39493
39480
  temperature_2m: {
39494
39481
  type: "number",
@@ -39693,8 +39680,7 @@ var live_weather_default = {
39693
39680
  properties: {
39694
39681
  timestamp: {
39695
39682
  type: "string",
39696
- format: "date-time",
39697
- description: "ISO 8601 formatted timestamp (iso8601)."
39683
+ description: "Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
39698
39684
  },
39699
39685
  european_aqi: {
39700
39686
  type: "integer",
@@ -40421,8 +40407,7 @@ var marine_weather_default = {
40421
40407
  properties: {
40422
40408
  timestamp: {
40423
40409
  type: "string",
40424
- format: "date-time",
40425
- description: "ISO 8601 formatted timestamp of the current observation."
40410
+ description: "Local timestamp of the current observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
40426
40411
  },
40427
40412
  wave_height: {
40428
40413
  type: ["number", "null"],
@@ -40579,8 +40564,7 @@ var marine_weather_default = {
40579
40564
  properties: {
40580
40565
  timestamp: {
40581
40566
  type: "string",
40582
- format: "date-time",
40583
- description: "ISO 8601 formatted timestamp of this hourly entry."
40567
+ description: "Local timestamp of this hourly entry, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
40584
40568
  },
40585
40569
  wave_height: {
40586
40570
  type: ["number", "null"],
@@ -40656,8 +40640,7 @@ var marine_weather_default = {
40656
40640
  properties: {
40657
40641
  timestamp: {
40658
40642
  type: "string",
40659
- format: "date-time",
40660
- description: "ISO 8601 formatted timestamp of this minute-level entry."
40643
+ description: "Local timestamp of this minute-level entry, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
40661
40644
  },
40662
40645
  ocean_current_velocity: {
40663
40646
  type: ["number", "null"],
@@ -41406,8 +41389,8 @@ var time_series_weather_default = {
41406
41389
  properties: {
41407
41390
  timestamp: {
41408
41391
  type: "string",
41409
- format: "date-time",
41410
- description: "ISO 8601 formatted timestamp"
41392
+ format: "date",
41393
+ description: "Date of this daily entry, `YYYY-MM-DD`."
41411
41394
  },
41412
41395
  weather_code: {
41413
41396
  type: "integer",
@@ -41560,8 +41543,7 @@ var time_series_weather_default = {
41560
41543
  properties: {
41561
41544
  timestamp: {
41562
41545
  type: "string",
41563
- format: "date-time",
41564
- description: "ISO 8601 formatted timestamp"
41546
+ description: "Local timestamp of this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`)."
41565
41547
  },
41566
41548
  temperature_2m: {
41567
41549
  type: "number",
@@ -43533,8 +43515,7 @@ var asn_lookup_default = {
43533
43515
  },
43534
43516
  query_time: {
43535
43517
  type: "string",
43536
- format: "date-time",
43537
- description: "Timestamp when the WHOIS query was executed."
43518
+ description: "Timestamp when the WHOIS query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
43538
43519
  }
43539
43520
  }
43540
43521
  },
@@ -44599,8 +44580,7 @@ Registrars.`
44599
44580
  },
44600
44581
  query_time: {
44601
44582
  type: "string",
44602
- format: "date-time",
44603
- description: "Timestamp when the registry-level record was queried."
44583
+ description: "Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
44604
44584
  },
44605
44585
  whois_server: {
44606
44586
  type: "string",
@@ -45180,8 +45160,7 @@ Registrars.`
45180
45160
  },
45181
45161
  query_time: {
45182
45162
  type: "string",
45183
- format: "date-time",
45184
- description: "Timestamp when the registry-level record was queried."
45163
+ description: "Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
45185
45164
  },
45186
45165
  whois_server: {
45187
45166
  type: "string",
@@ -46487,8 +46466,7 @@ Registrars.`
46487
46466
  },
46488
46467
  query_time: {
46489
46468
  type: "string",
46490
- format: "date-time",
46491
- description: "Timestamp when the registry-level record was queried."
46469
+ description: "Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`)."
46492
46470
  },
46493
46471
  whois_server: {
46494
46472
  type: "string",
@@ -51365,8 +51343,7 @@ components:
51365
51343
  description: Indicates whether the query was processed successfully.
51366
51344
  queryTime:
51367
51345
  type: string
51368
- format: date-time
51369
- description: Time at which the query was made (Format:YYYY-MM-DD HH:mm:ss).
51346
+ 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\`).
51370
51347
  domainName:
51371
51348
  type: string
51372
51349
  description: Queried domain name.
@@ -55506,15 +55483,15 @@ security:
55506
55483
  `,
55507
55484
  "bulk-screenshot": "openapi: 3.1.1\ninfo:\n title: Bulk Screenshot API - Capture Up to 50 URLs in a Single Request\n version: 1.0.0\n description: Capture screenshots of multiple websites in a single POST request. Accepts up to 50 URLs per request with per-URL options for file type, viewport size, blocking, caching, and scrolling capture. Returns a status indicator, metadata with success/failure counts, and an array of per-URL results \u2014 each containing either screenshot data or an error message.\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: Bulk Screenshot API Server\npaths:\n /screenshot:\n post:\n tags:\n - Screenshot APIs\n summary: Capture screenshots of multiple websites in a single request.\n description: |-\n Our Bulk Screenshot API allows you to capture screenshots of multiple webpages simultaneously, saving you time and effort. Instead of manually capturing each page one by one, you can batch process URLs and receive high-quality screenshots in the format you choose.\n Maximum `50 URLs` per request.\n operationId: bulkScreenshot\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotRequest'\n examples:\n typicalRequest:\n summary: Typical bulk screenshot request\n value:\n urls:\n - url: https://example.com\n file_type: PNG\n - url: https://github.com\n file_type: JPEG\n full_page: true\n responses:\n '200':\n description: Successful response. Each item in `results` corresponds to one requested URL, in the same order; a URL that fails validation or capture returns an error object in its `url` field instead of screenshot data, while `status` stays \"fulfilled\" and `error_message` stays null.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotResponse'\n examples:\n success:\n summary: Successful response with mixed results\n value:\n status: success\n meta_data:\n total_urls: 2\n successful_urls: 1\n failed_urls: 1\n results:\n - url:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_6d83e1744f01.png\n url: https://example.com\n created_at: '2026-07-27T10:18:31.378Z'\n file_type: PNG\n output: json\n ttl: '2026-08-26T10:18:28.034Z'\n sizes: null\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:18:28.872Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Invalid request body\n content:\n application/json:\n examples:\n InvalidBody:\n summary: Invalid request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:18:42.036Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '413':\n description: Payload too large\n content:\n application/json:\n examples:\n PayloadTooLarge:\n summary: Payload too large\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v1.0/screenshot\n status: 413\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\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 BulkScreenshotSuccessItem:\n type: object\n description: Per-URL result entry. The `url` field holds either the screenshot metadata or an error object, depending on whether that specific URL was captured successfully.\n required:\n - status\n - url\n properties:\n status:\n type: string\n description: Processing status for this item (fulfilled).\n url:\n description: Screenshot metadata for this URL, or an error object if this specific URL could not be captured.\n oneOf:\n - description: Screenshot metadata with the same structure as the single Website Screenshot API response.\n $ref: '#/components/schemas/BulkScreenshotUrlData'\n - description: Per-item error returned when this specific URL cannot be captured.\n $ref: '#/components/schemas/ErrorResponse'\n error_message:\n type:\n - string\n - 'null'\n description: Observed to always be null; per-item error details are returned inside `url` instead.\n BulkScreenshotUrlData:\n type: object\n description: Screenshot result data for a single URL. Contains the same fields as the single Website Screenshot API response.\n required:\n - screenshot\n - url\n - created_at\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output.\n extracted_html:\n type: string\n format: uri\n description: URL of the extracted HTML from the webpage.\n extracted_text:\n type: string\n format: uri\n description: URL of the extracted plain text from the webpage.\n enable_caching:\n type: boolean\n description: Whether caching was enabled.\n omit_background:\n type: boolean\n description: Whether background was removed.\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation.\n fail_on_error:\n type: boolean\n description: Whether the request failed on error.\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked.\n block_ads:\n type: boolean\n description: Whether ads were blocked.\n headers:\n type: string\n description: Custom headers included in the request.\n cookies:\n type: string\n description: Cookies included in the request.\n scroll_to_element:\n type: string\n description: Element scrolled to before rendering.\n selector:\n type: string\n description: Element selected for rendering.\n blur_selector:\n type: string\n description: Elements blurred in the output.\n remove_selector:\n type: string\n description: Elements removed from the output.\n css:\n type: string\n description: Custom CSS injected into the page.\n css_url:\n type: string\n format: uri\n description: External CSS URL that was loaded.\n js:\n type: string\n description: Custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: External JavaScript URL that was loaded.\n user_agent:\n type: string\n description: User-Agent string that was used.\n accept_languages:\n type: string\n description: Accept-Language header that was used.\n delay:\n type: integer\n description: Delay duration in milliseconds.\n thumbnail_width:\n type: integer\n description: Thumbnail width in pixels.\n output:\n type: string\n description: Output type used.\n fresh:\n type: boolean\n description: Whether a fresh render was performed.\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered.\n full_page:\n type: boolean\n description: Whether full page capture was used.\n retina:\n type: boolean\n description: Whether retina capture was used.\n height:\n type: integer\n description: Viewport height used in pixels.\n width:\n type: integer\n description: Viewport width used in pixels.\n custom_html:\n type: string\n description: Custom HTML content rendered.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked.\n block_js:\n type: boolean\n description: Whether JavaScript was blocked.\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked.\n block_images:\n type: boolean\n description: Whether images were blocked.\n block_media:\n type: boolean\n description: Whether media files were blocked.\n block_font:\n type: boolean\n description: Whether fonts were blocked.\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked.\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked.\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked.\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked.\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked.\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked.\n block_specific_requests:\n type: string\n description: Specific requests that were blocked.\n adjust_top:\n type: integer\n description: Vertical position scrolled to in pixels.\n image_quality:\n type: integer\n description: Image quality level applied.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted.\n extract_text:\n type: boolean\n description: Whether text content was extracted.\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled.\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked.\n wait_for_event:\n type: string\n description: The event that triggered rendering.\n grayscale:\n type: integer\n description: Grayscale level applied (0-100).\n clip:\n $ref: '#/components/schemas/ClipRect'\n result_file_name:\n type: string\n description: Final filename used for the output.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled.\n timeout:\n type: integer\n description: Actual timeout duration in milliseconds.\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled.\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed.\n sizes:\n type: array\n items:\n type: string\n description: Dimensions used for each capture.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled.\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled.\n scroll_delay:\n type: integer\n description: Delay between scroll steps in milliseconds.\n selector_to_click:\n type: string\n description: CSS selector clicked before capture.\n click_recursion:\n type: integer\n description: Number of times the selector was clicked.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled.\n ClipRect:\n type: object\n description: Clipping rectangle dimensions for the captured area.\n required:\n - x\n - 'y'\n - width\n - height\n properties:\n x:\n type: integer\n description: X position of the clip rectangle in pixels.\n 'y':\n type: integer\n description: Y position of the clip rectangle in pixels.\n width:\n type: integer\n description: Width of the clip rectangle in pixels.\n height:\n type: integer\n description: Height of the clip rectangle in pixels.\n BulkScreenshotRequest:\n type: object\n description: Request body for bulk screenshot capture.\n required:\n - urls\n properties:\n urls:\n type: array\n description: Array of URL objects to capture. Maximum 50 items per request.\n maxItems: 50\n items:\n $ref: '#/components/schemas/BulkScreenshotUrlItem'\n BulkScreenshotUrlItem:\n type: object\n description: A single URL entry in a bulk screenshot request with per-URL options.\n required:\n - url\n properties:\n url:\n type: string\n format: uri\n description: URL of the website to capture.\n file_type:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - mp4\n - gif\n - webm\n description: Output format for this URL.\n width:\n type: integer\n description: Viewport width in pixels.\n height:\n type: integer\n description: Viewport height in pixels.\n full_page:\n type: boolean\n description: Capture a full-page screenshot.\n fresh:\n type: boolean\n description: Bypass cache.\n no_cookie_banners:\n type: boolean\n description: Remove cookie banners.\n enable_caching:\n type: boolean\n description: Enable caching.\n block_ads:\n type: boolean\n description: Block ads.\n block_chat_widgets:\n type: boolean\n description: Block chat widgets.\n extract_text:\n type: boolean\n description: Extract visible text.\n extract_html:\n type: boolean\n description: Extract HTML.\n extract_markdown:\n type: boolean\n description: Extract markdown.\n get_image_urls:\n type: boolean\n description: Extract image URLs.\n destroy_screenshot:\n type: boolean\n description: Auto-destroy after fetch.\n lazy_load:\n type: boolean\n description: Lazy-load content.\n scroll_delay:\n type: integer\n description: Delay in ms between scroll steps.\n retina:\n type: boolean\n description: 2x resolution.\n dark_mode:\n type: boolean\n description: Dark mode.\n block_tracking:\n type: boolean\n description: Block tracking.\n enable_incognito:\n type: boolean\n description: Incognito mode.\n omit_background:\n type: boolean\n description: Transparent background.\n thumbnail_width:\n type: integer\n description: Thumbnail width.\n adjust_top:\n type: integer\n description: Vertical scroll position.\n wait_for_event:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle\n description: Wait for event.\n grayscale:\n type: integer\n description: Grayscale (0-100).\n delay:\n type: integer\n description: Delay in ms.\n timeout:\n type: integer\n description: Timeout in ms.\n ttl:\n type: integer\n description: Cache TTL in seconds.\n image_quality:\n type: integer\n description: JPEG quality (0-100).\n clip[x]:\n type: integer\n description: Clip X.\n clip[y]:\n type: integer\n description: Clip Y.\n clip[width]:\n type: integer\n description: Clip width.\n clip[height]:\n type: integer\n description: Clip height.\n css_url:\n type: string\n description: CSS file URL.\n css:\n type: string\n description: Custom CSS.\n js_url:\n type: string\n description: JS file URL.\n js:\n type: string\n description: Custom JS.\n block_js:\n type: boolean\n description: Block JS.\n block_stylesheets:\n type: boolean\n description: Block stylesheets.\n block_images:\n type: boolean\n description: Block images.\n block_media:\n type: boolean\n description: Block media.\n block_font:\n type: boolean\n description: Block fonts.\n block_text_track:\n type: boolean\n description: Block text tracks.\n block_xhr:\n type: boolean\n description: Block XHR.\n block_fetch:\n type: boolean\n description: Block Fetch.\n block_event_source:\n type: boolean\n description: Block EventSource.\n block_web_socket:\n type: boolean\n description: Block WebSocket.\n block_manifest:\n type: boolean\n description: Block manifest.\n block_specific_requests:\n type: string\n description: Specific requests to block.\n blur_selector:\n type: string\n description: CSS selectors to blur.\n remove_selector:\n type: string\n description: CSS selectors to remove.\n scroll_to_element:\n type: string\n description: Element to scroll to.\n selector:\n type: string\n description: CSS selector to capture.\n selector_to_click:\n type: string\n description: Element to click.\n click_recursion:\n type: integer\n description: Click count.\n result_file_name:\n type: string\n description: Custom filename.\n user_agent:\n type: string\n description: Custom User-Agent.\n accept_languages:\n type: string\n description: Accept-Language.\n proxy:\n type: string\n description: Proxy config.\n headers:\n type: string\n description: Custom headers.\n cookies:\n type: string\n description: Cookies.\n custom_html:\n type: string\n description: Custom HTML.\n fail_on_error:\n type: boolean\n description: Fail on 4xx/5xx.\n longitude:\n type: number\n format: float\n description: Geolocation longitude.\n latitude:\n type: number\n format: float\n description: Geolocation latitude.\n scrolling_screenshot:\n type: boolean\n description: Scrolling mode.\n scroll_speed:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: Scroll speed.\n duration:\n type: number\n description: Duration in seconds.\n scroll_back:\n type: boolean\n description: Scroll back.\n start_immediately:\n type: boolean\n description: Start immediately.\n multiple_scrolling:\n type: boolean\n description: Multiple scrolling.\n sizes:\n type: array\n items:\n type: string\n description: Viewport sizes.\n video:\n type: boolean\n description: Video recording.\n BulkScreenshotMetaData:\n type: object\n description: Metadata about the bulk screenshot request results.\n required:\n - total_urls\n - successful_urls\n - failed_urls\n properties:\n total_urls:\n type: integer\n description: Total number of URLs processed.\n successful_urls:\n type: integer\n description: Number of URLs successfully processed.\n failed_urls:\n type: integer\n description: Number of URLs that failed to process.\n BulkScreenshotResponse:\n type: object\n description: Bulk screenshot response containing status, metadata, and per-URL results.\n required:\n - status\n - meta_data\n - results\n properties:\n status:\n type: string\n description: API request status indicator (success).\n meta_data:\n $ref: '#/components/schemas/BulkScreenshotMetaData'\n results:\n $ref: '#/components/schemas/BulkScreenshotResults'\n BulkScreenshotResults:\n type: array\n description: Array of per-URL results, one entry per requested URL, in the same order as the request. Each entry's `url` field holds either screenshot data or an error object.\n items:\n $ref: '#/components/schemas/BulkScreenshotSuccessItem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
55508
55485
  "website-screenshot": "openapi: 3.1.1\ninfo:\n title: Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output\n version: 1.0.0\n description: Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording. Supports multiple output formats including PNG, JPEG, WebP, PDF, MP4, GIF, and WebM. Returns a screenshot URL, timestamps, format metadata, and all echoed parameters. Returns a 400 error for an invalid or missing url, and a 408 error if the capture exceeds the configured timeout.\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: Website Screenshot API Server\npaths:\n /screenshot:\n get:\n tags:\n - Screenshot APIs\n summary: Build screenshots the way real users see the web \u2014 not just what fits on the screen.\n description: |\n Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording.\n Supports multiple output formats including JSON, image, GIF, MP4, and WebM.\n operationId: websiteScreenshot\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: ''json''.'\n - name: output\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - image\n description: Output format for screenshot results\n - name: file_type\n in: query\n required: false\n schema:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - mp4\n - gif\n - webm\n description: File type for screenshot output\n - name: url\n in: query\n required: true\n schema:\n type: string\n description: URLs to capture screenshots of\n - name: width\n in: query\n required: false\n schema:\n type: integer\n description: Browser viewport width in pixels\n - name: height\n in: query\n required: false\n schema:\n type: integer\n description: Browser viewport height in pixels\n - name: full_page\n in: query\n required: false\n schema:\n type: boolean\n description: Capture a full-page screenshot\n - name: fresh\n in: query\n required: false\n schema:\n type: boolean\n description: Bypass cache and take a fresh screenshot\n - name: no_cookie_banners\n in: query\n required: false\n schema:\n type: boolean\n description: Remove cookie banners from the screenshot\n - name: enable_caching\n in: query\n required: false\n schema:\n type: boolean\n description: Enable caching for repeated requests\n - name: block_ads\n in: query\n required: false\n schema:\n type: boolean\n description: Block advertisements on the page\n - name: block_chat_widgets\n in: query\n required: false\n schema:\n type: boolean\n description: Block chat widget scripts from loading\n - name: extract_text\n in: query\n required: false\n schema:\n type: boolean\n description: Extract visible text from the page\n - name: extract_html\n in: query\n required: false\n schema:\n type: boolean\n description: Extract HTML content of the page\n - name: destroy_screenshot\n in: query\n required: false\n schema:\n type: boolean\n description: Auto-destroy screenshot after fetch\n - name: lazy_load\n in: query\n required: false\n schema:\n type: boolean\n description: Enable lazy-loading content before screenshot\n - name: retina\n in: query\n required: false\n schema:\n type: boolean\n description: Capture screenshot in high-DPI (Retina) mode\n - name: dark_mode\n in: query\n required: false\n schema:\n type: boolean\n description: Render page in dark mode\n - name: block_tracking\n in: query\n required: false\n schema:\n type: boolean\n description: Block common user-tracking scripts\n - name: enable_incognito\n in: query\n required: false\n schema:\n type: boolean\n description: Enable private/incognito mode for browser session\n - name: omit_background\n in: query\n required: false\n schema:\n type: boolean\n description: Omit background color (transparent background)\n - name: thumbnail_width\n in: query\n required: false\n schema:\n type: integer\n description: Thumbnail width in pixels\n - name: adjust_top\n in: query\n required: false\n schema:\n type: integer\n description: Adjust top in pixels\n - name: wait_for_event\n in: query\n required: false\n schema:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle\n description: Wait for a specific load event before capturing the screenshot.\n - name: grayscale\n in: query\n required: false\n schema:\n type: integer\n description: Range:0 to 100 for grayscale filter\n - name: delay\n in: query\n required: false\n schema:\n type: integer\n description: How many milliseconds to wait before taking the screenshot\n - name: timeout\n in: query\n required: false\n schema:\n type: integer\n description: Maximum timeout in milliseconds. Defalut is `10,000`\n - name: ttl\n in: query\n required: false\n schema:\n type: integer\n description: Number of seconds the screenshot should be cached\n - name: clip[x]\n in: query\n required: false\n schema:\n type: integer\n description: X position of the clipping rectangle in pixels\n - name: clip[y]\n in: query\n required: false\n schema:\n type: integer\n description: Y position of the clipping rectangle in pixels\n - name: clip[width]\n in: query\n required: false\n schema:\n type: integer\n description: Width of the clipping rectangle in pixels\n - name: clip[height]\n in: query\n required: false\n schema:\n type: integer\n description: Height of the clipping rectangle in pixels\n - name: css_url\n in: query\n required: false\n schema:\n type: string\n description: URL to CSS file\n - name: css\n in: query\n required: false\n schema:\n type: string\n description: Your custom CSS code\n - name: js_url\n in: query\n required: false\n schema:\n type: string\n description: URL to JS file\n - name: js\n in: query\n required: false\n schema:\n type: string\n description: Your JS code\n - name: block_js\n in: query\n required: false\n schema:\n type: boolean\n description: Block Scripts\n - name: block_stylesheets\n in: query\n required: false\n schema:\n type: boolean\n description: Block Stylesheets\n - name: block_images\n in: query\n required: false\n schema:\n type: boolean\n description: Block Images\n - name: block_media\n in: query\n required: false\n schema:\n type: boolean\n description: Block Media\n - name: block_font\n in: query\n required: false\n schema:\n type: boolean\n description: Block Fonts\n - name: block_text_track\n in: query\n required: false\n schema:\n type: boolean\n description: Block Text Tracks\n - name: block_xhr\n in: query\n required: false\n schema:\n type: boolean\n description: Block XHR Requests\n - name: block_fetch\n in: query\n required: false\n schema:\n type: boolean\n description: Block Fetch Requests\n - name: block_event_source\n in: query\n required: false\n schema:\n type: boolean\n description: Block Event Source\n - name: block_web_socket\n in: query\n required: false\n schema:\n type: boolean\n description: Block Web Sockets\n - name: block_manifest\n in: query\n required: false\n schema:\n type: boolean\n description: Block Manifest\n - name: block_specific_requests\n in: query\n required: false\n schema:\n type: string\n description: 'Comma- or newline-separated list of specific requests to block. Each line and comma are treated as separate requests for processing. Example: https://example.com, https://example.js'\n - name: blur_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'Comma-separated list of indexed CSS selectors to blur. Format: index:<selector>, e.g., 0:.banner,1:#ads.'\n - name: remove_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'Comma-separated list of indexed CSS selectors to remove. Format: index:<selector>, e.g., 0:.banner,1:#ads.'\n - name: result_file_name\n in: query\n required: false\n schema:\n type: string\n description: Specify a meaningful and unique file name to easily identify the screenshot result. Avoid using spaces or special characters; use hyphens or underscores to separate words.\n - name: scrolling_screenshot\n in: query\n required: false\n schema:\n type: boolean\n description: '**`Scrolling Screenshot`**: Capture a long scrolling screenshot. When true, disable `fullPage` and `freshScreenshot`.'\n - name: scroll_speed\n in: query\n required: false\n schema:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: Speed of scrolling during the screenshot.\n - name: scroll_back\n in: query\n required: false\n schema:\n type: boolean\n description: If true, the scroll will reverse back to the top after reaching the bottom.\n - name: start_immediately\n in: query\n required: false\n schema:\n type: boolean\n description: If true, the scrolling capture will start immediately upon page load.\n - name: multiple_scrolling\n in: query\n required: false\n schema:\n type: boolean\n description: If true, multiple scrolling screenshots will be taken at different viewport sizes.\n - name: sizes\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'Comma-separated list of viewport sizes in format index:XXw:YYh. Example: sizes=0:120w:300h,1:240w:500h'\n - name: duration\n in: query\n required: false\n schema:\n type: number\n minimum: 0\n maximum: 60\n description: Duration in seconds for the scrolling capture. Acceptable range is 0 to 60 seconds.\n - name: fail_on_error\n in: query\n required: false\n schema:\n type: boolean\n description: If true, returns an error when the target page responds with 4xx or 5xx status.\n - name: longitude\n in: query\n required: false\n schema:\n type: number\n description: Specify longitude for the browser Geolocation API.\n - name: latitude\n in: query\n required: false\n schema:\n type: number\n description: Specify latitude for the browser Geolocation API.\n - name: proxy\n in: query\n required: false\n schema:\n type: string\n description: 'Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password.'\n - name: headers\n in: query\n required: false\n schema:\n type: string\n description: Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., key1=value1;key2=value2).\n - name: cookies\n in: query\n required: false\n schema:\n type: string\n description: 'Cookies to include in the request before rendering. Supports single or multiple cookies. Example: cookie=value; otherCookie=otherValue;'\n - name: scroll_to_element\n in: query\n required: false\n schema:\n type: string\n description: Scrolls the page to bring the specified CSS selector into view before capture.\n - name: selector\n in: query\n required: false\n schema:\n type: string\n description: CSS selector to capture a specific element. Only that element is rendered.\n - name: selector_to_click\n in: query\n required: false\n schema:\n type: string\n description: CSS selector for an element to click before capturing the screenshot.\n - name: click_recursion\n in: query\n required: false\n schema:\n type: integer\n description: 'Number of times to click the selector (when set via selector_to_click). Default: 1.'\n - name: user_agent\n in: query\n required: false\n schema:\n type: string\n description: Custom User-Agent string sent in the request headers.\n - name: accept_languages\n in: query\n required: false\n schema:\n type: string\n description: Sets the accepted languages for the HTTP request. Sent as the Accept-Language header.\n - name: scroll_delay\n in: query\n required: false\n schema:\n type: integer\n description: Delay in milliseconds between scroll steps when lazy_load is enabled.\n - name: custom_html\n in: query\n required: false\n schema:\n type: string\n description: Custom HTML to render instead of loading a URL. Overrides the url option.\n - name: image_quality\n in: query\n required: false\n schema:\n type: integer\n description: Compression level for JPEG output (0\u2013100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n - name: extract_markdown\n in: query\n required: false\n schema:\n type: boolean\n description: Extracts rendered page content as a structured .md (Markdown) file.\n - name: get_image_urls\n in: query\n required: false\n schema:\n type: boolean\n description: Extracts all image URLs from the rendered DOM and returns them in structured format.\n responses:\n '200':\n description: Successful PDF response\n content:\n application/pdf:\n schema:\n type: string\n format: binary\n application/json:\n schema:\n $ref: '#/components/schemas/ScreenshotResponse'\n examples:\n success:\n summary: Successful response\n value:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_e56fe7e60d8d.png\n url: https://example.com\n created_at: '2026-07-27T10:19:08.668Z'\n format: json\n ttl: '2026-08-26T10:19:05.486Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n examples:\n InvalidUrl:\n summary: Invalid URL\n value:\n timestamp: '2026-07-27T10:19:11.354Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n missingUrl:\n summary: Missing required url parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:19:11.922Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '408':\n description: Request Timeout \u2014 Screenshot capture exceeded the configured timeout\n content:\n application/json:\n examples:\n RequestTimeout:\n summary: Request timed out\n value:\n timestamp: '2026-07-27T10:19:25.676Z'\n status: 408\n error: timeout_error\n message: The request took too long to complete. Please try again later.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\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 ScreenshotResponse:\n type: object\n description: Website screenshot response containing the screenshot URL and metadata.\n required:\n - screenshot\n - url\n - created_at\n - format\n - ttl\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image file.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output (e.g., PNG, JPEG).\n width:\n type: integer\n description: Viewport width used for capture in pixels.\n height:\n type: integer\n description: Viewport height used for capture in pixels.\n fresh:\n type: boolean\n description: Whether a fresh render was performed.\n full_page:\n type: boolean\n description: Whether full page capture was used.\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered.\n retina:\n type: boolean\n description: Whether retina capture was used.\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled.\n enable_caching:\n type: boolean\n description: Whether caching was enabled.\n omit_background:\n type: boolean\n description: Whether background was removed.\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation.\n fail_on_error:\n type: boolean\n description: Whether the request failed on error.\n block_ads:\n type: boolean\n description: Whether ads were blocked.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked.\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked.\n block_js:\n type: boolean\n description: Whether JavaScript was blocked.\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked.\n block_images:\n type: boolean\n description: Whether images were blocked.\n block_media:\n type: boolean\n description: Whether media files were blocked.\n block_font:\n type: boolean\n description: Whether fonts were blocked.\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked.\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked.\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked.\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked.\n extract_text:\n type: boolean\n description: Whether text content was extracted.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled.\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled.\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used for the request.\n headers:\n type: string\n description: The custom headers that were included in the request.\n cookies:\n type: string\n description: The cookies that were included in the request.\n scroll_to_element:\n type: string\n description: The element that was scrolled to before rendering.\n selector:\n type: string\n description: The element that was selected for rendering.\n selector_to_click:\n type: string\n description: The CSS selector that was clicked before capture.\n click_recursion:\n type: integer\n description: The number of times the selector was clicked.\n blur_selector:\n type: string\n description: The elements that were blurred in the output.\n remove_selector:\n type: string\n description: The elements that were removed from the output.\n css:\n type: string\n description: The custom CSS that was injected into the page.\n css_url:\n type: string\n format: uri\n description: The external CSS URL that was loaded.\n js:\n type: string\n description: The custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: The external JavaScript URL that was loaded.\n user_agent:\n type: string\n description: The User-Agent string that was used.\n accept_languages:\n type: string\n description: The Accept-Language header that was used.\n delay:\n type: integer\n description: The delay duration that was applied in milliseconds.\n thumbnail_width:\n type: integer\n description: The thumbnail width that was used in pixels.\n output:\n type: string\n description: The output type that was used.\n image_quality:\n type: integer\n description: The image quality level that was applied.\n timeout:\n type: integer\n description: The actual timeout duration that was applied in milliseconds.\n adjust_top:\n type: integer\n description: The vertical position that was scrolled to in pixels.\n wait_for_event:\n type: string\n description: The event that triggered the rendering to start.\n grayscale:\n type: integer\n description: The grayscale level that was applied (0-100).\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled.\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed.\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture.\n scroll_speed:\n type: string\n description: Scrolling speed that was used.\n scroll_back:\n type: boolean\n description: Whether scroll back was enabled.\n start_immediately:\n type: boolean\n description: Whether recording started immediately.\n duration:\n type: integer\n description: Duration of scrolling capture in seconds.\n result_file_name:\n type: string\n description: The final filename used for the output file.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
55509
- "ssl-certificate-chain-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Certificate Chain Lookup API Reference\n version: 1.0.0\n description: Retrieve the complete SSL certificate chain for any domain, including all intermediate and root certificates. Returns the same detailed certificate information as the single lookup \u2014 expiry dates, issuer details, signature algorithms, public key data, and extensions \u2014 for every certificate in the chain.\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: SSL Certificate Chain Lookup API Server\npaths:\n /domain/ssl/live/chain:\n get:\n tags:\n - SSL APIs\n summary: Retrieve all certificates from the domain to the root Certificate Authority (CA) of a domain.\n description: |\n Retrieve the complete SSL certificate chain from root Certificate Authority (CA) to end-user certificate.\n This endpoint provides comprehensive information about each certificate in the chain.\n operationId: sslCertificateChainLookup\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: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate chain lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response for each certificate in the chain\n responses:\n '200':\n description: Successful SSL certificate chain lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n SSL Certificate Chain:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:45'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-06-2 06:23:03 UTC\n validityEndDate: 2026-08-31 07:21:11 UTC\n serialNumber: 7b:75:1c:fe:fb:bb:95:33:0e:e2:a1:6b:9e:89:e1:b7\n signatureAlgorithm: ECDSA-SHA256\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WE1\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELD2RK4J04b+CkgML4RrJmWd482WIxr61Nq21HpA9c9G5ou6PsaIEhrESlu6xMHM+ucHh/0jQArZwnb8F0YwXZw==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n subjectKeyIdentifier: 6D:E0:94:E7:A4:F4:43:F1:20:17:0E:81:FC:C4:91:4D:18:A0:C9:2F\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/we1/R7LgAnKD4Lk.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/we1.crt\n ocsp:\n - http://o.pki.goog/s/we1/e3U\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDpDCCA0mgAwIBAgIQe3Uc/vu7lTMO4qFrnonhtzAKBggqhkjOPQQDAjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwHhcNMjYwNjAyMDYyMzAzWhcNMjYwODMxMDcyMTExWjAWMRQwEgYDVQQDEwtqZnJlYWtzLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCw9kSuCdOG/gpIDC+EayZlnePNliMa+tTattR6QPXPRuaLuj7GiBIaxEpbusTBzPrnB4f9I0AK2cJ2/BdGMF2ejggJSMIICTjAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUbeCU56T0Q/EgFw6B/MSRTRigyS8wHwYDVR0jBBgwFoAUkHeSNWfE/6jMqeZ72YB5e8yT+TgwXgYIKwYBBQUHAQEEUjBQMCcGCCsGAQUFBzABhhtodHRwOi8vby5wa2kuZ29vZy9zL3dlMS9lM1UwJQYIKwYBBQUHMAKGGWh0dHA6Ly9pLnBraS5nb29nL3dlMS5jcnQwJQYDVR0RBB4wHIILamZyZWFrcy5jb22CDSouamZyZWFrcy5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd2UxL1I3TGdBbktENExrLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AJROQ4f67MHvgfMZJCaoGGUBx9NfOAIBP3JnfVU3LhnYAAABnoc27FIAAAQDAEcwRQIhAN5bVfN6osVhMW6F32m52+fRsNf6yDQIhXfHZ3S0DXK7AiBdVp3hQqIjM/TpSynLnZJ5W6Ng4Pd5WjRZtZP8wtNBmAB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnoc27IUAAAQDAEYwRAIgZ4Hn/21EyS31ZoYWNiIbIbfnSWvnTTzMBGUzkPXa7E4CIChvO8tx+1vcNhmO2/qpE5pwLTIpeqwKH9+OvGdfoa4pMAoGCCqGSM49BAMCA0kAMEYCIQDL0J1LBJszJdu9uQJi5roRavn8KzuiC0caVQ9KxB1LzQIhAL16BeuNfUXnQ0JxUMiVXIWmKz7QoiLImDBS1+b+ZvJP\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-12-13 09:00:00 UTC\n validityEndDate: 2029-02-20 14:00:00 UTC\n serialNumber: 7f:f3:19:77:97:2c:22:4a:76:15:5d:13:b6:d6:85:e3\n signatureAlgorithm: ECDSA-SHA2384\n subject:\n commonName: WE1\n organization: Google Trust Services\n country: US\n issuer:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb806/mdXR0whA4VAwkddu1hHD0DBXBeFxhk359V87YZLm4HZ1xoTpQoD+JjExuie/xBZjywmmPXmJiW7DwL6Vg==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n subjectKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/r4.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/r4.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIICnzCCAiWgAwIBAgIQf/MZd5csIkp2FV0TttaF4zAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwHhcNMjMxMjEzMDkwMDAwWhcNMjkwMjIwMTQwMDAwWjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARvzTr+Z1dHTCEDhUDCR127WEcPQMFcF4XGGTfn1XzthkubgdnXGhOlCgP4mMTG6J7/EFmPLCaY9eYmJbsPAvpWo4H+MIH7MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUkHeSNWfE/6jMqeZ72YB5e8yT+TgwHwYDVR0jBBgwFoAUgEzW63T/STaj1dj8tT7FavCUHYwwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzAChhhodHRwOi8vaS5wa2kuZ29vZy9yNC5jcnQwKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL2MucGtpLmdvb2cvci9yNC5jcmwwEwYDVR0gBAwwCjAIBgZngQwBAgEwCgYIKoZIzj0EAwMDaAAwZQIxAOcCq1HW90OVznX+0RGU1cxAQXomvtgM8zItPZCuFQ8jSBJSjz5keROv9aYsAm5VsQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN7uJW\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-11-15 03:43:21 UTC\n validityEndDate: 2028-01-28 00:00:42 UTC\n serialNumber: 7f:e5:30:bf:33:13:43:be:dd:82:16:10:49:3d:8a:1b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n issuer:\n commonName: GlobalSign Root CA\n organization: GlobalSign nv-sa\n organizationalUnit: Root CA\n country: BE\n publicKey:\n keySize: 384 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2K\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 60:7B:66:1A:45:0D:97:CA:89:50:2F:7D:04:CD:34:A8:FF:FC:FD:4B\n subjectKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/gsr1.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/gsr1.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDejCCAmKgAwIBAgIQf+UwvzMTQ77dghYQST2KGzANBgkqhkiG9w0BAQsFADBXMQswCQYDVQQGEwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEQMA4GA1UECxMHUm9vdCBDQTEbMBkGA1UEAxMSR2xvYmFsU2lnbiBSb290IENBMB4XDTIzMTExNTAzNDMyMVoXDTI4MDEyODAwMDA0MlowRzELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBMTEMxFDASBgNVBAMTC0dUUyBSb290IFI0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2Ko4H/MIH8MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUgEzW63T/STaj1dj8tT7FavCUHYwwHwYDVR0jBBgwFoAUYHtmGkUNl8qJUC99BM00qP/8/UswNgYIKwYBBQUHAQEEKjAoMCYGCCsGAQUFBzAChhpodHRwOi8vaS5wa2kuZ29vZy9nc3IxLmNydDAtBgNVHR8EJjAkMCKgIKAehhxodHRwOi8vYy5wa2kuZ29vZy9yL2dzcjEuY3JsMBMGA1UdIAQMMAowCAYGZ4EMAQIBMA0GCSqGSIb3DQEBCwUAA4IBAQAYQrsPBtYDh5bjP2OBDwmkoWhIDDkic574y04tfzHpn+cJodI2D4SseesQ6bDrarZ7C30ddLibZatoKiws3UL9xnELz4ct92vID24FfVbiI1hY+SW6FoVHkNeWIP0GCbaM4C6uVdF5dTUsMVs/ZbzNnIdCp5Gxmx5ejvEau8otR/CskGN+hr/W5GvT1tMBjgWKZ1i4//emhA1JG1BbPzoLJQvyEotc03lXjTaCzv8mEbep8RqZ7a2CPsgRbuvTPBwcOMBBmuFeU88+FSBX6+7iP0il8b4Z0QFqIwwMHfs/L6K1vepuoxtGzi4CZ68zJpiq1UvSqTbFJjtbD4seiMHl\n -----END CERTIFICATE-----\n - chainOrder: root\n authenticationType: self-signed-ca\n validityStartDate: 2011-09-22 11:22:02 UTC\n validityEndDate: 2030-09-22 11:22:02 UTC\n serialNumber: 'Signature Algorithm: sha256WithRSAEncryption'\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n issuer:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n publicKey:\n keySize: 4096 bit\n keyAlgorithm: RSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQ==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n subjectKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n keyUsages:\n - CRL Sign\n - Certificate Sign\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbtifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhl\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:27:07.511Z'\n status: 400\n error: Invalid Param Exception\n message: ' Please pass domain param correct value e.g. whoisfreaks.com, https://whoisfreaks.com, http://whoisfreaks.com [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:27:54.671Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:28:32.443Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/domain/ssl/live/chain\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 SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n format: date-time\n description: Timestamp when the query was executed.\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects forming the complete certificate chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate chain lookup response containing certificate details and extensions for each certificate in the chain.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n format: date-time\n description: Certificate validity start date.\n validityEndDate:\n type: string\n format: date-time\n description: Certificate validity end date.\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
55510
- "ssl-certificate-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Lookup API - Check and Monitor SSL Certificate Chains\n version: 1.0.0\n description: Retrieve comprehensive SSL certificate information for any domain including expiry dates, issuer details, signature algorithms, public key data, and certificate extensions. Supports extended key usages, CRL distribution points, authority info access, subject alternative names, and certificate policies.\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: SSL Certificate Lookup API Server\npaths:\n /domain/ssl/live:\n get:\n tags:\n - SSL APIs\n summary: Retrieve the SSL certificate and any hidden information embedded within it for a domain.\n description: |\n Retrieve comprehensive SSL certificate information without the certificate chain.\n This endpoint provides detailed information about the SSL certificate including expiry dates, issuer details, and encryption methods.\n operationId: sslCertificateLookup\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: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response of the domain\n responses:\n '200':\n description: Successful SSL certificate lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n Single SSL Certificate:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:44'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-05-18 18:35:21 UTC\n validityEndDate: 2026-08-10 18:35:20 UTC\n serialNumber: d5:2a:59:68:49:a3:ce:9b:10:64:16:9b:c7:eb:df:4b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WR2\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKA==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: DE:1B:1E:ED:79:15:D4:3E:37:24:C3:21:BB:EC:34:39:6D:42:B2:30\n subjectKeyIdentifier: 2E:EC:34:B9:3E:97:83:C3:7E:E5:D0:F4:AB:56:D4:25:99:67:7D:6B\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/wr2/GSyT1N4PBrg.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/wr2.crt\n ocsp:\n - http://o.pki.goog/wr2\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n - youtube.com\n - '*.youtube.com'\n - '*.ytimg.com'\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIIdTCCB12gAwIBAgIRANUqWWhJo86bEGQWm8fr30swDQYJKoZIhvcNAQELBQAwOzELMAkGA1UEBhMCVVMxHjAcBgNVBAoTFUdvb2dsZSBUcnVzdCBTZXJ2aWNlczEMMAoGA1UEAxMDV1IyMB4XDTI2MDUxODE4MzUyMVoXDTI2MDgxMDE4MzUyMFowFzEVMBMGA1UEAwwMKi5nb29nbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKKOCBmEwggZdMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQu7DS5PpeDw37l0PSrVtQlmWd9azAfBgNVHSMEGDAWgBTeGx7teRXUPjckwyG77DQ5bUKyMDBYBggrBgEFBQcBAQRMMEowIQYIKwYBBQUHMAGGFWh0dHA6Ly9vLnBraS5nb29nL3dyMjAlBggrBgEFBQcwAoYZaHR0cDovL2kucGtpLmdvb2cvd3IyLmNydDCCBDgGA1UdEQSCBC8wggQrggwqLmdvb2dsZS5jb22CFiouYXBwZW5naW5lLmdvb2dsZS5jb22CCSouYmRuLmRldoIVKi5vcmlnaW4tdGVzdC5iZG4uZGV2ghIqLmNsb3VkLmdvb2dsZS5jb22CGCouY3Jvd2Rzb3VyY2UuZ29vZ2xlLmNvbYIYKi5kYXRhY29tcHV0ZS5nb29nbGUuY29tggsqLmdvb2dsZS5jYYILKi5nb29nbGUuY2yCDiouZ29vZ2xlLmNvLmlugg4qLmdvb2dsZS5jby5qcIIOKi5nb29nbGUuY28udWuCDyouZ29vZ2xlLmNvbS5hcoIPKi5nb29nbGUuY29tLmF1gg8qLmdvb2dsZS5jb20uYnKCDyouZ29vZ2xlLmNvbS5jb4IPKi5nb29nbGUuY29tLm14gg8qLmdvb2dsZS5jb20udHKCDyouZ29vZ2xlLmNvbS52boILKi5nb29nbGUuZGWCCyouZ29vZ2xlLmVzggsqLmdvb2dsZS5mcoILKi5nb29nbGUuaHWCCyouZ29vZ2xlLml0ggsqLmdvb2dsZS5ubIILKi5nb29nbGUucGyCCyouZ29vZ2xlLnB0ghkqLmdlbWluaS5jbG91ZC5nb29nbGUuY29tgg0qLmdzdGF0aWMuY29tghQqLm1ldHJpYy5nc3RhdGljLmNvbYIKKi5ndnQxLmNvbYIRKi5nY3BjZG4uZ3Z0MS5jb22CCiouZ3Z0Mi5jb22CDiouZ2NwLmd2dDIuY29tghAqLnVybC5nb29nbGUuY29tghYqLnlvdXR1YmUtbm9jb29raWUuY29tggsqLnl0aW1nLmNvbYIKYWkuYW5kcm9pZIILYW5kcm9pZC5jb22CDSouYW5kcm9pZC5jb22CEyouZmxhc2guYW5kcm9pZC5jb22CBGcuY28CBDEwLmdvb2dsZS5jb22CEiouZ29vZ2xlLWNhcnRzLmNvbYIKZ29vZ2xlLmNvbYISZ29vZ2xlY29tbWVyY2UuY29tghQqLmdvb2dsZWNvbW1lcmNlLmNvbYIKdXJjaGluLmNvbYIMKi51cmNoaW4uY29tggh5b3V0dS5iZYILeW91dHViZS5jb22CDSoueW91dHViZS5jb22CEW11c2ljLnlvdXR1YmUuY29tghMqLm11c2ljLnlvdXR1YmUuY29tghR5b3V0dWJlZWR1Y2F0aW9uLmNvbYIWKi55b3V0dWJlZWR1Y2F0aW9uLmNvbYIPeW91dHViZWtpZHMuY29tghEqLnlvdXR1YmVraWRzLmNvbYIFeXQuYmWCByoueXQuYmWCGmFuZHJvaWQuY2xpZW50cy5nb29nbGUuY29tghUqLmFpc3R1ZGlvLmdvb2dsZS5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd3IyL0dTeVQxTjRQQnJnLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AMs49xWJfIShRF9bwd37yW7ymlnNRwppBYWwyxTDFFjnAAABnjyV+/0AAAQDAEcwRQIgCgvqLruYdmtREQIJopZQVZEAux/EdciE9ThPK5WLOIwCIQDJjNYSb4sTv+LnXVHnirnD6kTT5FY8gLI6mKR0WI/m1AB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnjyV+8EAAAQDAEYwRAIgQvDSSJRos+D8Lk6bpjH2ZlYxD/N6Gv2TqkFZhUlFKeQCIBq55PPw4e5N89gLgzFC2kp1X+YvFsURPsLrz1LqOAymMA0GCSqGSIb3DQEBCwUAA4IBAQBtZusj1ojCxhZxk5KpZ92eZuTkDVJgJGtDq8gPRehf50mZiu2gDK1JgXIzKRey3tHmgNrCmTon5QJAL9yDyrOGs2GoQsfMkenH0+/hTsLB+n03ni9+9jghfPvE9CZbFimniiqGznhnW5mNOZGy2AnXz79ZfHr4J8AuPh4HVvPc6q/2coyl7Vlxp2XDo6j1eoZARVSske22WvE34U4Yunq+SE0E0a8aKTV7Q7YHeu8/NAsFmG7V6QSSqAyFyxqeEzuz8ylBPxS/cejBk+29tGlfqqrR1JEKdcFLF7EuRyvRWAuQMQBHRA9boa3/lz1f+jEkkUbfqEMrDAnxLthdKKJk\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:21:23.349Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value[For Technical Support: support@apifreaks.com]'\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:18:47.504Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists for entered domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:18:28.465Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/ssl/live\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 SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n format: date-time\n description: Timestamp when the query was executed.\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects in the chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate lookup response containing certificate details and extensions.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n format: date-time\n description: Certificate validity start date.\n validityEndDate:\n type: string\n format: date-time\n description: Certificate validity end date.\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
55486
+ "ssl-certificate-chain-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Certificate Chain Lookup API Reference\n version: 1.0.0\n description: Retrieve the complete SSL certificate chain for any domain, including all intermediate and root certificates. Returns the same detailed certificate information as the single lookup \u2014 expiry dates, issuer details, signature algorithms, public key data, and extensions \u2014 for every certificate in the chain.\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: SSL Certificate Chain Lookup API Server\npaths:\n /domain/ssl/live/chain:\n get:\n tags:\n - SSL APIs\n summary: Retrieve all certificates from the domain to the root Certificate Authority (CA) of a domain.\n description: |\n Retrieve the complete SSL certificate chain from root Certificate Authority (CA) to end-user certificate.\n This endpoint provides comprehensive information about each certificate in the chain.\n operationId: sslCertificateChainLookup\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: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate chain lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response for each certificate in the chain\n responses:\n '200':\n description: Successful SSL certificate chain lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n SSL Certificate Chain:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:45'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-06-2 06:23:03 UTC\n validityEndDate: 2026-08-31 07:21:11 UTC\n serialNumber: 7b:75:1c:fe:fb:bb:95:33:0e:e2:a1:6b:9e:89:e1:b7\n signatureAlgorithm: ECDSA-SHA256\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WE1\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELD2RK4J04b+CkgML4RrJmWd482WIxr61Nq21HpA9c9G5ou6PsaIEhrESlu6xMHM+ucHh/0jQArZwnb8F0YwXZw==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n subjectKeyIdentifier: 6D:E0:94:E7:A4:F4:43:F1:20:17:0E:81:FC:C4:91:4D:18:A0:C9:2F\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/we1/R7LgAnKD4Lk.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/we1.crt\n ocsp:\n - http://o.pki.goog/s/we1/e3U\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDpDCCA0mgAwIBAgIQe3Uc/vu7lTMO4qFrnonhtzAKBggqhkjOPQQDAjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwHhcNMjYwNjAyMDYyMzAzWhcNMjYwODMxMDcyMTExWjAWMRQwEgYDVQQDEwtqZnJlYWtzLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCw9kSuCdOG/gpIDC+EayZlnePNliMa+tTattR6QPXPRuaLuj7GiBIaxEpbusTBzPrnB4f9I0AK2cJ2/BdGMF2ejggJSMIICTjAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUbeCU56T0Q/EgFw6B/MSRTRigyS8wHwYDVR0jBBgwFoAUkHeSNWfE/6jMqeZ72YB5e8yT+TgwXgYIKwYBBQUHAQEEUjBQMCcGCCsGAQUFBzABhhtodHRwOi8vby5wa2kuZ29vZy9zL3dlMS9lM1UwJQYIKwYBBQUHMAKGGWh0dHA6Ly9pLnBraS5nb29nL3dlMS5jcnQwJQYDVR0RBB4wHIILamZyZWFrcy5jb22CDSouamZyZWFrcy5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd2UxL1I3TGdBbktENExrLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AJROQ4f67MHvgfMZJCaoGGUBx9NfOAIBP3JnfVU3LhnYAAABnoc27FIAAAQDAEcwRQIhAN5bVfN6osVhMW6F32m52+fRsNf6yDQIhXfHZ3S0DXK7AiBdVp3hQqIjM/TpSynLnZJ5W6Ng4Pd5WjRZtZP8wtNBmAB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnoc27IUAAAQDAEYwRAIgZ4Hn/21EyS31ZoYWNiIbIbfnSWvnTTzMBGUzkPXa7E4CIChvO8tx+1vcNhmO2/qpE5pwLTIpeqwKH9+OvGdfoa4pMAoGCCqGSM49BAMCA0kAMEYCIQDL0J1LBJszJdu9uQJi5roRavn8KzuiC0caVQ9KxB1LzQIhAL16BeuNfUXnQ0JxUMiVXIWmKz7QoiLImDBS1+b+ZvJP\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-12-13 09:00:00 UTC\n validityEndDate: 2029-02-20 14:00:00 UTC\n serialNumber: 7f:f3:19:77:97:2c:22:4a:76:15:5d:13:b6:d6:85:e3\n signatureAlgorithm: ECDSA-SHA2384\n subject:\n commonName: WE1\n organization: Google Trust Services\n country: US\n issuer:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb806/mdXR0whA4VAwkddu1hHD0DBXBeFxhk359V87YZLm4HZ1xoTpQoD+JjExuie/xBZjywmmPXmJiW7DwL6Vg==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n subjectKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/r4.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/r4.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIICnzCCAiWgAwIBAgIQf/MZd5csIkp2FV0TttaF4zAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwHhcNMjMxMjEzMDkwMDAwWhcNMjkwMjIwMTQwMDAwWjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARvzTr+Z1dHTCEDhUDCR127WEcPQMFcF4XGGTfn1XzthkubgdnXGhOlCgP4mMTG6J7/EFmPLCaY9eYmJbsPAvpWo4H+MIH7MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUkHeSNWfE/6jMqeZ72YB5e8yT+TgwHwYDVR0jBBgwFoAUgEzW63T/STaj1dj8tT7FavCUHYwwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzAChhhodHRwOi8vaS5wa2kuZ29vZy9yNC5jcnQwKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL2MucGtpLmdvb2cvci9yNC5jcmwwEwYDVR0gBAwwCjAIBgZngQwBAgEwCgYIKoZIzj0EAwMDaAAwZQIxAOcCq1HW90OVznX+0RGU1cxAQXomvtgM8zItPZCuFQ8jSBJSjz5keROv9aYsAm5VsQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN7uJW\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-11-15 03:43:21 UTC\n validityEndDate: 2028-01-28 00:00:42 UTC\n serialNumber: 7f:e5:30:bf:33:13:43:be:dd:82:16:10:49:3d:8a:1b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n issuer:\n commonName: GlobalSign Root CA\n organization: GlobalSign nv-sa\n organizationalUnit: Root CA\n country: BE\n publicKey:\n keySize: 384 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2K\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 60:7B:66:1A:45:0D:97:CA:89:50:2F:7D:04:CD:34:A8:FF:FC:FD:4B\n subjectKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/gsr1.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/gsr1.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDejCCAmKgAwIBAgIQf+UwvzMTQ77dghYQST2KGzANBgkqhkiG9w0BAQsFADBXMQswCQYDVQQGEwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEQMA4GA1UECxMHUm9vdCBDQTEbMBkGA1UEAxMSR2xvYmFsU2lnbiBSb290IENBMB4XDTIzMTExNTAzNDMyMVoXDTI4MDEyODAwMDA0MlowRzELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBMTEMxFDASBgNVBAMTC0dUUyBSb290IFI0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2Ko4H/MIH8MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUgEzW63T/STaj1dj8tT7FavCUHYwwHwYDVR0jBBgwFoAUYHtmGkUNl8qJUC99BM00qP/8/UswNgYIKwYBBQUHAQEEKjAoMCYGCCsGAQUFBzAChhpodHRwOi8vaS5wa2kuZ29vZy9nc3IxLmNydDAtBgNVHR8EJjAkMCKgIKAehhxodHRwOi8vYy5wa2kuZ29vZy9yL2dzcjEuY3JsMBMGA1UdIAQMMAowCAYGZ4EMAQIBMA0GCSqGSIb3DQEBCwUAA4IBAQAYQrsPBtYDh5bjP2OBDwmkoWhIDDkic574y04tfzHpn+cJodI2D4SseesQ6bDrarZ7C30ddLibZatoKiws3UL9xnELz4ct92vID24FfVbiI1hY+SW6FoVHkNeWIP0GCbaM4C6uVdF5dTUsMVs/ZbzNnIdCp5Gxmx5ejvEau8otR/CskGN+hr/W5GvT1tMBjgWKZ1i4//emhA1JG1BbPzoLJQvyEotc03lXjTaCzv8mEbep8RqZ7a2CPsgRbuvTPBwcOMBBmuFeU88+FSBX6+7iP0il8b4Z0QFqIwwMHfs/L6K1vepuoxtGzi4CZ68zJpiq1UvSqTbFJjtbD4seiMHl\n -----END CERTIFICATE-----\n - chainOrder: root\n authenticationType: self-signed-ca\n validityStartDate: 2011-09-22 11:22:02 UTC\n validityEndDate: 2030-09-22 11:22:02 UTC\n serialNumber: 'Signature Algorithm: sha256WithRSAEncryption'\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n issuer:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n publicKey:\n keySize: 4096 bit\n keyAlgorithm: RSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQ==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n subjectKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n keyUsages:\n - CRL Sign\n - Certificate Sign\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbtifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhl\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:27:07.511Z'\n status: 400\n error: Invalid Param Exception\n message: ' Please pass domain param correct value e.g. whoisfreaks.com, https://whoisfreaks.com, http://whoisfreaks.com [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:27:54.671Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:28:32.443Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/domain/ssl/live/chain\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 SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n description: Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects forming the complete certificate chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate chain lookup response containing certificate details and extensions for each certificate in the chain.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n description: Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n validityEndDate:\n type: string\n description: Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
55487
+ "ssl-certificate-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Lookup API - Check and Monitor SSL Certificate Chains\n version: 1.0.0\n description: Retrieve comprehensive SSL certificate information for any domain including expiry dates, issuer details, signature algorithms, public key data, and certificate extensions. Supports extended key usages, CRL distribution points, authority info access, subject alternative names, and certificate policies.\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: SSL Certificate Lookup API Server\npaths:\n /domain/ssl/live:\n get:\n tags:\n - SSL APIs\n summary: Retrieve the SSL certificate and any hidden information embedded within it for a domain.\n description: |\n Retrieve comprehensive SSL certificate information without the certificate chain.\n This endpoint provides detailed information about the SSL certificate including expiry dates, issuer details, and encryption methods.\n operationId: sslCertificateLookup\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: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response of the domain\n responses:\n '200':\n description: Successful SSL certificate lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n Single SSL Certificate:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:44'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-05-18 18:35:21 UTC\n validityEndDate: 2026-08-10 18:35:20 UTC\n serialNumber: d5:2a:59:68:49:a3:ce:9b:10:64:16:9b:c7:eb:df:4b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WR2\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKA==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: DE:1B:1E:ED:79:15:D4:3E:37:24:C3:21:BB:EC:34:39:6D:42:B2:30\n subjectKeyIdentifier: 2E:EC:34:B9:3E:97:83:C3:7E:E5:D0:F4:AB:56:D4:25:99:67:7D:6B\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/wr2/GSyT1N4PBrg.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/wr2.crt\n ocsp:\n - http://o.pki.goog/wr2\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n - youtube.com\n - '*.youtube.com'\n - '*.ytimg.com'\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIIdTCCB12gAwIBAgIRANUqWWhJo86bEGQWm8fr30swDQYJKoZIhvcNAQELBQAwOzELMAkGA1UEBhMCVVMxHjAcBgNVBAoTFUdvb2dsZSBUcnVzdCBTZXJ2aWNlczEMMAoGA1UEAxMDV1IyMB4XDTI2MDUxODE4MzUyMVoXDTI2MDgxMDE4MzUyMFowFzEVMBMGA1UEAwwMKi5nb29nbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKKOCBmEwggZdMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQu7DS5PpeDw37l0PSrVtQlmWd9azAfBgNVHSMEGDAWgBTeGx7teRXUPjckwyG77DQ5bUKyMDBYBggrBgEFBQcBAQRMMEowIQYIKwYBBQUHMAGGFWh0dHA6Ly9vLnBraS5nb29nL3dyMjAlBggrBgEFBQcwAoYZaHR0cDovL2kucGtpLmdvb2cvd3IyLmNydDCCBDgGA1UdEQSCBC8wggQrggwqLmdvb2dsZS5jb22CFiouYXBwZW5naW5lLmdvb2dsZS5jb22CCSouYmRuLmRldoIVKi5vcmlnaW4tdGVzdC5iZG4uZGV2ghIqLmNsb3VkLmdvb2dsZS5jb22CGCouY3Jvd2Rzb3VyY2UuZ29vZ2xlLmNvbYIYKi5kYXRhY29tcHV0ZS5nb29nbGUuY29tggsqLmdvb2dsZS5jYYILKi5nb29nbGUuY2yCDiouZ29vZ2xlLmNvLmlugg4qLmdvb2dsZS5jby5qcIIOKi5nb29nbGUuY28udWuCDyouZ29vZ2xlLmNvbS5hcoIPKi5nb29nbGUuY29tLmF1gg8qLmdvb2dsZS5jb20uYnKCDyouZ29vZ2xlLmNvbS5jb4IPKi5nb29nbGUuY29tLm14gg8qLmdvb2dsZS5jb20udHKCDyouZ29vZ2xlLmNvbS52boILKi5nb29nbGUuZGWCCyouZ29vZ2xlLmVzggsqLmdvb2dsZS5mcoILKi5nb29nbGUuaHWCCyouZ29vZ2xlLml0ggsqLmdvb2dsZS5ubIILKi5nb29nbGUucGyCCyouZ29vZ2xlLnB0ghkqLmdlbWluaS5jbG91ZC5nb29nbGUuY29tgg0qLmdzdGF0aWMuY29tghQqLm1ldHJpYy5nc3RhdGljLmNvbYIKKi5ndnQxLmNvbYIRKi5nY3BjZG4uZ3Z0MS5jb22CCiouZ3Z0Mi5jb22CDiouZ2NwLmd2dDIuY29tghAqLnVybC5nb29nbGUuY29tghYqLnlvdXR1YmUtbm9jb29raWUuY29tggsqLnl0aW1nLmNvbYIKYWkuYW5kcm9pZIILYW5kcm9pZC5jb22CDSouYW5kcm9pZC5jb22CEyouZmxhc2guYW5kcm9pZC5jb22CBGcuY28CBDEwLmdvb2dsZS5jb22CEiouZ29vZ2xlLWNhcnRzLmNvbYIKZ29vZ2xlLmNvbYISZ29vZ2xlY29tbWVyY2UuY29tghQqLmdvb2dsZWNvbW1lcmNlLmNvbYIKdXJjaGluLmNvbYIMKi51cmNoaW4uY29tggh5b3V0dS5iZYILeW91dHViZS5jb22CDSoueW91dHViZS5jb22CEW11c2ljLnlvdXR1YmUuY29tghMqLm11c2ljLnlvdXR1YmUuY29tghR5b3V0dWJlZWR1Y2F0aW9uLmNvbYIWKi55b3V0dWJlZWR1Y2F0aW9uLmNvbYIPeW91dHViZWtpZHMuY29tghEqLnlvdXR1YmVraWRzLmNvbYIFeXQuYmWCByoueXQuYmWCGmFuZHJvaWQuY2xpZW50cy5nb29nbGUuY29tghUqLmFpc3R1ZGlvLmdvb2dsZS5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd3IyL0dTeVQxTjRQQnJnLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AMs49xWJfIShRF9bwd37yW7ymlnNRwppBYWwyxTDFFjnAAABnjyV+/0AAAQDAEcwRQIgCgvqLruYdmtREQIJopZQVZEAux/EdciE9ThPK5WLOIwCIQDJjNYSb4sTv+LnXVHnirnD6kTT5FY8gLI6mKR0WI/m1AB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnjyV+8EAAAQDAEYwRAIgQvDSSJRos+D8Lk6bpjH2ZlYxD/N6Gv2TqkFZhUlFKeQCIBq55PPw4e5N89gLgzFC2kp1X+YvFsURPsLrz1LqOAymMA0GCSqGSIb3DQEBCwUAA4IBAQBtZusj1ojCxhZxk5KpZ92eZuTkDVJgJGtDq8gPRehf50mZiu2gDK1JgXIzKRey3tHmgNrCmTon5QJAL9yDyrOGs2GoQsfMkenH0+/hTsLB+n03ni9+9jghfPvE9CZbFimniiqGznhnW5mNOZGy2AnXz79ZfHr4J8AuPh4HVvPc6q/2coyl7Vlxp2XDo6j1eoZARVSske22WvE34U4Yunq+SE0E0a8aKTV7Q7YHeu8/NAsFmG7V6QSSqAyFyxqeEzuz8ylBPxS/cejBk+29tGlfqqrR1JEKdcFLF7EuRyvRWAuQMQBHRA9boa3/lz1f+jEkkUbfqEMrDAnxLthdKKJk\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:21:23.349Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value[For Technical Support: support@apifreaks.com]'\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:18:47.504Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists for entered domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:18:28.465Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/ssl/live\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 SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n description: Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects in the chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate lookup response containing certificate details and extensions.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n description: Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n validityEndDate:\n type: string\n description: Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
55511
55488
  "timezone-converter": "openapi: 3.1.1\ninfo:\n title: Timezone Converter API Reference\n version: 1.0.0\n description: Convert a timestamp from one timezone to another using timezone names, GPS coordinates, location addresses, IATA/ICAO airport codes, or UN/LOCODEs. Returns the converted time, the original time, and the hour/minute difference between the two timezones. Supports pair-based lookups --- provide source and target using any supported identifier type (e.g., `tz_from` + `tz_to` for IANA names, `lat_from`/`long_from` + `lat_to`/`long_to` for coordinates, `iata_from` + `iata_to` for airport codes). If no `time` parameter is provided the API converts the current time.\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: Timezone Converter API Server\npaths:\n /timezone/converter:\n get:\n tags:\n - Timezone APIs\n summary: Convert a timestamp from one timezone to another using any supported location identifier\n description: Convert a given time from one timezone to another using timezone names, GPS coordinates, location addresses, IATA/ICAO airport codes, or UN/LOCODEs.\n operationId: convertTimezone\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json, xml.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: time\n in: query\n required: false\n description: Time to convert in yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss format. Omit to convert the current time.\n schema:\n type: string\n - name: tz_from\n in: query\n required: false\n description: Source timezone name in IANA format (e.g., Asia/Kolkata) to convert from.\n schema:\n type: string\n - name: tz_to\n in: query\n required: false\n description: Target timezone name in IANA format (e.g., America/New_York) to convert to.\n schema:\n type: string\n - name: lat_from\n in: query\n required: false\n description: Latitude of source location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: long_from\n in: query\n required: false\n description: Longitude of source location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: lat_to\n in: query\n required: false\n description: Latitude of target location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: long_to\n in: query\n required: false\n description: Longitude of target location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: location_from\n in: query\n required: false\n description: Source location address (city and country) for address-based conversion.\n schema:\n type: string\n - name: location_to\n in: query\n required: false\n description: Target location address (city and country) for address-based conversion.\n schema:\n type: string\n - name: iata_from\n in: query\n required: false\n description: Source IATA airport code (3-letter, e.g., JFK) for airport-based conversion.\n schema:\n type: string\n - name: iata_to\n in: query\n required: false\n description: Target IATA airport code (3-letter) for airport-based conversion.\n schema:\n type: string\n - name: icao_from\n in: query\n required: false\n description: Source ICAO airport code (4-letter, e.g., KJFK) for airport-based conversion.\n schema:\n type: string\n - name: icao_to\n in: query\n required: false\n description: Target ICAO airport code (4-letter) for airport-based conversion.\n schema:\n type: string\n - name: locode_from\n in: query\n required: false\n description: Source UN/LOCODE (5-letter) for location code-based conversion.\n schema:\n type: string\n - name: locode_to\n in: query\n required: false\n description: Target UN/LOCODE (5-letter) for location code-based conversion.\n schema:\n type: string\n responses:\n '200':\n description: Successful timezone conversion response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TimezoneConversionResponse'\n examples:\n typicalSuccess:\n summary: Whole-hour offset (tz_from/tz_to)\n value:\n original_time: '2026-07-24 12:00:00'\n converted_time: '2026-07-24 17:00:00'\n diff_hour: 5\n diff_min: 300\n fractionalHourOffset:\n summary: Half-hour timezone offset \u2014 diff_hour is not always a whole number (e.g. Asia/Kolkata is UTC+5:30)\n value:\n original_time: '2026-07-24 12:00:00'\n converted_time: '2026-07-24 02:30:00'\n diff_hour: 9.5\n diff_min: 570\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Incomplete parameter combination, invalid timezone name, invalid coordinates, or location address not found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n IncompleteParameters:\n summary: Incomplete parameters combination\n value:\n message: Parameters' combination is not complete. 'tz_from' and 'tz_to' or 'location_from' and 'location_to' or 'lat_from' and 'long_from' and 'lat_to' and 'long_to' or 'locode_from' and 'locode_to' or 'iata_from' and 'iata_to' or 'icao_from' and 'icao_to' combinations must be provided.\n InvalidSourceTimezone:\n summary: Invalid source timezone\n value:\n message: Check whether your input values are correct; source_time_zone = Invalid/TZ, destined_time_zone = Asia/Karachi, date_time = null\n InvalidCoordinates:\n summary: Invalid coordinates range\n value:\n message: Provided lat_from (999) or long_from (0) is not valid. Latitude must be between -90.0 and +90.0 and longitude must be between -180.0 and +180.0.\n FromLocationNotFound:\n summary: Source (from) location address not found\n value:\n message: We couldn't find the (from) location (ZZZNOTEXIST). Try a city or state level address only.\n ToLocationNotFound:\n summary: Target (to) location address not found\n value:\n message: We couldn't find the (to) location (ZZZNOTEXIST). Try a city or state level address only.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Airport (IATA/ICAO) code or UN/LOCODE has no matching data\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidAirportCode:\n summary: IATA/ICAO airport code not found\n value:\n message: '''Data not found for the provided airport code: XXX Please contact at support@ipgeolocation.io if provided airport code exists.'''\n InvalidLocode:\n summary: UN/LOCODE not found\n value:\n message: '''Data not found for the provided LO code: ZZZZZ Please contact at support@ipgeolocation.io if provided LO code exists.'''\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 TimezoneConversionResponse:\n type: object\n description: Timezone conversion result containing original and converted timestamps with the difference.\n required:\n - original_time\n - converted_time\n - diff_hour\n - diff_min\n properties:\n original_time:\n type: string\n description: The original date and time before any conversion, in yyyy-MM-dd HH:mm:ss format.\n converted_time:\n type: string\n description: The date and time after conversion to the target timezone, in yyyy-MM-dd HH:mm:ss format.\n diff_hour:\n type: number\n format: float\n description: The absolute difference in hours between the source and target timezones, always non-negative regardless of conversion direction. Can be fractional for half-hour/quarter-hour offset timezones (e.g. 9.5 for Asia/Kolkata to America/New_York).\n diff_min:\n type: integer\n description: The absolute difference between the source and target timezones expressed in total minutes (not a remainder \u2014 always diff_hour * 60), always non-negative regardless of conversion direction.\n ErrorResponse:\n type: object\n description: 'Standard error envelope returned by the API on failed requests. '\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",
55512
55489
  "timezone-lookup": "openapi: 3.1.1\ninfo:\n title: Timezone Lookup API - Get Timezone from IP, Coordinates, IATA Code & More\n version: 2.0.0\n description: Resolve any location identifier to its current timezone, local time, UTC offset, and daylight saving time details. Accepts IP addresses, GPS coordinates, city or address strings, IATA/ICAO airport codes, UN/LOCODEs, and IANA timezone names. Always returns a time_zone object (IANA name, UTC offset with/without DST, current local time in multiple formats, DST transition dates); which other object accompanies it depends entirely on the identifier used. A tz name or lat/long coordinate pair returns time_zone only, with no location breakdown at all. A location address returns a basic location object (country, region, city, coordinates). An ip parameter, or no parameter at all (client-IP fallback), returns a richer location object with continent and country codes, EU membership, and postal code, plus a top-level ip field. An iata_code or icao_code returns an airport_details object instead of location. A lo_code returns a lo_code_details object instead of location.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Timezone Lookup API Server\npaths:\n /geolocation/timezone:\n get:\n tags:\n - Timezone APIs\n summary: Retrieve current time, date, and timezone information for any location identifier\n description: Get current time, date, and timezone details by specifying a timezone name, location address, GPS coordinates, IP address, IATA/ICAO airport code, UN/LOCODE, or use the client IP if no parameter is provided.\n operationId: getTimezone\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json, xml.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address to extract timezone information.\n schema:\n type: string\n - name: tz\n in: query\n required: false\n description: Timezone name in IANA format (e.g., Asia/Kolkata) to retrieve information directly.\n schema:\n type: string\n - name: location\n in: query\n required: false\n description: Location string (preferably city and country) to extract timezone.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude for geolocation-based timezone lookup. Only time_zone is returned for this mode; no location object is included.\n schema:\n type: number\n format: float\n - name: long\n in: query\n required: false\n description: Longitude for geolocation-based timezone lookup. Only time_zone is returned for this mode; no location object is included.\n schema:\n type: number\n format: float\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: iata_code\n in: query\n required: false\n description: 3-letter IATA airport code (e.g., LHR) to extract timezone.\n schema:\n type: string\n - name: icao_code\n in: query\n required: false\n description: 4-letter ICAO airport code (e.g., KJFK) to extract timezone.\n schema:\n type: string\n - name: lo_code\n in: query\n required: false\n description: 5-letter UN/LOCODE city code to extract timezone.\n schema:\n type: string\n responses:\n '200':\n description: Successful timezone lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TimezoneResponse'\n examples:\n locationLookup:\n summary: Lookup by location address (location param) \u2014 basic location fields, DST active\n value:\n location:\n location_string: London, UK\n country_name: United Kingdom\n state_prov: England\n city: London\n locality: ''\n latitude: '51.50002'\n longitude: '-0.19244'\n time_zone:\n name: Europe/London\n offset: 0\n offset_with_dst: 1\n current_time: 2026-07-24 11:27:58.516+0100\n current_time_unix: 1784888878.516\n date: '2026-07-24'\n date_time: '2026-07-24 11:27:58'\n date_time_txt: Friday, July 24, 2026 11:27:58\n date_time_wti: Fri, 24 Jul 2026 11:27:58 +0100\n date_time_ymd: 2026-07-24T11:27:58+0100\n time_24: '11:27:58'\n time_12: 11:27:58 AM\n week: 30\n month: 7\n year: 2026\n year_abbr: '26'\n current_tz_abbreviation: BST\n current_tz_full_name: British Summer Time\n standard_tz_abbreviation: GMT\n standard_tz_full_name: Greenwich Mean Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: BST\n dst_tz_full_name: British Summer Time\n dst_start:\n utc_time: 2026-03-29 TIME 01:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-29 TIME 02:00\n date_time_before: 2026-03-29 TIME 01:00\n overlap: false\n dst_end:\n utc_time: 2026-10-25 TIME 01:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-10-25 TIME 01:00\n date_time_before: 2026-10-25 TIME 02:00\n overlap: true\n tzNameLookup:\n summary: Lookup by IANA timezone name (tz param) \u2014 no location object at all; DST not observed here, so dst_start/dst_end are empty objects\n value:\n time_zone:\n name: Asia/Kolkata\n offset: 5.5\n offset_with_dst: 5.5\n date: '2026-07-24'\n date_time: '2026-07-24 15:57:57'\n date_time_txt: Friday, July 24, 2026 15:57:57\n date_time_wti: Fri, 24 Jul 2026 15:57:57 +0530\n date_time_ymd: 2026-07-24T15:57:57+0530\n current_time: 2026-07-24 15:57:57.984+0530\n current_time_unix: 1784888877.984\n time_24: '15:57:57'\n time_12: 03:57:57 PM\n week: 30\n month: 7\n year: 2026\n year_abbr: '26'\n current_tz_abbreviation: IST\n current_tz_full_name: India Standard Time\n standard_tz_abbreviation: IST\n standard_tz_full_name: India Standard Time\n is_dst: false\n dst_savings: 0\n dst_exists: false\n dst_tz_abbreviation: ''\n dst_tz_full_name: ''\n dst_start: {}\n dst_end: {}\n ipLookup:\n summary: Lookup by IP address (ip param, or default client IP) \u2014 full geo-IP location fields, includes top-level ip, never location_string\n value:\n ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n is_eu: false\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n date: '2026-07-24'\n date_time: '2026-07-24 03:27:59'\n date_time_txt: Friday, July 24, 2026 03:27:59\n date_time_wti: Fri, 24 Jul 2026 03:27:59 -0700\n date_time_ymd: 2026-07-24T03:27:59-0700\n current_time: 2026-07-24 03:27:59.032-0700\n current_time_unix: 1784888879.032\n time_24: '03:27:59'\n time_12: 03:27:59 AM\n week: 30\n month: 7\n year: 2026\n year_abbr: '26'\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n airportLookup:\n summary: Lookup by IATA/ICAO airport code \u2014 returns airport_details instead of location\n value:\n airport_details:\n type: large_airport\n name: John F Kennedy International Airport\n latitude: '40.63945'\n longitude: '-73.77932'\n elevation_ft: 13\n continent_code: NA\n country_code: US\n state_code: US-NY\n city: New York\n iata_code: JFK\n icao_code: KJFK\n faa_code: ''\n time_zone:\n name: America/New_York\n offset: -5\n offset_with_dst: -4\n date: '2026-07-24'\n date_time: '2026-07-24 06:28:14'\n date_time_txt: Friday, July 24, 2026 06:28:14\n date_time_wti: Fri, 24 Jul 2026 06:28:14 -0400\n date_time_ymd: 2026-07-24T06:28:14-0400\n current_time: 2026-07-24 06:28:14.975-0400\n current_time_unix: 1784888894.975\n time_24: '06:28:14'\n time_12: 06:28:14 AM\n week: 30\n month: 7\n year: 2026\n year_abbr: '26'\n current_tz_abbreviation: EDT\n current_tz_full_name: Eastern Daylight Time\n standard_tz_abbreviation: EST\n standard_tz_full_name: Eastern Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: EDT\n dst_tz_full_name: Eastern Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 07:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 06:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n loCodeLookup:\n summary: Lookup by UN/LOCODE \u2014 returns lo_code_details instead of location\n value:\n lo_code_details:\n lo_code: USNYC\n city: New York\n state_code: NY\n country_code: US\n country_name: ''\n location_type: Port, Rail Terminal, Road Terminal, Airport, Postal Exchange\n latitude: '40.70000'\n longitude: '-74.00000'\n time_zone:\n name: America/New_York\n offset: -5\n offset_with_dst: -4\n date: '2026-07-24'\n date_time: '2026-07-24 06:28:15'\n date_time_txt: Friday, July 24, 2026 06:28:15\n date_time_wti: Fri, 24 Jul 2026 06:28:15 -0400\n date_time_ymd: 2026-07-24T06:28:15-0400\n current_time: 2026-07-24 06:28:15.999-0400\n current_time_unix: 1784888895.999\n time_24: '06:28:15'\n time_12: 06:28:15 AM\n week: 30\n month: 7\n year: 2026\n year_abbr: '26'\n current_tz_abbreviation: EDT\n current_tz_full_name: Eastern Daylight Time\n standard_tz_abbreviation: EST\n standard_tz_full_name: Eastern Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: EDT\n dst_tz_full_name: Eastern Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 07:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 06:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid coordinates, timezone name, IP address, or airport code\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinates:\n summary: Invalid coordinates range\n value:\n message: '''latitude'' (999) or ''longitude'' (0) is not valid. ''latitude'' must be between -90.0 and +90.0 and ''longitude'' must be between -180.0 and +180.0.'\n InvalidTimezone:\n summary: Invalid timezone name\n value:\n message: Check whether your input values are correct; time_zone_name = Invalid/Timezone\n InvalidIP:\n summary: Invalid IP address\n value:\n message: '''999.999.999.999'' is not an IP string literal.'\n InvalidIata:\n summary: Invalid IATA code\n value:\n message: 'Invalid IATA code: INVALID. IATA code must be in the format of AAA.'\n InvalidIcao:\n summary: Invalid ICAO code\n value:\n message: 'Invalid ICAO code: INVALID. ICAO code must be in the format of AAAA.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location address not found, or LO code has no matching data\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n message: We couldn't find the location (ZZZNOTEXIST). Try a city or state level location address only.\n InvalidLoCode:\n summary: UN/LOCODE not found\n value:\n message: '''Data not found for the provided LO code: XXXXX Please contact at support@ipgeolocation.io if provided LO code exists.'''\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 TimezoneResponse:\n type: object\n required:\n - time_zone\n properties:\n ip:\n type: string\n description: The IP address used for the timezone lookup. Present when queried using the ip parameter, or with no location-identifying parameter at all (client-IP fallback). Absent for every other lookup mode.\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n location:\n $ref: '#/components/schemas/TimezoneLocation'\n airport_details:\n $ref: '#/components/schemas/AirportDetail'\n lo_code_details:\n $ref: '#/components/schemas/LoCodeDetail'\n description: 'Timezone lookup result. time_zone is always present. Exactly which other object accompanies it depends on the lookup mode: tz name and lat/long coordinates return time_zone only (no location, no ip); location address returns a basic location object; ip param or client-IP fallback returns a rich location object plus top-level ip; iata_code/icao_code returns airport_details instead of location; lo_code returns lo_code_details instead of location.'\n TimeZone:\n type: object\n description: Timezone and date/time information for the location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - date\n - date_time\n - date_time_txt\n - date_time_wti\n - date_time_ymd\n - time_24\n - time_12\n - week\n - month\n - year\n - year_abbr\n - current_tz_abbreviation\n - current_tz_full_name\n - standard_tz_abbreviation\n - standard_tz_full_name\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: The IANA timezone name/identifier for the location.\n offset:\n type: number\n format: float\n description: The Standard time zone offset from UTC in hours.\n offset_with_dst:\n type: number\n format: float\n description: The time zone offset from UTC in hours, accounting for DST.\n current_time:\n type: string\n description: The current date and time with timezone offset in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: The Unix timestamp representing the date and time in seconds.\n date:\n type: string\n description: The current date in YYYY-MM-DD format.\n date_time:\n type: string\n description: The current date and time in YYYY-MM-DD HH:mm:ss format.\n date_time_txt:\n type: string\n description: The current date and time in descriptive format EEEE, MMMM dd, yyyy HH:mm:ss.\n date_time_wti:\n type: string\n description: The date and time with time zone information in EEE, dd MMM yyyy HH:mm:ss Z format.\n date_time_ymd:\n type: string\n description: The date and time with timezone offset in ISO 8601 format YYYY-MM-DDTHH:mm:ss\xB1HHMM.\n time_24:\n type: string\n description: The current time in 24-hour format HH:mm:ss.\n time_12:\n type: string\n description: The current time in 12-hour format with AM/PM notation.\n week:\n type: integer\n description: The week number of the year (1-52).\n month:\n type: integer\n description: The current month as a number (1-12).\n year:\n type: integer\n description: The four-digit current year.\n year_abbr:\n type: string\n description: The two-digit abbreviation for the year.\n current_tz_abbreviation:\n type: string\n description: Abbreviation of the time zone currently in effect (standard or DST).\n current_tz_full_name:\n type: string\n description: Full name of the time zone currently in effect.\n standard_tz_abbreviation:\n type: string\n description: Abbreviation of the standard (non-DST) time zone.\n standard_tz_full_name:\n type: string\n description: Full name of the standard (non-DST) time zone.\n is_dst:\n type: boolean\n description: Is the time zone in daylight savings?\n dst_tz_abbreviation:\n type: string\n description: Abbreviation of the DST time zone. Always present as a key; holds an empty string when dst_exists is false.\n dst_tz_full_name:\n type: string\n description: Full name of the DST time zone. Always present as a key; holds an empty string when dst_exists is false.\n dst_savings:\n type: number\n format: float\n description: The amount of time added for daylight saving in hours.\n dst_exists:\n type: boolean\n description: Indicates whether DST is observed in the region.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions). Always present as a key on the parent TimeZone object; returned as an empty object {} when dst_exists is false, so none of its properties are required.\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimezoneLocation:\n type: object\n description: 'Geographic location information. Only present for location (address) and ip (or client-IP fallback) lookups; absent for tz, lat/long, iata_code/icao_code, and lo_code lookups. Field set varies by mode: location returns location_string plus a basic field set (country_name, state_prov, city, locality, latitude, longitude); ip/default returns a richer geo-IP field set (continent_code, continent_name, country_code2, country_code3, country_name_official, is_eu, state_code, district, zipcode) plus the common fields, but never location_string or locality.'\n properties:\n location_string:\n type: string\n description: The provided location parameter as location. Present only for location (address) lookups; absent for ip lookups.\n continent_code:\n type: string\n description: 'The two-letter code of the continent (e.g., NA). Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n continent_name:\n type: string\n description: 'The full name of the continent (e.g., North America). Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n country_code2:\n type: string\n description: 'The ISO 3166-1 alpha-2 two-letter country code (e.g., US). Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n country_code3:\n type: string\n description: 'The ISO 3166-1 alpha-3 three-letter country code (e.g., USA). Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n country_name:\n type: string\n description: The common name of the country (e.g., United States). Present for both location and ip lookups.\n country_name_official:\n type: string\n description: 'The official full name of the country (e.g., United States of America). Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n is_eu:\n type: boolean\n description: 'Whether the country belongs to the European Union. Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n state_prov:\n type: string\n description: Name of the state/province/region. Present for both location and ip lookups.\n state_code:\n type: string\n description: 'Code of the state/province/region. Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n district:\n type: string\n description: 'Name of the district or county. Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n city:\n type: string\n description: Name of the city. Present for both location and ip lookups.\n locality:\n type: string\n description: Smaller area, part or region of a city. Only present for location (address) lookups (may be an empty string); absent for ip lookups.\n zipcode:\n type: string\n description: 'ZIP/Postal code of the place. Geo-IP field only: present for ip param or default client-IP lookups; absent for location lookups.'\n latitude:\n type: string\n description: The geographic latitude of the location. Present for both location and ip lookups.\n longitude:\n type: string\n description: The geographic longitude of the location. Present for both location and ip lookups.\n AirportDetail:\n type: object\n description: Airport information, present when queried by IATA or ICAO code.\n properties:\n type:\n type: string\n description: Classification of the airport based on size and traffic.\n name:\n type: string\n description: The full name of the airport.\n latitude:\n type: number\n format: float\n description: The latitude coordinate of the airport.\n longitude:\n type: number\n format: float\n description: The longitude coordinate of the airport.\n elevation_ft:\n type: integer\n description: The elevation of the airport above sea level, measured in feet.\n continent_code:\n type: string\n description: The two-letter code of the continent.\n country_code:\n type: string\n description: The ISO 3166-1 alpha-2 code for the country where the airport is located.\n state_code:\n type: string\n description: Code of the state/province/region where the airport is located.\n city:\n type: string\n description: The city or administrative region that the airport serves.\n iata_code:\n type: string\n description: The three-letter IATA airport code (e.g., LHR).\n icao_code:\n type: string\n description: The four-letter ICAO airport code (e.g., EGLL).\n faa_code:\n type: string\n description: The FAA location identifier, used primarily in the United States.\n LoCodeDetail:\n type: object\n description: UN/LOCODE location details, present when queried by LO code.\n properties:\n lo_code:\n type: string\n description: A unique identifier for the location, often used in logistics and shipping (e.g., USNYC).\n city:\n type: string\n description: The name of the city or location associated with the LO code.\n state_code:\n type: string\n description: The code for the state, province or region.\n country_code:\n type: string\n description: The ISO 3166-1 alpha-2 country code (e.g., US).\n country_name:\n type: string\n description: The name of the country in an administrative context.\n location_type:\n type: string\n description: The type of location as comma-separated list of facilities (e.g., Port, Rail Terminal, Road Terminal, Airport).\n latitude:\n type: number\n format: float\n description: The latitude coordinate of the location.\n longitude:\n type: number\n format: float\n description: The longitude coordinate of the location.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
55513
55490
  "bulk-user-agent-parser": `openapi: 3.1.1
55514
55491
  info:
55515
55492
  title: Bulk User Agent Parser - Multi User Agent Parsing
55516
55493
  version: 1.0.0
55517
- description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55494
+ description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 20,000 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55518
55495
  contact:
55519
55496
  name: APIFreaks Support
55520
55497
  url: https://apifreaks.com/contact
@@ -55528,7 +55505,7 @@ paths:
55528
55505
  tags:
55529
55506
  - User Agent APIs
55530
55507
  summary: Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details
55531
- description: Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55508
+ description: Parse up to 20,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55532
55509
  operationId: bulkParseUserAgent
55533
55510
  parameters:
55534
55511
  - name: format
@@ -55700,14 +55677,14 @@ paths:
55700
55677
  X-AF-Credits-Cost:
55701
55678
  $ref: '#/components/headers/X-AF-Credits-Cost'
55702
55679
  '413':
55703
- description: Payload Too Large \u2014 More than 100 strings in uaStrings
55680
+ description: Payload Too Large \u2014 More than 20,000 strings in uaStrings
55704
55681
  content:
55705
55682
  application/json:
55706
55683
  schema:
55707
55684
  $ref: '#/components/schemas/ErrorResponse'
55708
55685
  examples:
55709
55686
  tooManyStrings:
55710
- summary: uaStrings array exceeds the 100-item limit
55687
+ summary: uaStrings array exceeds the 20,000-item limit
55711
55688
  value:
55712
55689
  error: Payload too large Exception
55713
55690
  message: Maximum request body size limit exceeded
@@ -55735,8 +55712,8 @@ components:
55735
55712
  properties:
55736
55713
  uaStrings:
55737
55714
  type: array
55738
- description: Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.
55739
- maxItems: 100
55715
+ description: Array of User-Agent strings to parse. Maximum 20,000 strings per request \u2014 exceeding that returns a 413.
55716
+ maxItems: 20000
55740
55717
  items:
55741
55718
  type: string
55742
55719
  BulkUserAgentParserResponse:
@@ -56160,7 +56137,7 @@ security:
56160
56137
  - ApiKeyAuthHeader: []
56161
56138
  - ApiKeyAuthQuery: []
56162
56139
  `,
56163
- "air-quality": "openapi: 3.1.1\ninfo:\n title: Air Quality API - Real-Time AQI & Pollution Monitoring\n version: 1.0.0\n description: Monitor and predict air quality conditions using European (0-100+) and US (0-500) AQI standards. Returns current air quality readings and hourly forecast data up to 5 days ahead depending on the date range provided. Tracks pollutant concentrations including PM10, PM2.5, carbon monoxide, nitrogen dioxide, sulphur dioxide, ozone, and dust particles, plus UV index and aerosol optical depth measurements. Accepts location by city name, GPS coordinates, or IP address. Start/end dates are optional; without them only current conditions are returned.\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/weather\n description: Air Quality API Server\npaths:\n /air-quality:\n get:\n tags:\n - Weather APIs\n summary: Air pollution monitoring and quality forecasts\n description: Monitor and predict air quality conditions using European and US AQI standards. Track pollutant concentrations including PM10, PM2.5, carbon monoxide, nitrogen dioxide, sulfur dioxide, ozone, and dust particles. Get current readings plus hourly forecasts up to 5 days ahead, complete with UV index and aerosol measurements for comprehensive air quality assessment.\n operationId: getAirQuality\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n schema:\n type: string\n format: date\n description: Starting date for AQI forecast data in YYYY-MM-DD format. Must be supplied together with endDate \u2014 passing only one of the two returns a 400 error. Both dates must fall within a rolling window from today through 5 days ahead.\n required: false\n - name: endDate\n in: query\n schema:\n type: string\n format: date\n description: End date for AQI forecast data in YYYY-MM-DD format. Must be supplied together with startDate \u2014 passing only one of the two returns a 400 error, and endDate cannot be earlier than startDate. Both dates must fall within a rolling window from today through 5 days ahead.\n required: false\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location. Must be supplied together with long \u2014 passing only one of the two returns a 400 error.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location. Must be supplied together with lat \u2014 passing only one of the two returns a 400 error.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/AirQualityResponse'\n examples:\n typicalSuccess:\n summary: Current AQI by IP (auto-detected)\n value:\n location:\n continent_code: AS\n continent_name: Asia\n country_code2: PK\n country_code3: PAK\n country_name: Pakistan\n country_name_official: Islamic Republic of Pakistan\n is_eu: false\n state_prov: Punjab\n state_code: PK-PB\n district: Lahore\n city: Lahore\n zipcode: '54000'\n latitude: '31.52037'\n longitude: '74.35875'\n locality: Gulberg\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n current:\n timestamp: 2026-07-24T16:00\n european_aqi: 67\n us_aqi: 99\n pm10: 27.4\n pm2_5: 27.2\n carbon_monoxide: 493\n nitrogen_dioxide: 6.2\n sulphur_dioxide: 8.6\n ozone: 169\n dust: 0\n uv_index: 1.95\n aerosol_optical_depth: 0.71\n uv_index_clear_sky: 2.25\n forecastSuccess:\n summary: Forecast AQI by location and date range\n value:\n location:\n location_string: Paris,France\n country_name: France\n state_prov: Ile-de-France\n city: Paris\n locality: ''\n latitude: '48.85889'\n longitude: '2.32004'\n elevation: '0'\n timezone: Europe/Paris\n timezone_abbreviation: GMT+2\n forecast:\n '2026-07-25':\n hourly:\n - timestamp: 2026-07-25T00:00\n pm10: 14.8\n carbon_monoxide: 200\n pm2_5: 8.5\n carbon_dioxide: 446\n nitrogen_dioxide: 17.1\n sulphur_dioxide: 1\n ozone: 63\n dust: 0\n uv_index: 0\n aerosol_optical_depth: 0.2\n uv_index_clear_sky: 0\n - timestamp: 2026-07-25T01:00\n pm10: 16.1\n carbon_monoxide: 202\n pm2_5: 8.4\n carbon_dioxide: 449\n nitrogen_dioxide: 15.9\n sulphur_dioxide: 0.9\n ozone: 60\n dust: 0\n uv_index: 0\n aerosol_optical_depth: 0.2\n uv_index_clear_sky: 0\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or incomplete parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinates:\n summary: Coordinates out of range\n value:\n timestamp: '2026-07-24T11:34:36.550Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidIP:\n summary: Malformed IP address\n value:\n timestamp: '2026-07-24T11:34:37.632Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:34:38.657Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/air-quality\n MissingPairedParam:\n summary: Only one of a required pair supplied\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/air-quality\n status: 400\n timestamp: '2026-07-24T11:34:56.768Z'\n InvalidDateFormat:\n summary: Date not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:41.151Z'\n status: 400\n message: startDate must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidDateOrder:\n summary: endDate before startDate\n value:\n timestamp: '2026-07-24T11:36:03.105Z'\n status: 400\n message: startDate must be before or equal to endDate\n error: params-exception-error\n path: /v1.0/weather/air-quality\n DateRangeOutOfBounds:\n summary: Date range outside allowed window\n value:\n timestamp: '2026-07-24T11:34:45.616Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-07-29\n error: params-exception-error\n path: /v1.0/weather/air-quality\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:34:37.139Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/air-quality\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 AirQualityResponse:\n type: object\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/AirQuality'\n description: Current air quality data, present when the request omits startDate/endDate.\n forecast:\n $ref: '#/components/schemas/AirQualityForecast'\n description: Date-keyed forecast data, present when the request includes startDate/endDate.\n required:\n - location\n description: Air quality response containing location data plus either current observations or date-keyed forecast data. current and forecast are mutually exclusive \u2014 a single request never returns both.\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n AirQuality:\n type: object\n required:\n - timestamp\n - european_aqi\n - us_aqi\n - pm10\n - pm2_5\n - carbon_monoxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp (iso8601).\n european_aqi:\n type: integer\n description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'\n us_aqi:\n type: integer\n description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'\n pm10:\n type: number\n format: float\n description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n pm2_5:\n type: number\n format: float\n description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n carbon_monoxide:\n type: number\n format: float\n description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n nitrogen_dioxide:\n type: number\n format: float\n description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n sulphur_dioxide:\n type: number\n format: float\n description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n ozone:\n type: number\n format: float\n description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n dust:\n type: number\n format: float\n description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.\n uv_index:\n type: number\n format: float\n description: Ultraviolet radiation intensity index accounting for cloud coverage.\n aerosol_optical_depth:\n type: number\n format: float\n description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.\n uv_index_clear_sky:\n type: number\n format: float\n description: Ultraviolet radiation intensity index assuming cloud-free conditions.\n description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.\n AirQualityHourly:\n type: object\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp\n pm10:\n type: number\n description: Concentration of particulate matter \u226410 micrometers (\u03BCg/m\xB3)\n carbon_monoxide:\n type: number\n description: Concentration of carbon monoxide (\u03BCg/m\xB3)\n pm2_5:\n type: number\n description: Concentration of particulate matter \u22642.5 micrometers (\u03BCg/m\xB3)\n carbon_dioxide:\n type: number\n description: Concentration of carbon dioxide (ppm)\n nitrogen_dioxide:\n type: number\n description: Concentration of nitrogen dioxide (\u03BCg/m\xB3)\n sulphur_dioxide:\n type: number\n description: Concentration of sulphur dioxide (\u03BCg/m\xB3)\n ozone:\n type: number\n description: Concentration of ozone (\u03BCg/m\xB3)\n dust:\n type: number\n description: Concentration of dust particles (\u03BCg/m\xB3)\n uv_index:\n type: number\n description: Ultraviolet radiation index\n aerosol_optical_depth:\n type: number\n description: Aerosol optical depth\n uv_index_clear_sky:\n type: number\n description: Ultraviolet radiation index under clear sky conditions\n required:\n - timestamp\n - pm10\n - carbon_monoxide\n - pm2_5\n - carbon_dioxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n description: Hourly air quality forecast reading with pollutant concentrations and UV index.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n AirQualityForecast:\n type: object\n description: Forecast data object keyed by date (YYYY-MM-DD), one key per day in the requested startDate/endDate range. The key names are dynamic dates, not a fixed schema property.\n additionalProperties:\n $ref: '#/components/schemas/AirQualityForecastDay'\n AirQualityForecastDay:\n type: object\n description: Air quality forecast data for a single day, containing hourly readings.\n required:\n - hourly\n properties:\n hourly:\n type: array\n description: Array of hourly air quality readings for this day.\n items:\n $ref: '#/components/schemas/AirQualityHourly'\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",
56140
+ "air-quality": "openapi: 3.1.1\ninfo:\n title: Air Quality API - Real-Time AQI & Pollution Monitoring\n version: 1.0.0\n description: Monitor and predict air quality conditions using European (0-100+) and US (0-500) AQI standards. Returns current air quality readings and hourly forecast data up to 5 days ahead depending on the date range provided. Tracks pollutant concentrations including PM10, PM2.5, carbon monoxide, nitrogen dioxide, sulphur dioxide, ozone, and dust particles, plus UV index and aerosol optical depth measurements. Accepts location by city name, GPS coordinates, or IP address. Start/end dates are optional; without them only current conditions are returned.\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/weather\n description: Air Quality API Server\npaths:\n /air-quality:\n get:\n tags:\n - Weather APIs\n summary: Air pollution monitoring and quality forecasts\n description: Monitor and predict air quality conditions using European and US AQI standards. Track pollutant concentrations including PM10, PM2.5, carbon monoxide, nitrogen dioxide, sulfur dioxide, ozone, and dust particles. Get current readings plus hourly forecasts up to 5 days ahead, complete with UV index and aerosol measurements for comprehensive air quality assessment.\n operationId: getAirQuality\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n schema:\n type: string\n format: date\n description: Starting date for AQI forecast data in YYYY-MM-DD format. Must be supplied together with endDate \u2014 passing only one of the two returns a 400 error. Both dates must fall within a rolling window from today through 5 days ahead.\n required: false\n - name: endDate\n in: query\n schema:\n type: string\n format: date\n description: End date for AQI forecast data in YYYY-MM-DD format. Must be supplied together with startDate \u2014 passing only one of the two returns a 400 error, and endDate cannot be earlier than startDate. Both dates must fall within a rolling window from today through 5 days ahead.\n required: false\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location. Must be supplied together with long \u2014 passing only one of the two returns a 400 error.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location. Must be supplied together with lat \u2014 passing only one of the two returns a 400 error.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/AirQualityResponse'\n examples:\n typicalSuccess:\n summary: Current AQI by IP (auto-detected)\n value:\n location:\n continent_code: AS\n continent_name: Asia\n country_code2: PK\n country_code3: PAK\n country_name: Pakistan\n country_name_official: Islamic Republic of Pakistan\n is_eu: false\n state_prov: Punjab\n state_code: PK-PB\n district: Lahore\n city: Lahore\n zipcode: '54000'\n latitude: '31.52037'\n longitude: '74.35875'\n locality: Gulberg\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n current:\n timestamp: 2026-07-24T16:00\n european_aqi: 67\n us_aqi: 99\n pm10: 27.4\n pm2_5: 27.2\n carbon_monoxide: 493\n nitrogen_dioxide: 6.2\n sulphur_dioxide: 8.6\n ozone: 169\n dust: 0\n uv_index: 1.95\n aerosol_optical_depth: 0.71\n uv_index_clear_sky: 2.25\n forecastSuccess:\n summary: Forecast AQI by location and date range\n value:\n location:\n location_string: Paris,France\n country_name: France\n state_prov: Ile-de-France\n city: Paris\n locality: ''\n latitude: '48.85889'\n longitude: '2.32004'\n elevation: '0'\n timezone: Europe/Paris\n timezone_abbreviation: GMT+2\n forecast:\n '2026-07-25':\n hourly:\n - timestamp: 2026-07-25T00:00\n pm10: 14.8\n carbon_monoxide: 200\n pm2_5: 8.5\n carbon_dioxide: 446\n nitrogen_dioxide: 17.1\n sulphur_dioxide: 1\n ozone: 63\n dust: 0\n uv_index: 0\n aerosol_optical_depth: 0.2\n uv_index_clear_sky: 0\n - timestamp: 2026-07-25T01:00\n pm10: 16.1\n carbon_monoxide: 202\n pm2_5: 8.4\n carbon_dioxide: 449\n nitrogen_dioxide: 15.9\n sulphur_dioxide: 0.9\n ozone: 60\n dust: 0\n uv_index: 0\n aerosol_optical_depth: 0.2\n uv_index_clear_sky: 0\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or incomplete parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinates:\n summary: Coordinates out of range\n value:\n timestamp: '2026-07-24T11:34:36.550Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidIP:\n summary: Malformed IP address\n value:\n timestamp: '2026-07-24T11:34:37.632Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:34:38.657Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/air-quality\n MissingPairedParam:\n summary: Only one of a required pair supplied\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/air-quality\n status: 400\n timestamp: '2026-07-24T11:34:56.768Z'\n InvalidDateFormat:\n summary: Date not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:41.151Z'\n status: 400\n message: startDate must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/air-quality\n InvalidDateOrder:\n summary: endDate before startDate\n value:\n timestamp: '2026-07-24T11:36:03.105Z'\n status: 400\n message: startDate must be before or equal to endDate\n error: params-exception-error\n path: /v1.0/weather/air-quality\n DateRangeOutOfBounds:\n summary: Date range outside allowed window\n value:\n timestamp: '2026-07-24T11:34:45.616Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-07-29\n error: params-exception-error\n path: /v1.0/weather/air-quality\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:34:37.139Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/air-quality\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 AirQualityResponse:\n type: object\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/AirQuality'\n description: Current air quality data, present when the request omits startDate/endDate.\n forecast:\n $ref: '#/components/schemas/AirQualityForecast'\n description: Date-keyed forecast data, present when the request includes startDate/endDate.\n required:\n - location\n description: Air quality response containing location data plus either current observations or date-keyed forecast data. current and forecast are mutually exclusive \u2014 a single request never returns both.\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n AirQuality:\n type: object\n required:\n - timestamp\n - european_aqi\n - us_aqi\n - pm10\n - pm2_5\n - carbon_monoxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n properties:\n timestamp:\n type: string\n description: Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n european_aqi:\n type: integer\n description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'\n us_aqi:\n type: integer\n description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'\n pm10:\n type: number\n format: float\n description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n pm2_5:\n type: number\n format: float\n description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n carbon_monoxide:\n type: number\n format: float\n description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n nitrogen_dioxide:\n type: number\n format: float\n description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n sulphur_dioxide:\n type: number\n format: float\n description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n ozone:\n type: number\n format: float\n description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n dust:\n type: number\n format: float\n description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.\n uv_index:\n type: number\n format: float\n description: Ultraviolet radiation intensity index accounting for cloud coverage.\n aerosol_optical_depth:\n type: number\n format: float\n description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.\n uv_index_clear_sky:\n type: number\n format: float\n description: Ultraviolet radiation intensity index assuming cloud-free conditions.\n description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.\n AirQualityHourly:\n type: object\n properties:\n timestamp:\n type: string\n description: Local timestamp of this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n pm10:\n type: number\n description: Concentration of particulate matter \u226410 micrometers (\u03BCg/m\xB3)\n carbon_monoxide:\n type: number\n description: Concentration of carbon monoxide (\u03BCg/m\xB3)\n pm2_5:\n type: number\n description: Concentration of particulate matter \u22642.5 micrometers (\u03BCg/m\xB3)\n carbon_dioxide:\n type: number\n description: Concentration of carbon dioxide (ppm)\n nitrogen_dioxide:\n type: number\n description: Concentration of nitrogen dioxide (\u03BCg/m\xB3)\n sulphur_dioxide:\n type: number\n description: Concentration of sulphur dioxide (\u03BCg/m\xB3)\n ozone:\n type: number\n description: Concentration of ozone (\u03BCg/m\xB3)\n dust:\n type: number\n description: Concentration of dust particles (\u03BCg/m\xB3)\n uv_index:\n type: number\n description: Ultraviolet radiation index\n aerosol_optical_depth:\n type: number\n description: Aerosol optical depth\n uv_index_clear_sky:\n type: number\n description: Ultraviolet radiation index under clear sky conditions\n required:\n - timestamp\n - pm10\n - carbon_monoxide\n - pm2_5\n - carbon_dioxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n description: Hourly air quality forecast reading with pollutant concentrations and UV index.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n AirQualityForecast:\n type: object\n description: Forecast data object keyed by date (YYYY-MM-DD), one key per day in the requested startDate/endDate range. The key names are dynamic dates, not a fixed schema property.\n additionalProperties:\n $ref: '#/components/schemas/AirQualityForecastDay'\n AirQualityForecastDay:\n type: object\n description: Air quality forecast data for a single day, containing hourly readings.\n required:\n - hourly\n properties:\n hourly:\n type: array\n description: Array of hourly air quality readings for this day.\n items:\n $ref: '#/components/schemas/AirQualityHourly'\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",
56164
56141
  "astronomy-data": `openapi: 3.1.1
56165
56142
  info:
56166
56143
  title: Astronomy API - Location Based Astronomy Data
@@ -56808,683 +56785,18 @@ security:
56808
56785
  - ApiKeyAuthHeader: []
56809
56786
  - ApiKeyAuthQuery: []
56810
56787
  `,
56811
- "bulk-live-weather": `openapi: 3.1.1
56812
- info:
56813
- title: Bulk Live Weather API Reference
56814
- version: 1.0.0
56815
- description: 'Retrieve real-time weather conditions for multiple locations in a single POST request, up to 50 locations per batch. Each location can be specified as a city name or address, GPS coordinates, or IP address. The response contains a bulk array with one entry per requested location in the same order; each entry includes the same location and current weather objects as the single Live Weather endpoint, including full air quality (AQI indices and pollutants) and astronomical data (sunrise/sunset, moon phase, day length). A location that can''t be resolved (missing fields, unrecognized address) doesn''t fail the whole request \u2014 that slot gets a small \`{"error": "..."}\` object instead of a full result, even when every item in the batch fails. The optional timezone query parameter sets a default timezone for all results. A malformed request body, or a non-object item in the locations array, fails the whole request with a 400.'
56816
- contact:
56817
- name: APIFreaks Support
56818
- url: https://apifreaks.com/contact
56819
- email: support@apifreaks.com
56820
- servers:
56821
- - url: https://api.apifreaks.com/v1.0/weather
56822
- description: Bulk Live Weather API Server
56823
- paths:
56824
- /current:
56825
- post:
56826
- tags:
56827
- - Weather APIs
56828
- summary: Get real-time weather data for multiple locations, coordinates, or IP addresses
56829
- description: Retrieve current weather conditions for up to \`50 locations\` in a single request. A maximum of 50 locations (city names, IP addresses, or geographic coordinates) can be included in the request body.
56830
- parameters:
56831
- - name: format
56832
- in: query
56833
- required: false
56834
- description: 'Format of the response. Possible values: json.'
56835
- schema:
56836
- type: string
56837
- enum:
56838
- - json
56839
- default: json
56840
- - name: timezone
56841
- in: query
56842
- required: false
56843
- description: Override timezone for all returned data. Defaults to each location's local timezone.
56844
- schema:
56845
- type: string
56846
- requestBody:
56847
- required: true
56848
- content:
56849
- application/json:
56850
- schema:
56851
- $ref: '#/components/schemas/BulkCurrentRequest'
56852
- examples:
56853
- typicalRequest:
56854
- summary: Typical bulk lookup request
56855
- value:
56856
- locations:
56857
- - location: lahore
56858
- - lat: 32.5
56859
- long: 74.5
56860
- - ip: 8.8.8.8
56861
- - location: seoul
56862
- responses:
56863
- '200':
56864
- description: Successful response
56865
- content:
56866
- application/json:
56867
- schema:
56868
- $ref: '#/components/schemas/BulkCurrentResponse'
56869
- examples:
56870
- typicalSuccess:
56871
- summary: Typical successful response
56872
- value:
56873
- bulk:
56874
- - location:
56875
- location_string: lahore
56876
- country_name: Pakistan
56877
- state_prov: Punjab
56878
- city: Lahore
56879
- locality: ''
56880
- latitude: '31.56568'
56881
- longitude: '74.31418'
56882
- elevation: ''
56883
- timezone: Asia/Karachi
56884
- timezone_abbreviation: GMT+5
56885
- current:
56886
- timestamp: 2026-07-24T16:00
56887
- temperature_2m: 32.7
56888
- relative_humidity_2m: 63
56889
- apparent_temperature: 38.3
56890
- snowfall: 0
56891
- rain: 0
56892
- showers: 0
56893
- precipitation: 0
56894
- weather_code: 2
56895
- cloud_cover: 53
56896
- pressure_msl: 996.7
56897
- surface_pressure: 973.2
56898
- wind_speed_10m: 5.4
56899
- wind_direction_10m: 92
56900
- wind_gusts_10m: 16.9
56901
- air_quality:
56902
- timestamp: 2026-07-24T16:00
56903
- european_aqi: 67
56904
- us_aqi: 99
56905
- pm10: 27.4
56906
- pm2_5: 27.2
56907
- carbon_monoxide: 345
56908
- nitrogen_dioxide: 6.2
56909
- sulphur_dioxide: 8.6
56910
- ozone: 169
56911
- dust: 0
56912
- uv_index: 1.95
56913
- aerosol_optical_depth: 0.71
56914
- uv_index_clear_sky: 2.25
56915
- astronomy:
56916
- date: '2026-07-24'
56917
- mid_night: '00:09'
56918
- night_end: '03:39'
56919
- sunrise: '05:12'
56920
- sunset: '19:06'
56921
- night_begin: '20:38'
56922
- sun_status: '-'
56923
- solar_noon: '12:09'
56924
- day_length: '13:54'
56925
- moon_phase: WAXING_GIBBOUS
56926
- moonrise: '15:08'
56927
- moonset: '00:26'
56928
- moon_status: '-'
56929
- partialFailure:
56930
- summary: Batch with an unresolvable location \u2014 that slot gets an error object, request still succeeds
56931
- value:
56932
- bulk:
56933
- - error: Missing required location parameters
56934
- - error: Location not found
56935
- headers:
56936
- X-AF-Credits-Cost:
56937
- $ref: '#/components/headers/X-AF-Credits-Cost'
56938
- '400':
56939
- description: Bad Request \u2014 Missing/malformed request body, or a non-object item in the locations array
56940
- content:
56941
- application/json:
56942
- schema:
56943
- $ref: '#/components/schemas/ErrorResponse'
56944
- examples:
56945
- InvalidBody:
56946
- summary: Invalid or missing request body
56947
- value:
56948
- error: Invalid request body Exception
56949
- message: Please provide data in required format in request body
56950
- path: /v1.0/weather/current
56951
- status: 400
56952
- timestamp: '2026-07-24T11:12:06.906Z'
56953
- InvalidItem:
56954
- summary: locations[0] is not an object
56955
- value:
56956
- timestamp: '2026-07-24T11:12:07.410Z'
56957
- status: 400
56958
- message: '"locations[0]" must be of type object'
56959
- error: error
56960
- path: /v1.0/weather/current/bulk
56961
- headers:
56962
- X-AF-Credits-Cost:
56963
- $ref: '#/components/headers/X-AF-Credits-Cost'
56964
- operationId: bulkLiveWeather
56965
- components:
56966
- securitySchemes:
56967
- ApiKeyAuthHeader:
56968
- type: apiKey
56969
- in: header
56970
- name: X-apiKey
56971
- description: Pass your API key via the X-apiKey request header.
56972
- ApiKeyAuthQuery:
56973
- type: apiKey
56974
- in: query
56975
- name: apiKey
56976
- description: Pass your API key via the apiKey query parameter.
56977
- schemas:
56978
- BulkCurrentRequest:
56979
- type: object
56980
- properties:
56981
- locations:
56982
- type: array
56983
- maxItems: 50
56984
- items:
56985
- $ref: '#/components/schemas/BulkLocationItem'
56986
- description: Array of location objects to query. Maximum 50 items per request.
56987
- required:
56988
- - locations
56989
- description: Request body for bulk live weather lookup, containing an array of location specifications.
56990
- BulkLocationItem:
56991
- type: object
56992
- description: 'Each object specifies one location using exactly one of the supported lookup methods: location alone, lat+long together, or ip alone. None of these fields is required at the schema level \u2014 an item missing all of them is still accepted by the request, but resolves to a per-item error object in the response (see BulkCurrentResponse) rather than failing the whole request.'
56993
- properties:
56994
- location:
56995
- type: string
56996
- description: City name, place name, or full address
56997
- lat:
56998
- type: number
56999
- description: Latitude
57000
- long:
57001
- type: number
57002
- description: Longitude
57003
- ip:
57004
- type: string
57005
- description: IP address
57006
- BulkCurrentResponse:
57007
- type: object
57008
- required:
57009
- - bulk
57010
- properties:
57011
- bulk:
57012
- type: array
57013
- items:
57014
- oneOf:
57015
- - description: A successfully resolved location's weather result.
57016
- $ref: '#/components/schemas/CurrentWeatherResponse'
57017
- - description: Returned in place of a weather result when that location could not be resolved (missing fields, unrecognized address, etc). Does not fail the request, even when every item in the batch errors.
57018
- $ref: '#/components/schemas/BulkWeatherItemError'
57019
- description: Array of per-location results, one entry per requested location, in the same order as the request. Each entry is either a full weather result or a per-item error object.
57020
- description: Bulk weather response containing an array of per-location current weather results.
57021
- CurrentWeatherResponse:
57022
- type: object
57023
- required:
57024
- - location
57025
- - current
57026
- properties:
57027
- location:
57028
- $ref: '#/components/schemas/WeatherLocation'
57029
- current:
57030
- $ref: '#/components/schemas/CurrentWeather'
57031
- description: Current weather data
57032
- description: Current weather response containing location data and current weather conditions.
57033
- BulkWeatherItemError:
57034
- type: object
57035
- description: Per-item error, returned in place of a weather result when an individual location could not be resolved.
57036
- required:
57037
- - error
57038
- properties:
57039
- error:
57040
- type: string
57041
- description: Human-readable reason this location could not be resolved (e.g. "Location not found", "Missing required location parameters").
57042
- WeatherLocation:
57043
- type: object
57044
- description: Location information. The shape of this object varies by lookup method.
57045
- oneOf:
57046
- - description: Location data when the target is specified by GPS coordinates (lat/long).
57047
- $ref: '#/components/schemas/LocationByCoordinates'
57048
- - description: Location data when the target is inferred from an IP address.
57049
- $ref: '#/components/schemas/LocationByIP'
57050
- - description: Location data when the target is specified by a city name or address string.
57051
- $ref: '#/components/schemas/LocationByAddress'
57052
- LocationByCoordinates:
57053
- type: object
57054
- required:
57055
- - latitude
57056
- - longitude
57057
- - country_name
57058
- - state_prov
57059
- - city
57060
- - timezone
57061
- - timezone_abbreviation
57062
- properties:
57063
- latitude:
57064
- type: string
57065
- description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.
57066
- longitude:
57067
- type: string
57068
- description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.
57069
- country_name:
57070
- type: string
57071
- description: Full name of the country corresponding to the provided coordinates.
57072
- state_prov:
57073
- type: string
57074
- description: State, province, or primary administrative division name for the location.
57075
- city:
57076
- type: string
57077
- description: City or municipal area name associated with the coordinate location.
57078
- locality:
57079
- type: string
57080
- description: Specific locality, neighborhood, district, or village name within the broader area.
57081
- elevation:
57082
- type: string
57083
- description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.
57084
- timezone:
57085
- type: string
57086
- description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).
57087
- timezone_abbreviation:
57088
- type: string
57089
- description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).
57090
- description: Location data when the target is specified by GPS coordinates (lat/long).
57091
- LocationByIP:
57092
- type: object
57093
- required:
57094
- - continent_code
57095
- - continent_name
57096
- - country_code2
57097
- - country_code3
57098
- - country_name
57099
- - country_name_official
57100
- - state_prov
57101
- - city
57102
- - latitude
57103
- - longitude
57104
- - timezone
57105
- - timezone_abbreviation
57106
- properties:
57107
- continent_code:
57108
- type: string
57109
- description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).
57110
- continent_name:
57111
- type: string
57112
- description: Full name of the continent where the IP address is registered.
57113
- country_code2:
57114
- type: string
57115
- description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).
57116
- country_code3:
57117
- type: string
57118
- description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).
57119
- country_name:
57120
- type: string
57121
- description: Common name of the country associated with the IP address.
57122
- country_name_official:
57123
- type: string
57124
- description: Official long-form country name as recognized internationally (e.g., United States of America).
57125
- is_eu:
57126
- type: boolean
57127
- description: Boolean flag indicating whether the country is a member state of the European Union.
57128
- state_prov:
57129
- type: string
57130
- description: State, province, or primary administrative division associated with the IP location.
57131
- state_code:
57132
- type: string
57133
- description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).
57134
- district:
57135
- type: string
57136
- description: District, county, or secondary administrative division within the region.
57137
- city:
57138
- type: string
57139
- description: City or urban area name where the IP address is geographically registered.
57140
- zipcode:
57141
- type: string
57142
- description: Postal code or ZIP code for the approximate location of the IP address.
57143
- latitude:
57144
- type: string
57145
- description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.
57146
- longitude:
57147
- type: string
57148
- description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.
57149
- locality:
57150
- type: string
57151
- description: Specific locality, neighborhood, or small area designation within the city.
57152
- elevation:
57153
- type: string
57154
- description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.
57155
- timezone:
57156
- type: string
57157
- description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).
57158
- timezone_abbreviation:
57159
- type: string
57160
- description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).
57161
- description: Location data when the target is inferred from an IP address.
57162
- LocationByAddress:
57163
- type: object
57164
- required:
57165
- - location_string
57166
- - country_name
57167
- - state_prov
57168
- - city
57169
- - latitude
57170
- - longitude
57171
- - timezone
57172
- - timezone_abbreviation
57173
- properties:
57174
- location_string:
57175
- type: string
57176
- description: Original location query string as submitted, including full address or place name.
57177
- country_name:
57178
- type: string
57179
- description: Resolved country name derived from the geocoded location query.
57180
- state_prov:
57181
- type: string
57182
- description: State, province, or primary administrative division identified from the location.
57183
- city:
57184
- type: string
57185
- description: City or municipal area name extracted from the geocoded location.
57186
- locality:
57187
- type: string
57188
- description: Specific locality, neighborhood, suburb, or village within the geocoded area.
57189
- latitude:
57190
- type: string
57191
- description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.
57192
- longitude:
57193
- type: string
57194
- description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.
57195
- elevation:
57196
- type: string
57197
- description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.
57198
- timezone:
57199
- type: string
57200
- description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).
57201
- timezone_abbreviation:
57202
- type: string
57203
- description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).
57204
- description: Location data when the target is specified by a city name or address string.
57205
- CurrentWeather:
57206
- type: object
57207
- required:
57208
- - timestamp
57209
- - temperature_2m
57210
- - relative_humidity_2m
57211
- - apparent_temperature
57212
- - snowfall
57213
- - rain
57214
- - showers
57215
- - precipitation
57216
- - weather_code
57217
- - cloud_cover
57218
- - pressure_msl
57219
- - surface_pressure
57220
- - wind_speed_10m
57221
- - wind_direction_10m
57222
- - wind_gusts_10m
57223
- - astronomy
57224
- - air_quality
57225
- properties:
57226
- timestamp:
57227
- type: string
57228
- format: date-time
57229
- description: ISO 8601 formatted timestamp of the current weather observation.
57230
- temperature_2m:
57231
- type: number
57232
- format: float
57233
- description: Current air temperature (\xB0C) measured at 2 meters above ground.
57234
- relative_humidity_2m:
57235
- type: number
57236
- format: float
57237
- description: Current relative humidity percentage at 2 meters above ground.
57238
- apparent_temperature:
57239
- type: number
57240
- format: float
57241
- description: Current apparent temperature (\xB0C) accounting for wind chill and humidity.
57242
- snowfall:
57243
- type: number
57244
- format: float
57245
- description: Current snowfall accumulation in centimeters.
57246
- rain:
57247
- type: number
57248
- format: float
57249
- description: Current rainfall accumulation in millimeters.
57250
- showers:
57251
- type: number
57252
- format: float
57253
- description: Current shower precipitation in millimeters.
57254
- precipitation:
57255
- type: number
57256
- format: float
57257
- description: Total precipitation (mm) including rain, showers, and snowfall.
57258
- weather_code:
57259
- type: integer
57260
- enum:
57261
- - 0
57262
- - 1
57263
- - 2
57264
- - 3
57265
- - 45
57266
- - 48
57267
- - 51
57268
- - 53
57269
- - 55
57270
- - 56
57271
- - 57
57272
- - 61
57273
- - 63
57274
- - 65
57275
- - 66
57276
- - 67
57277
- - 71
57278
- - 73
57279
- - 75
57280
- - 77
57281
- - 80
57282
- - 81
57283
- - 82
57284
- - 85
57285
- - 86
57286
- - 95
57287
- - 96
57288
- - 99
57289
- description: 'WMO weather condition code representing current conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'
57290
- cloud_cover:
57291
- type: number
57292
- format: float
57293
- description: Current percentage of sky covered by clouds.
57294
- pressure_msl:
57295
- type: number
57296
- format: float
57297
- description: Current atmospheric pressure (hPa) adjusted to mean sea level.
57298
- surface_pressure:
57299
- type: number
57300
- format: float
57301
- description: Current atmospheric pressure (hPa) at surface level.
57302
- wind_speed_10m:
57303
- type: number
57304
- format: float
57305
- description: Current wind speed (km/h) at 10 meters above ground.
57306
- wind_direction_10m:
57307
- type: integer
57308
- description: Current wind direction in degrees at 10 meters above ground.
57309
- wind_gusts_10m:
57310
- type: number
57311
- format: float
57312
- description: Current wind gust speed (km/h) at 10 meters above ground.
57313
- astronomy:
57314
- $ref: '#/components/schemas/Astronomy'
57315
- description: Astronomical information including sunrise, sunset, and moon phases for the current date.
57316
- air_quality:
57317
- $ref: '#/components/schemas/AirQuality'
57318
- description: Air quality metrics including pollutant concentrations and AQI values.
57319
- description: Current weather conditions including temperature, humidity, precipitation, wind, pressure, astronomy, and air quality.
57320
- Astronomy:
57321
- type: object
57322
- required:
57323
- - date
57324
- - mid_night
57325
- - night_end
57326
- - sunrise
57327
- - solar_noon
57328
- - sunset
57329
- - night_begin
57330
- - day_length
57331
- - sun_status
57332
- - moon_phase
57333
- - moonrise
57334
- - moonset
57335
- - moon_status
57336
- properties:
57337
- date:
57338
- type: string
57339
- format: date
57340
- description: Calendar date in YYYY-MM-DD format for the astronomical data.
57341
- mid_night:
57342
- type: string
57343
- description: Time of true solar midnight in HH:MM format.
57344
- night_end:
57345
- type: string
57346
- description: Time when astronomical twilight ends and dawn begins in HH:MM format.
57347
- sunrise:
57348
- type: string
57349
- description: Time when the Sun becomes visible above the horizon in HH:MM format.
57350
- solar_noon:
57351
- type: string
57352
- description: Time when the Sun reaches its highest point in the sky in HH:MM format.
57353
- sunset:
57354
- type: string
57355
- description: Time when the Sun disappears below the horizon in HH:MM format.
57356
- night_begin:
57357
- type: string
57358
- description: Time when astronomical twilight begins and night starts in HH:MM format.
57359
- day_length:
57360
- type: string
57361
- description: Total duration of daylight in HH:MM format.
57362
- sun_status:
57363
- type: string
57364
- description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).
57365
- moon_phase:
57366
- type: string
57367
- description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).
57368
- moonrise:
57369
- type: string
57370
- description: Time when the Moon becomes visible above the horizon in HH:MM format.
57371
- moonset:
57372
- type: string
57373
- description: Time when the Moon disappears below the horizon in HH:MM format.
57374
- moon_status:
57375
- type: string
57376
- description: Current visibility status of the Moon (visible, not_visible, or -).
57377
- description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.
57378
- AirQuality:
57379
- type: object
57380
- required:
57381
- - timestamp
57382
- - european_aqi
57383
- - us_aqi
57384
- - pm10
57385
- - pm2_5
57386
- - carbon_monoxide
57387
- - nitrogen_dioxide
57388
- - sulphur_dioxide
57389
- - ozone
57390
- - dust
57391
- - uv_index
57392
- - aerosol_optical_depth
57393
- - uv_index_clear_sky
57394
- properties:
57395
- timestamp:
57396
- type: string
57397
- format: date-time
57398
- description: ISO 8601 formatted timestamp (iso8601).
57399
- european_aqi:
57400
- type: integer
57401
- description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'
57402
- us_aqi:
57403
- type: integer
57404
- description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'
57405
- pm10:
57406
- type: number
57407
- format: float
57408
- description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.
57409
- pm2_5:
57410
- type: number
57411
- format: float
57412
- description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.
57413
- carbon_monoxide:
57414
- type: number
57415
- format: float
57416
- description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.
57417
- nitrogen_dioxide:
57418
- type: number
57419
- format: float
57420
- description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.
57421
- sulphur_dioxide:
57422
- type: number
57423
- format: float
57424
- description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.
57425
- ozone:
57426
- type: number
57427
- format: float
57428
- description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.
57429
- dust:
57430
- type: number
57431
- format: float
57432
- description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.
57433
- uv_index:
57434
- type: number
57435
- format: float
57436
- description: Ultraviolet radiation intensity index accounting for cloud coverage.
57437
- aerosol_optical_depth:
57438
- type: number
57439
- format: float
57440
- description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.
57441
- uv_index_clear_sky:
57442
- type: number
57443
- format: float
57444
- description: Ultraviolet radiation intensity index assuming cloud-free conditions.
57445
- description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.
57446
- ErrorResponse:
57447
- type: object
57448
- required:
57449
- - message
57450
- properties:
57451
- error:
57452
- type: string
57453
- description: Short error category or exception type.
57454
- message:
57455
- type: string
57456
- description: Human-readable error message describing the failure.
57457
- path:
57458
- type: string
57459
- description: API endpoint path that produced the error.
57460
- status:
57461
- type: integer
57462
- description: HTTP status code returned with the error.
57463
- timestamp:
57464
- type: string
57465
- format: date-time
57466
- description: Timestamp when the error occurred (ISO 8601).
57467
- description: Standard error envelope returned by the API on failed requests.
57468
- headers:
57469
- X-AF-Credits-Cost:
57470
- description: Specifies the number of credits consumed by the current request.
57471
- schema:
57472
- type: integer
57473
- security:
57474
- - ApiKeyAuthHeader: []
57475
- - ApiKeyAuthQuery: []
57476
- `,
56788
+ "bulk-live-weather": "openapi: 3.1.1\ninfo:\n title: Bulk Live Weather API Reference\n version: 1.0.0\n description: 'Retrieve real-time weather conditions for multiple locations in a single POST request, up to 50 locations per batch. Each location can be specified as a city name or address, GPS coordinates, or IP address. The response contains a bulk array with one entry per requested location in the same order; each entry includes the same location and current weather objects as the single Live Weather endpoint, including full air quality (AQI indices and pollutants) and astronomical data (sunrise/sunset, moon phase, day length). A location that can''t be resolved (missing fields, unrecognized address) doesn''t fail the whole request \u2014 that slot gets a small `{\"error\": \"...\"}` object instead of a full result, even when every item in the batch fails. The optional timezone query parameter sets a default timezone for all results. A malformed request body, or a non-object item in the locations array, fails the whole request with a 400.'\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/weather\n description: Bulk Live Weather API Server\npaths:\n /current:\n post:\n tags:\n - Weather APIs\n summary: Get real-time weather data for multiple locations, coordinates, or IP addresses\n description: Retrieve current weather conditions for up to `50 locations` in a single request. A maximum of 50 locations (city names, IP addresses, or geographic coordinates) can be included in the request body.\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: timezone\n in: query\n required: false\n description: Override timezone for all returned data. Defaults to each location's local timezone.\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkCurrentRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n locations:\n - location: lahore\n - lat: 32.5\n long: 74.5\n - ip: 8.8.8.8\n - location: seoul\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkCurrentResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n bulk:\n - location:\n location_string: lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n current:\n timestamp: 2026-07-24T16:00\n temperature_2m: 32.7\n relative_humidity_2m: 63\n apparent_temperature: 38.3\n snowfall: 0\n rain: 0\n showers: 0\n precipitation: 0\n weather_code: 2\n cloud_cover: 53\n pressure_msl: 996.7\n surface_pressure: 973.2\n wind_speed_10m: 5.4\n wind_direction_10m: 92\n wind_gusts_10m: 16.9\n air_quality:\n timestamp: 2026-07-24T16:00\n european_aqi: 67\n us_aqi: 99\n pm10: 27.4\n pm2_5: 27.2\n carbon_monoxide: 345\n nitrogen_dioxide: 6.2\n sulphur_dioxide: 8.6\n ozone: 169\n dust: 0\n uv_index: 1.95\n aerosol_optical_depth: 0.71\n uv_index_clear_sky: 2.25\n astronomy:\n date: '2026-07-24'\n mid_night: '00:09'\n night_end: '03:39'\n sunrise: '05:12'\n sunset: '19:06'\n night_begin: '20:38'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:54'\n moon_phase: WAXING_GIBBOUS\n moonrise: '15:08'\n moonset: '00:26'\n moon_status: '-'\n partialFailure:\n summary: Batch with an unresolvable location \u2014 that slot gets an error object, request still succeeds\n value:\n bulk:\n - error: Missing required location parameters\n - error: Location not found\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/malformed request body, or a non-object item in the locations array\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidBody:\n summary: Invalid or missing request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/weather/current\n status: 400\n timestamp: '2026-07-24T11:12:06.906Z'\n InvalidItem:\n summary: locations[0] is not an object\n value:\n timestamp: '2026-07-24T11:12:07.410Z'\n status: 400\n message: '\"locations[0]\" must be of type object'\n error: error\n path: /v1.0/weather/current/bulk\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: bulkLiveWeather\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 BulkCurrentRequest:\n type: object\n properties:\n locations:\n type: array\n maxItems: 50\n items:\n $ref: '#/components/schemas/BulkLocationItem'\n description: Array of location objects to query. Maximum 50 items per request.\n required:\n - locations\n description: Request body for bulk live weather lookup, containing an array of location specifications.\n BulkLocationItem:\n type: object\n description: 'Each object specifies one location using exactly one of the supported lookup methods: location alone, lat+long together, or ip alone. None of these fields is required at the schema level \u2014 an item missing all of them is still accepted by the request, but resolves to a per-item error object in the response (see BulkCurrentResponse) rather than failing the whole request.'\n properties:\n location:\n type: string\n description: City name, place name, or full address\n lat:\n type: number\n description: Latitude\n long:\n type: number\n description: Longitude\n ip:\n type: string\n description: IP address\n BulkCurrentResponse:\n type: object\n required:\n - bulk\n properties:\n bulk:\n type: array\n items:\n oneOf:\n - description: A successfully resolved location's weather result.\n $ref: '#/components/schemas/CurrentWeatherResponse'\n - description: Returned in place of a weather result when that location could not be resolved (missing fields, unrecognized address, etc). Does not fail the request, even when every item in the batch errors.\n $ref: '#/components/schemas/BulkWeatherItemError'\n description: Array of per-location results, one entry per requested location, in the same order as the request. Each entry is either a full weather result or a per-item error object.\n description: Bulk weather response containing an array of per-location current weather results.\n CurrentWeatherResponse:\n type: object\n required:\n - location\n - current\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/CurrentWeather'\n description: Current weather data\n description: Current weather response containing location data and current weather conditions.\n BulkWeatherItemError:\n type: object\n description: Per-item error, returned in place of a weather result when an individual location could not be resolved.\n required:\n - error\n properties:\n error:\n type: string\n description: Human-readable reason this location could not be resolved (e.g. \"Location not found\", \"Missing required location parameters\").\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n CurrentWeather:\n type: object\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - apparent_temperature\n - snowfall\n - rain\n - showers\n - precipitation\n - weather_code\n - cloud_cover\n - pressure_msl\n - surface_pressure\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - astronomy\n - air_quality\n properties:\n timestamp:\n type: string\n description: Local timestamp of the current weather observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n temperature_2m:\n type: number\n format: float\n description: Current air temperature (\xB0C) measured at 2 meters above ground.\n relative_humidity_2m:\n type: number\n format: float\n description: Current relative humidity percentage at 2 meters above ground.\n apparent_temperature:\n type: number\n format: float\n description: Current apparent temperature (\xB0C) accounting for wind chill and humidity.\n snowfall:\n type: number\n format: float\n description: Current snowfall accumulation in centimeters.\n rain:\n type: number\n format: float\n description: Current rainfall accumulation in millimeters.\n showers:\n type: number\n format: float\n description: Current shower precipitation in millimeters.\n precipitation:\n type: number\n format: float\n description: Total precipitation (mm) including rain, showers, and snowfall.\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing current conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n cloud_cover:\n type: number\n format: float\n description: Current percentage of sky covered by clouds.\n pressure_msl:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) adjusted to mean sea level.\n surface_pressure:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) at surface level.\n wind_speed_10m:\n type: number\n format: float\n description: Current wind speed (km/h) at 10 meters above ground.\n wind_direction_10m:\n type: integer\n description: Current wind direction in degrees at 10 meters above ground.\n wind_gusts_10m:\n type: number\n format: float\n description: Current wind gust speed (km/h) at 10 meters above ground.\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical information including sunrise, sunset, and moon phases for the current date.\n air_quality:\n $ref: '#/components/schemas/AirQuality'\n description: Air quality metrics including pollutant concentrations and AQI values.\n description: Current weather conditions including temperature, humidity, precipitation, wind, pressure, astronomy, and air quality.\n Astronomy:\n type: object\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.\n AirQuality:\n type: object\n required:\n - timestamp\n - european_aqi\n - us_aqi\n - pm10\n - pm2_5\n - carbon_monoxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n properties:\n timestamp:\n type: string\n description: Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n european_aqi:\n type: integer\n description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'\n us_aqi:\n type: integer\n description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'\n pm10:\n type: number\n format: float\n description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n pm2_5:\n type: number\n format: float\n description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n carbon_monoxide:\n type: number\n format: float\n description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n nitrogen_dioxide:\n type: number\n format: float\n description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n sulphur_dioxide:\n type: number\n format: float\n description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n ozone:\n type: number\n format: float\n description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n dust:\n type: number\n format: float\n description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.\n uv_index:\n type: number\n format: float\n description: Ultraviolet radiation intensity index accounting for cloud coverage.\n aerosol_optical_depth:\n type: number\n format: float\n description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.\n uv_index_clear_sky:\n type: number\n format: float\n description: Ultraviolet radiation intensity index assuming cloud-free conditions.\n description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.\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 description: Standard error envelope returned by the API on failed requests.\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",
57477
56789
  "flood-forecast": "openapi: 3.1.1\ninfo:\n title: Flood Forecast API - River Discharge & Flood Risk Monitoring\n version: 1.0.0\n description: Get daily flood risk and river discharge forecast data for any location, up to 16 days ahead. Returns a `location` block plus a `forecast` object keyed by date, each day carrying river discharge statistics (`river_discharge`, mean, median, max, min, and the p25/p75 percentiles) in m\xB3/s. Accepts the target location as a `location` string, `lat`/`long` coordinates, or an `ip` address; the `timezone` param controls the returned timezone abbreviation. If none of `location`, `lat`/`long`, or `ip` are supplied, the location is auto-detected from the caller's IP address. Locations without a nearby monitored river return a `200` response with all discharge values at `0` rather than an error.\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/weather\n description: Flood Forecast API Server\npaths:\n /flood:\n get:\n tags:\n - Weather APIs\n summary: Get flood risk and river discharge forecast\n description: Provides flood forecast data for a given location, including river discharge metrics such as mean, median, maximum, minimum, and percentile values (p25, p75). Requires a startDate and endDate, with the date range limited to 16 days. Location can be specified using city name, latitude/longitude, or IP address; if omitted entirely, the caller's IP is used.\n operationId: getFloodForecast\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: Starting date for flood forecast data in YYYY-MM-DD format. Forecast dates must be current or future dates only. Past dates are not allowed for forecast data. The difference between endDate and startDate must not exceed 16 days.\n - name: endDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: End date for flood forecast data in YYYY-MM-DD format. Forecast dates must be current or future dates only. Past dates are not allowed for forecast data. The difference between endDate and startDate must not exceed 16 days.\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: precision\n in: query\n required: false\n description: Forecast data granularity. Only 'daily' is supported; any other value returns a 400 error.\n schema:\n type: string\n enum:\n - daily\n default: daily\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful flood forecast response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/FloodResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n location:\n location_string: London\n country_name: United Kingdom\n state_prov: England\n city: London\n locality: ''\n latitude: '51.50745'\n longitude: '-0.12777'\n elevation: '12'\n timezone: Europe/London\n timezone_abbreviation: GMT+1\n forecast:\n '2026-07-25':\n daily:\n timestamp: '2026-07-25'\n river_discharge: 5.47\n river_discharge_mean: 5.47\n river_discharge_median: 5.47\n river_discharge_max: 5.68\n river_discharge_min: 5.44\n river_discharge_p25: 5.46\n river_discharge_p75: 5.47\n '2026-07-26':\n daily:\n timestamp: '2026-07-26'\n river_discharge: 5.46\n river_discharge_mean: 5.47\n river_discharge_median: 5.46\n river_discharge_max: 6.06\n river_discharge_min: 5.4\n river_discharge_p25: 5.46\n river_discharge_p75: 5.47\n '2026-07-27':\n daily:\n timestamp: '2026-07-27'\n river_discharge: 5.4\n river_discharge_mean: 5.4\n river_discharge_median: 5.4\n river_discharge_max: 6.11\n river_discharge_min: 5.3\n river_discharge_p25: 5.35\n river_discharge_p75: 5.42\n '2026-07-28':\n daily:\n timestamp: '2026-07-28'\n river_discharge: 5.37\n river_discharge_mean: 5.98\n river_discharge_median: 5.36\n river_discharge_max: 22.99\n river_discharge_min: 5.27\n river_discharge_p25: 5.31\n river_discharge_p75: 5.54\n noRiverDataNearby:\n summary: Location with no nearby monitored river\n value:\n location:\n latitude: '23.40000'\n longitude: '11.50000'\n country_name: Algeria\n state_prov: Djanet\n city: Djanet\n locality: ''\n elevation: ''\n timezone: Africa/Algiers\n timezone_abbreviation: GMT+1\n forecast:\n '2026-07-25':\n daily:\n timestamp: '2026-07-25'\n river_discharge: 0\n river_discharge_mean: 0\n river_discharge_median: 0\n river_discharge_max: 0\n river_discharge_min: 0\n river_discharge_p25: 0\n river_discharge_p75: 0\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing, malformed, or out-of-range parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingParams:\n summary: Missing or incomplete location parameters\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/flood\n status: 400\n timestamp: '2026-07-24T11:35:53.121Z'\n InvalidCoordinates:\n summary: Latitude or longitude out of range\n value:\n timestamp: '2026-07-24T11:34:58.755Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/flood\n UnresolvedCoordinates:\n summary: In-range coordinates over open ocean/uninhabited area\n value:\n timestamp: '2026-07-24T11:35:26.119Z'\n status: 400\n message: Please provide both lat and long parameters.\n error: invalid-params\n path: /v1.0/weather/flood\n InvalidIp:\n summary: Malformed IP address\n value:\n timestamp: '2026-07-24T11:35:53.649Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/flood\n InvalidPrecision:\n summary: Unsupported precision value\n value:\n timestamp: '2026-07-24T11:35:40.099Z'\n status: 400\n message: '''hourly'' precision is not supported on this endpoint'\n error: invalid-params\n path: /v1.0/weather/flood\n BadDateFormat:\n summary: Bad date format\n value:\n timestamp: '2026-07-24T11:35:10.570Z'\n status: 400\n message: startDate must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/flood\n EndBeforeStart:\n summary: End date before start date\n value:\n timestamp: '2026-07-24T11:35:11.115Z'\n status: 400\n message: startDate must be before or equal to endDate\n error: params-exception-error\n path: /v1.0/weather/flood\n DateRangeExceeded:\n summary: Date range exceeds 16 days, or a past date was requested\n value:\n timestamp: '2026-07-24T11:35:11.610Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-08-08\n error: params-exception-error\n path: /v1.0/weather/flood\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:35:12.674Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/flood\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 FloodResponse:\n type: object\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n forecast:\n $ref: '#/components/schemas/FloodForecastData'\n required:\n - location\n - forecast\n description: Flood forecast response containing location data and date-keyed river discharge forecasts.\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates, returned as a string. Can be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation, returned as a string. Can be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates, returned as a string. Can be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n FloodDaily:\n type: object\n properties:\n timestamp:\n type: string\n format: date\n description: Forecast date in YYYY-MM-DD format. Returned as a date only, with no time component despite the parent object being keyed by the same date.\n river_discharge:\n type: number\n description: The observed river discharge value (m\xB3/s)\n river_discharge_mean:\n type: number\n description: The mean river discharge (m\xB3/s)\n river_discharge_median:\n type: number\n description: The median river discharge (m\xB3/s)\n river_discharge_max:\n type: number\n description: The maximum river discharge (m\xB3/s)\n river_discharge_min:\n type: number\n description: The minimum river discharge (m\xB3/s)\n river_discharge_p25:\n type: number\n description: The 25th percentile of river discharge (m\xB3/s)\n river_discharge_p75:\n type: number\n description: The 75th percentile of river discharge (m\xB3/s)\n required:\n - timestamp\n - river_discharge\n - river_discharge_mean\n - river_discharge_median\n - river_discharge_max\n - river_discharge_min\n - river_discharge_p25\n - river_discharge_p75\n description: Daily river discharge forecast data with discharge statistics and percentiles.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n FloodForecastData:\n type: object\n description: Flood forecast data object keyed by date (YYYY-MM-DD); each key's value is a FloodForecastDay object.\n additionalProperties:\n $ref: '#/components/schemas/FloodForecastDay'\n FloodForecastDay:\n type: object\n description: Flood forecast data for a single day, containing river discharge metrics.\n required:\n - daily\n properties:\n daily:\n $ref: '#/components/schemas/FloodDaily'\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",
57478
- "historical-weather": "openapi: 3.1.1\ninfo:\n title: Historical Weather APIs & Time-Series Analytics\n version: 1.0.0\n description: Retrieve historical weather conditions for a single past date, with records available from 1940 through the present. Returns daily aggregate figures (temperature max/min/mean, precipitation, wind speed and gusts, cloud cover, humidity, pressure, dew point) by default, or 24 hourly readings for that date when `precision=hourly` is passed, plus sunrise/sunset/moon-phase astronomy data on every response. Accepts a location as a city name or address, GPS coordinates via `lat`/`long`, or an IP address; when none of these is supplied the API geolocates the requesting client's IP address instead. `latitude`, `longitude`, and `elevation` in the location object are always returned as strings, never numbers. This endpoint accepts only a single `date` per request --- use the Time-Series Weather API for continuous multi-date ranges.\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/weather\n description: Historical Weather API Server\npaths:\n /historical:\n get:\n tags:\n - Weather APIs\n summary: Retrieve historical weather conditions for a specific past date and location, coordinates, or IP address\n description: Return daily aggregate or hourly weather readings plus astronomy data for a single past date going back to 1940, resolved by city/address, GPS coordinates, or IP address.\n operationId: getHistoricalData\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: date\n in: query\n required: true\n description: Specific date for which to fetch weather data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards.\n schema:\n type: string\n format: date\n - name: location\n in: query\n required: false\n description: City name, place name, or full address to look up historical weather for. Ignored when lat/long is provided.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude of the location. Takes precedence over location and ip when more than one location parameter is supplied.\n schema:\n type: number\n - name: long\n in: query\n required: false\n description: Longitude of the location. Must be provided together with lat.\n schema:\n type: number\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address for location inference. Ignored when location or lat/long is provided; if none of location, lat/long, or ip is supplied, the requesting client's IP address is used instead.\n schema:\n type: string\n - name: precision\n in: query\n required: false\n description: 'Precision of the returned historical data. Possible values: daily (aggregated daily figures), hourly (24 hourly readings for the date). Default: daily.'\n schema:\n type: string\n enum:\n - daily\n - hourly\n default: daily\n - name: timezone\n in: query\n required: false\n description: IANA timezone to render the astronomy time fields in, instead of the resolved location's own timezone. When set, sunrise/sunset/moonrise-type fields include the date (YYYY-MM-DD HH:MM) instead of only HH:MM.\n schema:\n type: string\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalResponse'\n examples:\n dailyPrecision:\n summary: precision=daily response (default)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n daily:\n timestamp: '1940-10-10'\n weather_code: 0\n temperature_2m_mean: 28.1\n temperature_2m_max: 37.9\n temperature_2m_min: 20.3\n apparent_temperature_mean: 25\n apparent_temperature_max: 36.5\n apparent_temperature_min: 16.8\n precipitation_sum: 0\n rain_sum: 0\n snowfall_sum: 0\n wind_speed_10m_max: 12.8\n wind_gusts_10m_max: 25.6\n wind_speed_10m_mean: 8.7\n wind_speed_10m_min: 3.9\n wind_gusts_10m_min: 9\n wind_gusts_10m_mean: 16.4\n wind_direction_10m_dominant: 80\n shortwave_radiation_sum: 20.09\n et0_fao_evapotranspiration_sum: 6.29\n cloud_cover_mean: 0\n dew_point_2m_mean: 0.1\n dew_point_2m_max: 5.5\n dew_point_2m_min: -3\n relative_humidity_2m_mean: 18\n relative_humidity_2m_max: 26\n relative_humidity_2m_min: 8\n pressure_msl_mean: 1010.2\n surface_pressure_mean: 986.1\n astronomy:\n date: '1940-10-10'\n mid_night: '00:20'\n night_end: '05:11'\n sunrise: '06:30'\n sunset: '18:08'\n night_begin: '19:27'\n sun_status: '-'\n solar_noon: '12:19'\n day_length: '11:38'\n moon_phase: WAXING_GIBBOUS\n moonrise: '14:40'\n moonset: '01:07'\n moon_status: '-'\n hourlyPrecision:\n summary: precision=hourly response\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n hourly:\n - timestamp: 2020-05-15T00:00\n temperature_2m: 22.7\n relative_humidity_2m: 79\n dew_point_2m: 18.9\n apparent_temperature: 25\n precipitation: 0\n rain: 0\n snowfall: 0\n weather_code: 1\n pressure_msl: 1007.9\n surface_pressure: 983.4\n cloud_cover: 30\n et0_fao_evapotranspiration: 0.01\n wind_speed_10m: 6.2\n wind_direction_10m: 280\n wind_gusts_10m: 9.4\n albedo: null\n shortwave_radiation: 0\n direct_radiation: 0\n diffuse_radiation: 0\n direct_normal_irradiance: 0\n global_tilted_irradiance: 0\n astronomy:\n date: '2020-05-15'\n mid_night: '23:59'\n night_end: '03:33'\n sunrise: '05:04'\n sunset: '18:54'\n night_begin: '20:25'\n sun_status: '-'\n solar_noon: '11:59'\n day_length: '13:49'\n moon_phase: LAST_QUARTER\n moonrise: '01:15'\n moonset: '12:19'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request --- Missing/invalid date, missing/incomplete lat+long pair, coordinates out of range, invalid IP address, invalid precision, or invalid timezone\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingRequiredParams:\n summary: Missing date, or lat given without long\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/historical\n status: 400\n timestamp: '2026-07-24T11:34:39.124Z'\n InvalidDateFormat:\n summary: Date not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:11.805Z'\n status: 400\n message: date must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/historical\n FutureOrCurrentDate:\n summary: Date is today or in the future\n value:\n timestamp: '2026-07-24T11:34:39.625Z'\n status: 400\n message: date cannot be current or future date\n error: params-exception-error\n path: /v1.0/weather/historical\n DateBeforeMinimum:\n summary: Date earlier than 1940-01-01\n value:\n timestamp: '2026-07-24T11:34:41.411Z'\n status: 400\n message: Parameter 'startDate' is out of allowed range from 1940-01-01 to 2026-07-24\n error: error\n path: /v1.0/weather/historical\n InvalidCoordinates:\n summary: Latitude or longitude out of range\n value:\n timestamp: '2026-07-24T11:34:54.240Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidIPAddress:\n summary: Malformed IP address\n value:\n timestamp: '2026-07-24T11:34:55.197Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidPrecision:\n summary: precision value outside daily/hourly\n value:\n timestamp: '2026-07-24T11:34:55.671Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidTimezone:\n summary: Unrecognized timezone identifier\n value:\n timestamp: '2026-07-24T11:35:12.335Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/historical\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found --- Location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:34:53.747Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/historical\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 HistoricalResponse:\n type: object\n description: Historical weather response containing location data and historical weather data for the requested date.\n required:\n - location\n - historical\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n historical:\n $ref: '#/components/schemas/HistoricalData'\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n LocationByCoordinates:\n type: object\n description: Location data when the target is specified by GPS coordinates (lat/long). country_name, state_prov, and city are omitted when the coordinates do not resolve to any political boundary (e.g. open ocean).\n required:\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n LocationByIP:\n type: object\n description: Location data when the target is inferred from an IP address.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n LocationByAddress:\n type: object\n description: Location data when the target is specified by a city name or address string.\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n HistoricalData:\n type: object\n description: Historical weather data for the requested date, containing an astronomy block plus one of daily or hourly readings depending on the precision parameter. It is not keyed by date --- each request covers exactly one date.\n required:\n - astronomy\n properties:\n daily:\n $ref: '#/components/schemas/HistoricalDaily'\n description: Daily aggregate weather data for the requested day. Present when precision is daily (the default).\n hourly:\n type: array\n description: Hourly weather readings for the requested day, one entry per hour (24 entries). Present when precision is hourly.\n items:\n $ref: '#/components/schemas/HistoricalHourly'\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical data for the requested day. Always present regardless of precision.\n HistoricalDaily:\n type: object\n description: Daily historical weather summary with temperature, precipitation, wind, and radiation statistics.\n required:\n - timestamp\n - weather_code\n - temperature_2m_mean\n - temperature_2m_max\n - temperature_2m_min\n - apparent_temperature_mean\n - apparent_temperature_max\n - apparent_temperature_min\n - precipitation_sum\n - rain_sum\n - snowfall_sum\n - wind_speed_10m_max\n - wind_gusts_10m_max\n - wind_speed_10m_mean\n - wind_speed_10m_min\n - wind_gusts_10m_min\n - wind_gusts_10m_mean\n - wind_direction_10m_dominant\n - shortwave_radiation_sum\n - et0_fao_evapotranspiration_sum\n - cloud_cover_mean\n - dew_point_2m_mean\n - dew_point_2m_max\n - dew_point_2m_min\n - relative_humidity_2m_mean\n - relative_humidity_2m_max\n - relative_humidity_2m_min\n - pressure_msl_mean\n - surface_pressure_mean\n properties:\n timestamp:\n type: string\n format: date\n description: The requested date in YYYY-MM-DD format.\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing the day''s dominant conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n temperature_2m_mean:\n type: number\n description: Daily mean air temperature at 2 meters (\xB0C).\n temperature_2m_max:\n type: number\n description: Daily maximum air temperature at 2 meters (\xB0C).\n temperature_2m_min:\n type: number\n description: Daily minimum air temperature at 2 meters (\xB0C).\n apparent_temperature_mean:\n type: number\n description: Daily mean perceived temperature (\xB0C).\n apparent_temperature_max:\n type: number\n description: Daily maximum perceived temperature (\xB0C).\n apparent_temperature_min:\n type: number\n description: Daily minimum perceived temperature (\xB0C).\n precipitation_sum:\n type: number\n description: Total precipitation (mm).\n rain_sum:\n type: number\n description: Total rainfall (mm).\n snowfall_sum:\n type: number\n description: Total snowfall (cm).\n wind_speed_10m_max:\n type: number\n description: Maximum wind speed at 10 meters (km/h).\n wind_gusts_10m_max:\n type: number\n description: Maximum wind gusts at 10 meters (km/h).\n wind_speed_10m_mean:\n type: number\n description: Daily mean wind speed at 10 meters (km/h).\n wind_speed_10m_min:\n type: number\n description: Minimum wind speed at 10 meters (km/h).\n wind_gusts_10m_min:\n type: number\n description: Minimum wind gusts at 10 meters (km/h).\n wind_gusts_10m_mean:\n type: number\n description: Daily mean wind gusts at 10 meters (km/h).\n wind_direction_10m_dominant:\n type: integer\n description: Dominant wind direction at 10 meters (\xB0).\n shortwave_radiation_sum:\n type: number\n description: Daily sum of shortwave solar radiation (MJ/m\xB2).\n et0_fao_evapotranspiration_sum:\n type: number\n description: Daily sum of reference evapotranspiration (mm).\n cloud_cover_mean:\n type: number\n description: Daily mean cloud cover percentage (%).\n dew_point_2m_mean:\n type: number\n description: Daily mean dew point temperature at 2 meters (\xB0C).\n dew_point_2m_max:\n type: number\n description: Daily maximum dew point temperature at 2 meters (\xB0C).\n dew_point_2m_min:\n type: number\n description: Daily minimum dew point temperature at 2 meters (\xB0C).\n relative_humidity_2m_mean:\n type: number\n description: Daily mean relative humidity at 2 meters (%).\n relative_humidity_2m_max:\n type: integer\n description: Daily maximum relative humidity at 2 meters (%).\n relative_humidity_2m_min:\n type: integer\n description: Daily minimum relative humidity at 2 meters (%).\n pressure_msl_mean:\n type: number\n description: Daily mean atmospheric pressure at mean sea level (hPa).\n surface_pressure_mean:\n type: number\n description: Daily mean surface pressure at ground level (hPa).\n HistoricalHourly:\n type: object\n description: Hourly historical weather reading with temperature, precipitation, and wind data.\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - rain\n - snowfall\n - weather_code\n - pressure_msl\n - surface_pressure\n - cloud_cover\n - et0_fao_evapotranspiration\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - albedo\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n properties:\n timestamp:\n type: string\n format: date-time\n description: Local timestamp for this hourly reading (YYYY-MM-DDTHH:MM).\n temperature_2m:\n type: number\n description: Air temperature at 2 meters (\xB0C).\n relative_humidity_2m:\n type: number\n description: Relative humidity at 2 meters (%).\n dew_point_2m:\n type: number\n description: Dew point temperature at 2 meters (\xB0C).\n apparent_temperature:\n type: number\n description: Perceived temperature (\xB0C).\n precipitation:\n type: number\n description: Total precipitation in this hour (mm).\n rain:\n type: number\n description: Rainfall in this hour (mm).\n snowfall:\n type: number\n description: Snowfall in this hour (cm).\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing conditions during this hour. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n pressure_msl:\n type: number\n description: Atmospheric pressure at mean sea level (hPa).\n surface_pressure:\n type: number\n description: Atmospheric pressure at ground level (hPa).\n cloud_cover:\n type: number\n description: Cloud cover percentage (%).\n et0_fao_evapotranspiration:\n type: number\n description: Hourly reference evapotranspiration (mm).\n wind_speed_10m:\n type: number\n description: Wind speed at 10 meters (km/h).\n wind_direction_10m:\n type: integer\n description: Wind direction at 10 meters (\xB0).\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10 meters (km/h).\n albedo:\n type:\n - number\n - 'null'\n description: Reflectivity of the Earth's surface. Currently always returned as null.\n shortwave_radiation:\n type: number\n description: Incoming shortwave solar radiation (W/m\xB2).\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2).\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2).\n direct_normal_irradiance:\n type: number\n description: Direct solar irradiance (W/m\xB2).\n global_tilted_irradiance:\n type: number\n description: Total solar irradiance on a tilted surface (W/m\xB2).\n Astronomy:\n type: object\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times. Time fields are HH:MM by default; when the timezone query parameter is set, they include the date as well (YYYY-MM-DD HH:MM).\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
57479
- "live-weather": "openapi: 3.1.1\ninfo:\n title: Live Weather API\n version: 1.0.0\n description: Retrieve real-time weather conditions for any location worldwide. Supports lookup by city name or address, GPS coordinates, or IP address. Returns current temperature at 2m, apparent temperature, precipitation (rain, showers, snowfall), cloud cover, pressure at MSL and surface, wind speed and gusts at 10m, WMO weather code, air quality (European and US AQI indices plus pollutant concentrations), and astronomical data (sunrise/sunset, moon phase, day length). Pass a timezone to override the resolved location timezone. When no parameter is supplied the API auto-detects the requesting IP address. latitude, longitude, and elevation in the location object are always strings, never numbers. An extreme out-of-range coordinate (e.g. lat=999) returns a different, less specific error message than a moderately out-of-range one (e.g. lat=91).\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/weather\n description: Live Weather API Server\npaths:\n /current:\n get:\n tags:\n - Weather APIs\n summary: Real-time weather conditions for any location on demand\n description: Get current weather data including temperature, humidity, precipitation, wind conditions, atmospheric pressure, and air quality for any location. Accepts city names, coordinates, or IP addresses. Also includes astronomy data and timezone-aware timestamps.\n operationId: getLiveWeather\n parameters:\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CurrentWeatherResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n location:\n continent_code: AS\n continent_name: Asia\n country_code2: PK\n country_code3: PAK\n country_name: Pakistan\n country_name_official: Islamic Republic of Pakistan\n is_eu: false\n state_prov: Punjab\n state_code: PK-PB\n district: Lahore\n city: Lahore\n zipcode: '54000'\n latitude: '31.52037'\n longitude: '74.35875'\n locality: Gulberg\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n current:\n timestamp: 2025-09-29T17:45\n temperature_2m: 32.5\n relative_humidity_2m: 61\n apparent_temperature: 37.9\n snowfall: 0\n rain: 0\n showers: 0\n precipitation: 0\n weather_code: 2\n cloud_cover: 49\n pressure_msl: 1001.9\n surface_pressure: 977.6\n wind_speed_10m: 4\n wind_direction_10m: 280\n wind_gusts_10m: 8.6\n air_quality:\n timestamp: 2025-09-29T17:45\n european_aqi: 84\n us_aqi: 148\n pm10: 66.2\n pm2_5: 52.7\n carbon_monoxide: 977\n nitrogen_dioxide: 44.5\n sulphur_dioxide: 20.4\n ozone: 159\n dust: 27\n uv_index: 0\n aerosol_optical_depth: 0.48\n uv_index_clear_sky: 0\n astronomy:\n date: '2025-09-29'\n mid_night: '23:52'\n night_end: '04:34'\n sunrise: '05:53'\n sunset: '17:51'\n night_begin: '19:10'\n sun_status: '-'\n solar_noon: '11:52'\n day_length: '11:58'\n moon_phase: FIRST_QUARTER\n moonrise: '12:41'\n moonset: '22:28'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/incomplete lat+long pair, coordinates out of range, invalid timezone, or invalid IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinates:\n summary: Latitude or longitude out of range (e.g. lat=91)\n value:\n timestamp: '2026-07-24T11:09:43.616Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/current\n ExtremeCoordinateValue:\n summary: Extreme out-of-range value (e.g. lat=999) hits a different, misleading message than a moderate out-of-range value like lat=91\n value:\n timestamp: '2026-07-24T11:09:30.501Z'\n status: 400\n message: Please provide both lat and long parameters.\n error: invalid-params\n path: /v1.0/weather/current\n InvalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:09:31.045Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/current\n InvalidIPAddress:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:09:31.579Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/current\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location address could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:09:32.129Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/current\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 CurrentWeatherResponse:\n type: object\n required:\n - location\n - current\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/CurrentWeather'\n description: Current weather data\n description: Current weather response containing location data and current weather conditions.\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n CurrentWeather:\n type: object\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - apparent_temperature\n - snowfall\n - rain\n - showers\n - precipitation\n - weather_code\n - cloud_cover\n - pressure_msl\n - surface_pressure\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - astronomy\n - air_quality\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp of the current weather observation.\n temperature_2m:\n type: number\n format: float\n description: Current air temperature (\xB0C) measured at 2 meters above ground.\n relative_humidity_2m:\n type: number\n format: float\n description: Current relative humidity percentage at 2 meters above ground.\n apparent_temperature:\n type: number\n format: float\n description: Current apparent temperature (\xB0C) accounting for wind chill and humidity.\n snowfall:\n type: number\n format: float\n description: Current snowfall accumulation in centimeters.\n rain:\n type: number\n format: float\n description: Current rainfall accumulation in millimeters.\n showers:\n type: number\n format: float\n description: Current shower precipitation in millimeters.\n precipitation:\n type: number\n format: float\n description: Total precipitation (mm) including rain, showers, and snowfall.\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing current conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n cloud_cover:\n type: number\n format: float\n description: Current percentage of sky covered by clouds.\n pressure_msl:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) adjusted to mean sea level.\n surface_pressure:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) at surface level.\n wind_speed_10m:\n type: number\n format: float\n description: Current wind speed (km/h) at 10 meters above ground.\n wind_direction_10m:\n type: integer\n description: Current wind direction in degrees at 10 meters above ground.\n wind_gusts_10m:\n type: number\n format: float\n description: Current wind gust speed (km/h) at 10 meters above ground.\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical information including sunrise, sunset, and moon phases for the current date.\n air_quality:\n $ref: '#/components/schemas/AirQuality'\n description: Air quality metrics including pollutant concentrations and AQI values.\n description: Current weather conditions including temperature, humidity, precipitation, wind, pressure, astronomy, and air quality.\n Astronomy:\n type: object\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.\n AirQuality:\n type: object\n required:\n - timestamp\n - european_aqi\n - us_aqi\n - pm10\n - pm2_5\n - carbon_monoxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp (iso8601).\n european_aqi:\n type: integer\n description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'\n us_aqi:\n type: integer\n description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'\n pm10:\n type: number\n format: float\n description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n pm2_5:\n type: number\n format: float\n description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n carbon_monoxide:\n type: number\n format: float\n description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n nitrogen_dioxide:\n type: number\n format: float\n description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n sulphur_dioxide:\n type: number\n format: float\n description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n ozone:\n type: number\n format: float\n description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n dust:\n type: number\n format: float\n description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.\n uv_index:\n type: number\n format: float\n description: Ultraviolet radiation intensity index accounting for cloud coverage.\n aerosol_optical_depth:\n type: number\n format: float\n description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.\n uv_index_clear_sky:\n type: number\n format: float\n description: Ultraviolet radiation intensity index assuming cloud-free conditions.\n description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.\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 description: Standard error envelope returned by the API on failed requests.\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",
57480
- "marine-weather": "openapi: 3.1.1\ninfo:\n title: Marine Weather API - Ocean & Coastal Weather Data\n version: 1.0.0\n description: Retrieve marine and ocean weather data for coastal and offshore locations by GPS coordinates, city name/address, or IP address. Returns wave height, wave direction, wave period, wind-wave and swell statistics, sea surface temperature, sea level height, and ocean current speed/direction. Omit `startDate`/`endDate` to get current conditions, or pass both to get a forecast up to 16 days ahead at `daily`, `hourly`, or `minutely` precision via the `precision` parameter. For locations with no nearby ocean data (inland cities, landlocked coordinates), the endpoint still returns a `200` response with every marine field set to `null` instead of an error.\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/weather\n description: Marine Weather API Server\npaths:\n /marine:\n get:\n tags:\n - Weather APIs\n summary: Dive into detailed marine weather forecasts for coastal and offshore locations\n description: Provides current or forecast marine conditions including wave height, wave direction, wave period, swell info, sea surface temperature, sea level height, and ocean currents. Accepts a location by GPS coordinates, city name/address, or IP address, and returns forecast data at daily, hourly, or minutely precision for up to 16 days ahead.\n operationId: getMarineWeather\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n required: false\n description: Starting date for marine forecast data in YYYY-MM-DD format. Must be today or a future date, and must be supplied together with endDate \u2014 providing only one of the two returns a 400 error. The difference between endDate and startDate must not exceed 16 days.\n schema:\n type: string\n format: date\n - name: endDate\n in: query\n required: false\n description: End date for marine forecast data in YYYY-MM-DD format. Must be today or a future date, and must be supplied together with startDate \u2014 providing only one of the two returns a 400 error. The difference between endDate and startDate must not exceed 16 days.\n schema:\n type: string\n format: date\n - name: location\n in: query\n required: false\n description: City name, place name, or full address.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude of the location.\n schema:\n type: number\n - name: long\n in: query\n required: false\n description: Longitude of the location.\n schema:\n type: number\n - name: ip\n in: query\n required: false\n description: IPv4, IPv6, or hostname for location inference. Defaults to the caller's IP address when location, lat/long, and ip are all omitted.\n schema:\n type: string\n - name: precision\n in: query\n required: false\n description: Precision of the marine forecast data. Only one of daily, hourly, or minutely is returned per request, matching this value. Default is daily.\n schema:\n type: string\n enum:\n - daily\n - hourly\n - minutely\n default: daily\n - name: timezone\n in: query\n required: false\n description: IANA timezone identifier used to localize the results (e.g. America/New_York). Returns a 400 error if not a recognized timezone.\n schema:\n type: string\n responses:\n '200':\n description: Successful response \u2014 current marine conditions or a date-keyed forecast\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/MarineResponse'\n examples:\n currentConditions:\n summary: Current conditions (no date range)\n value:\n location:\n latitude: '51.50000'\n longitude: '2.00000'\n country_name: United Kingdom\n state_prov: ''\n city: ''\n locality: ''\n elevation: ''\n timezone: Etc/GMT\n timezone_abbreviation: GMT\n current:\n timestamp: 2026-07-24T11:30\n wave_height: 0.52\n wave_direction: 12\n wave_period: 5.75\n wind_wave_peak_period: 0.95\n wind_wave_height: 0\n wind_wave_direction: 220\n wind_wave_period: 0\n swell_wave_height: 0.52\n swell_wave_direction: 13\n swell_wave_period: 5.05\n swell_wave_peak_period: 6.3\n sea_level_height_msl: -1.04\n sea_surface_temperature: 20.5\n ocean_current_velocity: 0.4\n ocean_current_direction: 117\n inlandLocationNullData:\n summary: Inland location \u2014 all marine fields null\n value:\n location:\n location_string: Denver, Colorado\n country_name: United States\n state_prov: Colorado\n city: Denver\n locality: ''\n latitude: '39.73924'\n longitude: '-104.98486'\n elevation: '1609'\n timezone: America/Denver\n timezone_abbreviation: GMT-6\n current:\n timestamp: 2026-07-24T05:30\n wave_height: null\n wave_direction: null\n wave_period: null\n wind_wave_peak_period: null\n wind_wave_height: null\n wind_wave_direction: null\n wind_wave_period: null\n swell_wave_height: null\n swell_wave_direction: null\n swell_wave_period: null\n sea_level_height_msl: null\n sea_surface_temperature: null\n ocean_current_velocity: null\n ocean_current_direction: null\n dailyForecast:\n summary: Daily forecast (startDate/endDate set)\n value:\n location:\n latitude: '51.50000'\n longitude: '2.00000'\n country_name: United Kingdom\n state_prov: ''\n city: ''\n locality: ''\n elevation: ''\n timezone: Etc/GMT\n timezone_abbreviation: GMT\n forecast:\n '2026-07-25':\n daily:\n timestamp: '2026-07-25'\n wave_height_max: 0.84\n wave_direction_dominant: 278\n wave_period_max: 4.05\n wind_wave_height_max: 0.78\n wind_wave_direction_dominant: 231\n wind_wave_period_max: 3.3\n wind_wave_peak_period_max: 4.3\n swell_wave_height_max: 0.56\n swell_wave_direction_dominant: 4\n swell_wave_period_max: 4.85\n swell_wave_peak_period_max: 6.3\n '2026-07-26':\n daily:\n timestamp: '2026-07-26'\n wave_height_max: 1.02\n wave_direction_dominant: 238\n wave_period_max: 4.65\n wind_wave_height_max: 0.8\n wind_wave_direction_dominant: 269\n wind_wave_period_max: 3.3\n wind_wave_peak_period_max: 5.2\n swell_wave_height_max: 0.86\n swell_wave_direction_dominant: 218\n swell_wave_period_max: 4.7\n swell_wave_peak_period_max: 6.3\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 invalid or incomplete parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidCoordinates:\n summary: Invalid latitude/longitude\n value:\n timestamp: '2026-07-24T11:35:05.439Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/marine\n invalidIp:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:35:18.421Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/marine\n invalidPrecision:\n summary: Invalid precision value\n value:\n timestamp: '2026-07-24T11:35:19.621Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/marine\n invalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:35:20.399Z'\n status: 400\n message: Invalid timezone\n error: error\n path: /v1.0/weather/marine\n dateRangeExceeded:\n summary: Forecast range exceeds 16 days\n value:\n timestamp: '2026-07-24T11:35:05.950Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-08-08\n error: params-exception-error\n path: /v1.0/weather/marine\n incompleteDateRange:\n summary: Only one of startDate/endDate supplied\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/marine\n status: 400\n timestamp: '2026-07-24T11:35:30.525Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:35:17.921Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/marine\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 MarineResponse:\n type: object\n description: 'Marine weather response. current and forecast are mutually exclusive: current is returned when startDate/endDate are omitted, forecast is returned when both are supplied. location is always present.'\n required:\n - location\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/CurrentMarine'\n description: Current marine conditions. Present only when startDate/endDate are not supplied.\n forecast:\n $ref: '#/components/schemas/MarineForecastData'\n description: Date-keyed forecast data. Present only when startDate and endDate are both supplied.\n LocationByCoordinates:\n type: object\n description: Location data when the target is specified by GPS coordinates (lat/long).\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location. Can be an empty string.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location. Can be an empty string.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area. Can be an empty string.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n LocationByIP:\n type: object\n description: Location data when the target is inferred from an IP address.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region. Can be an empty string.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address. Can be an empty string.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city. Can be an empty string.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n LocationByAddress:\n type: object\n description: Location data when the target is specified by a city name or address string.\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area. Can be an empty string.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n CurrentMarine:\n type: object\n description: Current marine weather conditions including wave, swell, sea level, and current data. For locations with no nearby ocean data (inland/landlocked), every field below timestamp is returned as null instead of an error.\n required:\n - timestamp\n - wave_height\n - wave_direction\n - wave_period\n - wind_wave_height\n - wind_wave_direction\n - wind_wave_period\n - wind_wave_peak_period\n - swell_wave_height\n - swell_wave_direction\n - swell_wave_period\n - swell_wave_peak_period\n - sea_level_height_msl\n - sea_surface_temperature\n - ocean_current_velocity\n - ocean_current_direction\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp of the current observation.\n wave_height:\n type:\n - number\n - 'null'\n description: Significant height of combined sea waves in meters. Null where no ocean data is available for this location.\n wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the combined waves are coming, in degrees. Null where no ocean data is available for this location.\n wave_period:\n type:\n - number\n - 'null'\n description: Average period of combined sea waves in seconds. Null where no ocean data is available for this location.\n wind_wave_height:\n type:\n - number\n - 'null'\n description: Height of locally generated wind waves in meters. Null where no ocean data is available for this location.\n wind_wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the wind waves are coming, in degrees. Null where no ocean data is available for this location.\n wind_wave_period:\n type:\n - number\n - 'null'\n description: Average period of locally generated wind waves in seconds. Null where no ocean data is available for this location.\n wind_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of locally generated wind waves in seconds. Frequently null even at locations with other wave data present.\n swell_wave_height:\n type:\n - number\n - 'null'\n description: Height of swell waves in meters. Null where no ocean data is available for this location.\n swell_wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the swell waves are coming, in degrees. Null where no ocean data is available for this location.\n swell_wave_period:\n type:\n - number\n - 'null'\n description: Average period of swell waves in seconds. Null where no ocean data is available for this location.\n swell_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of swell waves in seconds. Frequently null even at locations with other wave data present.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level in meters. Null where no ocean data is available for this location.\n sea_surface_temperature:\n type:\n - number\n - 'null'\n description: Temperature of the ocean surface in degrees Celsius. Null where no ocean data is available for this location.\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of the ocean current in km/h. Null where no ocean data is available for this location.\n ocean_current_direction:\n type:\n - number\n - 'null'\n description: Direction of the ocean current, in degrees. Null where no ocean data is available for this location.\n MarineDaily:\n type: object\n description: Daily marine forecast summary with wave, wind-wave, and swell statistics for one day.\n required:\n - timestamp\n - wave_height_max\n - wave_direction_dominant\n - wave_period_max\n - wind_wave_height_max\n - wind_wave_direction_dominant\n - wind_wave_period_max\n - wind_wave_peak_period_max\n - swell_wave_height_max\n - swell_wave_direction_dominant\n - swell_wave_period_max\n - swell_wave_peak_period_max\n properties:\n timestamp:\n type: string\n format: date\n description: Date of this forecast entry in YYYY-MM-DD format.\n wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum significant wave height for the day, in meters.\n wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant direction of waves for the day, in degrees.\n wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum wave period for the day, in seconds.\n wind_wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum wind-driven wave height for the day, in meters.\n wind_wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant wind-wave direction for the day, in degrees.\n wind_wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum wind-wave period for the day, in seconds.\n wind_wave_peak_period_max:\n type:\n - number\n - 'null'\n description: Maximum peak period of wind-driven waves for the day, in seconds. Frequently null.\n swell_wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum swell wave height for the day, in meters.\n swell_wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant swell wave direction for the day, in degrees.\n swell_wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum swell wave period for the day, in seconds.\n swell_wave_peak_period_max:\n type:\n - number\n - 'null'\n description: Maximum peak period of swell waves for the day, in seconds. Frequently null.\n MarineHourly:\n type: object\n description: Hourly marine weather reading with wave, swell, and sea surface data for a single hour.\n required:\n - timestamp\n - wave_height\n - wave_direction\n - wave_period\n - wind_wave_height\n - wind_wave_peak_period\n - wind_wave_direction\n - wind_wave_period\n - swell_wave_height\n - swell_wave_direction\n - swell_wave_period\n - swell_wave_peak_period\n - sea_surface_temperature\n - sea_level_height_msl\n - ocean_current_velocity\n - ocean_current_direction\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp of this hourly entry.\n wave_height:\n type:\n - number\n - 'null'\n description: Significant wave height at the given hour, in meters.\n wave_direction:\n type:\n - integer\n - 'null'\n description: Wave direction at the given hour, in degrees.\n wave_period:\n type:\n - number\n - 'null'\n description: Wave period at the given hour, in seconds.\n wind_wave_height:\n type:\n - number\n - 'null'\n description: Wind-driven wave height at the given hour, in meters.\n wind_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of wind-driven waves at the given hour, in seconds.\n wind_wave_direction:\n type:\n - integer\n - 'null'\n description: Wind-wave direction at the given hour, in degrees.\n wind_wave_period:\n type:\n - number\n - 'null'\n description: Wind-wave period at the given hour, in seconds.\n swell_wave_height:\n type:\n - number\n - 'null'\n description: Swell wave height at the given hour, in meters.\n swell_wave_direction:\n type:\n - integer\n - 'null'\n description: Swell wave direction at the given hour, in degrees.\n swell_wave_period:\n type:\n - number\n - 'null'\n description: Swell wave period at the given hour, in seconds.\n swell_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of swell waves at the given hour, in seconds.\n sea_surface_temperature:\n type:\n - number\n - 'null'\n description: Sea surface temperature at the given hour, in degrees Celsius.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level at the given hour, in meters.\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of ocean current at the given hour, in km/h.\n ocean_current_direction:\n type:\n - integer\n - 'null'\n description: Direction of ocean current at the given hour, in degrees.\n MarineMinutely:\n type: object\n description: Minute-by-minute marine data point for ocean current and sea level measurements.\n required:\n - timestamp\n - ocean_current_velocity\n - ocean_current_direction\n - sea_level_height_msl\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp of this minute-level entry.\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of ocean current at this minute, in km/h.\n ocean_current_direction:\n type:\n - integer\n - 'null'\n description: Direction of ocean current at this minute, in degrees.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level at this minute, in meters.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information. Shape depends on how the location was resolved (coordinates, IP, or address/city name).\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n MarineForecastData:\n type: object\n description: Forecast data keyed by date (YYYY-MM-DD). Each key is a forecast date and its value is a MarineForecastDay.\n additionalProperties:\n $ref: '#/components/schemas/MarineForecastDay'\n MarineForecastDay:\n type: object\n description: Marine forecast for a single day. Exactly one of daily, hourly, or minutely is present, matching whichever precision value was requested (default daily) \u2014 the other two are omitted, not just empty.\n properties:\n daily:\n $ref: '#/components/schemas/MarineDaily'\n description: Daily marine forecast summary. Present when precision=daily (the default).\n hourly:\n type: array\n description: Array of hourly marine readings for the day. Present when precision=hourly.\n items:\n $ref: '#/components/schemas/MarineHourly'\n minutely:\n type: array\n description: Array of minute-by-minute marine data points for the day. Present when precision=minutely.\n items:\n $ref: '#/components/schemas/MarineMinutely'\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",
57481
- "time-series-weather": "openapi: 3.1.1\ninfo:\n title: Time Series Weather API Reference\n version: 1.0.0\n description: Pull historical weather data across a date range for a single location. Requires startDate and endDate with a range up to 90 days for daily precision or 7 days for hourly precision. Accepts location by city name, GPS coordinates, or IP address. Returns daily or hourly data keyed by date in an object, with each date containing temperature max/min/mean, precipitation, wind speed and gusts, cloud cover, relative humidity, pressure, dew point, shortwave radiation, and evapotranspiration data plus astronomy information (sunrise/sunset, moon phase). All dates must be in the past (1940 onwards).\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/weather\n description: Time Series Weather API Server\npaths:\n /time-series:\n get:\n tags:\n - Weather APIs\n summary: Get historical weather data across a date range\n description: Pull historical weather information for date ranges up to 90 days (daily data) or 7 days (hourly data). Get consistent formatting across your specified date range with reliable historical weather patterns.\n operationId: getTimeSeriesData\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: Starting date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the difference between endDate and startDate must not exceed 90 days. For precision=hourly, the difference must not exceed 7 days.\n - name: endDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: End date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the difference between endDate and startDate must not exceed 90 days. For precision=hourly, the difference must not exceed 7 days.\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location, used together with long. A value of exactly 0 is treated as missing by the live API and returns a 400, so use a small non-zero value (e.g. 0.0001) for equator queries.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location, used together with lat. A value of exactly 0 is treated as missing by the live API and returns a 400, so use a small non-zero value (e.g. 0.0001) for prime-meridian queries.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: precision\n in: query\n schema:\n enum:\n - daily\n - hourly\n type: string\n default: daily\n description: Precision of the data. daily returns a daily aggregate per date; hourly returns 24 hourly readings per date instead and requires the date range to be 7 days or less.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TimeSeriesResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response (daily precision, address lookup)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n '2025-08-01':\n daily:\n timestamp: '2025-08-01'\n weather_code: 63\n temperature_2m_mean: 27.7\n temperature_2m_max: 30.3\n temperature_2m_min: 26\n apparent_temperature_mean: 34\n apparent_temperature_max: 36.8\n apparent_temperature_min: 31.8\n precipitation_sum: 11.9\n rain_sum: 11.9\n snowfall_sum: 0\n wind_speed_10m_max: 10.9\n wind_gusts_10m_max: 27.7\n wind_speed_10m_mean: 7.4\n wind_speed_10m_min: 3.1\n wind_gusts_10m_min: 6.8\n wind_gusts_10m_mean: 17.8\n wind_direction_10m_dominant: 82\n shortwave_radiation_sum: 8.98\n et0_fao_evapotranspiration_sum: 2.01\n cloud_cover_mean: 99\n dew_point_2m_mean: 25.9\n dew_point_2m_max: 26.5\n dew_point_2m_min: 24.9\n relative_humidity_2m_mean: 90\n relative_humidity_2m_max: 97\n relative_humidity_2m_min: 79\n pressure_msl_mean: 999.2\n surface_pressure_mean: 975.3\n astronomy:\n date: '2025-08-01'\n mid_night: '00:09'\n night_end: '03:47'\n sunrise: '05:17'\n sunset: '19:00'\n night_begin: '20:30'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:43'\n moon_phase: FIRST_QUARTER\n moonrise: '12:18'\n moonset: '23:04'\n moon_status: '-'\n hourlyPrecision:\n summary: Hourly precision response (no daily key)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n '2025-08-01':\n hourly:\n - timestamp: 2025-08-01T00:00\n temperature_2m: 27\n relative_humidity_2m: 92\n dew_point_2m: 25.5\n apparent_temperature: 32.9\n precipitation: 0\n rain: 0\n snowfall: 0\n weather_code: 3\n pressure_msl: 999.5\n surface_pressure: 975.5\n cloud_cover: 100\n et0_fao_evapotranspiration: 0\n wind_speed_10m: 8.2\n wind_direction_10m: 100\n wind_gusts_10m: 16.2\n albedo: null\n shortwave_radiation: 0\n direct_radiation: 0\n diffuse_radiation: 0\n direct_normal_irradiance: 0\n global_tilted_irradiance: 0\n astronomy:\n date: '2025-08-01'\n mid_night: '00:09'\n night_end: '03:47'\n sunrise: '05:17'\n sunset: '19:00'\n night_begin: '20:30'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:43'\n moon_phase: FIRST_QUARTER\n moonrise: '12:18'\n moonset: '23:04'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, invalid date range, or location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingParams:\n summary: Missing startDate/endDate\n value:\n timestamp: '2026-07-24T11:35:05.667Z'\n status: 400\n message: please pass correct parameters\n error: Invalid Param Exception\n path: /v1.0/weather/time-series\n InvalidDateFormat:\n summary: startDate/endDate not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:26.589Z'\n status: 400\n message: startDate must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/time-series\n DateRangeTooWideDaily:\n summary: Range over 90 days at daily precision\n value:\n timestamp: '2026-07-24T11:35:06.179Z'\n status: 400\n message: Date range cannot exceed 90 days.\n error: error\n path: /v1.0/weather/time-series\n DateRangeTooWideHourly:\n summary: Range over 7 days at hourly precision\n value:\n timestamp: '2026-07-24T11:35:06.654Z'\n status: 400\n message: Time-series hourly date range must not exceed 7 days\n error: params-exception-error\n path: /v1.0/weather/time-series\n EndDateBeforeStartDate:\n summary: endDate earlier than startDate\n value:\n timestamp: '2026-07-24T11:35:14.787Z'\n status: 400\n message: startDate must be before or equal to endDate\n error: params-exception-error\n path: /v1.0/weather/time-series\n FutureDate:\n summary: endDate is today or in the future\n value:\n timestamp: '2026-07-24T11:35:14.329Z'\n status: 400\n message: endDate cannot be current or future date\n error: params-exception-error\n path: /v1.0/weather/time-series\n DateOutOfRange:\n summary: startDate earlier than 1940-01-01\n value:\n timestamp: '2026-07-24T11:35:26.108Z'\n status: 400\n message: Parameter 'startDate' is out of allowed range from 1940-01-01 to 2026-07-24\n error: error\n path: /v1.0/weather/time-series\n InvalidCoordinates:\n summary: Latitude or longitude out of range (e.g. lat=999)\n value:\n timestamp: '2026-07-24T11:35:15.849Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/time-series\n InvalidIPAddress:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:35:16.321Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/time-series\n LocationNotFound:\n summary: Location string could not be geocoded (returns 400, not 404, on this endpoint)\n value:\n timestamp: '2026-07-24T11:36:14.115Z'\n status: 400\n message: We couldn't find the location (xyzxyzxyz123nonexistent). Try a city or state level location address only.\n error: error\n path: /v1.0/weather/time-series\n InvalidPrecision:\n summary: precision value outside daily/hourly\n value:\n timestamp: '2026-07-24T11:36:04.187Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/time-series\n InvalidTimezone:\n summary: Unrecognized timezone value\n value:\n timestamp: '2026-07-24T11:36:04.753Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/time-series\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 TimeSeriesResponse:\n type: object\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n historical:\n $ref: '#/components/schemas/TimeSeriesData'\n required:\n - location\n - historical\n description: Time-series weather response containing location data and date-keyed time-series data.\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates. Empty string when the coordinates could not be reverse-geocoded (e.g. open ocean).\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location. Empty string when the coordinates could not be reverse-geocoded.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location. Empty string when the coordinates could not be reverse-geocoded.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n HistoricalDaily:\n type: object\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp\n weather_code:\n type: integer\n description: Weather condition code\n temperature_2m_mean:\n type: number\n description: Daily mean air temperature at 2 meters (\xB0C)\n temperature_2m_max:\n type: number\n description: Daily maximum air temperature at 2 meters (\xB0C)\n temperature_2m_min:\n type: number\n description: Daily minimum air temperature at 2 meters (\xB0C)\n apparent_temperature_mean:\n type: number\n description: Daily mean perceived temperature (\xB0C)\n apparent_temperature_max:\n type: number\n description: Daily maximum perceived temperature (\xB0C)\n apparent_temperature_min:\n type: number\n description: Daily minimum perceived temperature (\xB0C)\n precipitation_sum:\n type: number\n description: Total precipitation (mm)\n rain_sum:\n type: number\n description: Total rainfall (mm)\n snowfall_sum:\n type: number\n description: Total snowfall (cm)\n wind_speed_10m_max:\n type: number\n description: Maximum wind speed at 10 meters (km/h)\n wind_gusts_10m_max:\n type: number\n description: Maximum wind gusts at 10 meters (km/h)\n wind_speed_10m_mean:\n type: number\n description: Daily mean wind speed at 10 meters (km/h)\n wind_speed_10m_min:\n type: number\n description: Minimum wind speed at 10 meters (km/h)\n wind_gusts_10m_min:\n type: number\n description: Minimum wind gusts at 10 meters (km/h)\n wind_gusts_10m_mean:\n type: number\n description: Daily mean wind gusts at 10 meters (km/h)\n wind_direction_10m_dominant:\n type: integer\n description: Dominant wind direction at 10 meters (\xB0)\n shortwave_radiation_sum:\n type: number\n description: Daily sum of shortwave solar radiation (MJ/m\xB2)\n et0_fao_evapotranspiration_sum:\n type: number\n description: Daily sum of reference evapotranspiration (mm)\n cloud_cover_mean:\n type: number\n description: Daily mean cloud cover percentage (%)\n dew_point_2m_mean:\n type: number\n description: Daily mean dew point temperature at 2 meters (\xB0C)\n dew_point_2m_max:\n type: number\n description: Daily maximum dew point temperature at 2 meters (\xB0C)\n dew_point_2m_min:\n type: number\n description: Daily minimum dew point temperature at 2 meters (\xB0C)\n relative_humidity_2m_mean:\n type: number\n description: Daily mean relative humidity at 2 meters (%)\n relative_humidity_2m_max:\n type: integer\n description: Daily maximum relative humidity at 2 meters (%)\n relative_humidity_2m_min:\n type: integer\n description: Daily minimum relative humidity at 2 meters (%)\n pressure_msl_mean:\n type: number\n description: Daily mean atmospheric pressure at mean sea level (hPa)\n surface_pressure_mean:\n type: number\n description: Daily mean surface pressure at ground level (hPa)\n required:\n - timestamp\n - weather_code\n - temperature_2m_mean\n - temperature_2m_max\n - temperature_2m_min\n - apparent_temperature_mean\n - apparent_temperature_max\n - apparent_temperature_min\n - precipitation_sum\n - rain_sum\n - snowfall_sum\n - wind_speed_10m_max\n - wind_gusts_10m_max\n - wind_speed_10m_mean\n - wind_speed_10m_min\n - wind_gusts_10m_min\n - wind_gusts_10m_mean\n - wind_direction_10m_dominant\n - shortwave_radiation_sum\n - et0_fao_evapotranspiration_sum\n - cloud_cover_mean\n - dew_point_2m_mean\n - dew_point_2m_max\n - dew_point_2m_min\n - relative_humidity_2m_mean\n - relative_humidity_2m_max\n - relative_humidity_2m_min\n - pressure_msl_mean\n - surface_pressure_mean\n description: Daily historical weather summary with temperature, precipitation, wind, and radiation statistics.\n HistoricalHourly:\n type: object\n properties:\n timestamp:\n type: string\n format: date-time\n description: ISO 8601 formatted timestamp\n temperature_2m:\n type: number\n description: Air temperature at 2 meters (\xB0C)\n relative_humidity_2m:\n type: number\n description: Relative humidity at 2 meters (%)\n dew_point_2m:\n type: number\n description: Dew point temperature at 2 meters (\xB0C)\n apparent_temperature:\n type: number\n description: Perceived temperature (\xB0C)\n precipitation:\n type: number\n description: Total precipitation in this hour (mm)\n rain:\n type: number\n description: Rainfall in this hour (mm)\n snowfall:\n type: number\n description: Snowfall in this hour (cm)\n weather_code:\n type: integer\n description: Weather condition code\n pressure_msl:\n type: number\n description: Atmospheric pressure at mean sea level (hPa)\n surface_pressure:\n type: number\n description: Atmospheric pressure at ground level (hPa)\n cloud_cover:\n type: number\n description: Cloud cover percentage (%)\n et0_fao_evapotranspiration:\n type: number\n description: Hourly reference evapotranspiration (mm)\n wind_speed_10m:\n type: number\n description: Wind speed at 10 meters (km/h)\n wind_direction_10m:\n type: integer\n description: Wind direction at 10 meters (\xB0)\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10 meters (km/h)\n albedo:\n type:\n - number\n - 'null'\n description: Reflectivity of the Earth's surface. Observed as null in every sampled response; this field is not currently populated by the upstream data source.\n shortwave_radiation:\n type: number\n description: Incoming shortwave solar radiation (W/m\xB2)\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2)\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2)\n direct_normal_irradiance:\n type: number\n description: Direct solar irradiance (W/m\xB2)\n global_tilted_irradiance:\n type: number\n description: Total solar irradiance on a tilted surface (W/m\xB2)\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - rain\n - snowfall\n - weather_code\n - pressure_msl\n - surface_pressure\n - cloud_cover\n - et0_fao_evapotranspiration\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - albedo\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n description: Hourly historical weather reading with temperature, precipitation, and wind data.\n Astronomy:\n type: object\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n TimeSeriesDay:\n type: object\n description: Time-series weather data for a single day. Contains astronomy data plus exactly one of daily or hourly, depending on the request's precision parameter \u2014 the other key is absent, not empty, in the actual response.\n required:\n - astronomy\n properties:\n daily:\n $ref: '#/components/schemas/HistoricalDaily'\n description: Daily aggregate weather data for the specified day. Present only when precision=daily (the default); absent entirely when precision=hourly.\n hourly:\n type: array\n description: Array of hourly weather readings for this day. Present only when precision=hourly; absent entirely when precision=daily.\n items:\n $ref: '#/components/schemas/HistoricalHourly'\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical data including sunrise, sunset, and moon phases. Present regardless of precision.\n TimeSeriesData:\n type: object\n description: Time-series data object keyed by date (YYYY-MM-DD). Each key is a date and the value is a TimeSeriesDay containing daily aggregates, hourly readings, and astronomy data.\n properties:\n date:\n $ref: '#/components/schemas/TimeSeriesDay'\n required:\n - date\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",
56790
+ "historical-weather": "openapi: 3.1.1\ninfo:\n title: Historical Weather APIs & Time-Series Analytics\n version: 1.0.0\n description: Retrieve historical weather conditions for a single past date, with records available from 1940 through the present. Returns daily aggregate figures (temperature max/min/mean, precipitation, wind speed and gusts, cloud cover, humidity, pressure, dew point) by default, or 24 hourly readings for that date when `precision=hourly` is passed, plus sunrise/sunset/moon-phase astronomy data on every response. Accepts a location as a city name or address, GPS coordinates via `lat`/`long`, or an IP address; when none of these is supplied the API geolocates the requesting client's IP address instead. `latitude`, `longitude`, and `elevation` in the location object are always returned as strings, never numbers. This endpoint accepts only a single `date` per request --- use the Time-Series Weather API for continuous multi-date ranges.\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/weather\n description: Historical Weather API Server\npaths:\n /historical:\n get:\n tags:\n - Weather APIs\n summary: Retrieve historical weather conditions for a specific past date and location, coordinates, or IP address\n description: Return daily aggregate or hourly weather readings plus astronomy data for a single past date going back to 1940, resolved by city/address, GPS coordinates, or IP address.\n operationId: getHistoricalData\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: date\n in: query\n required: true\n description: Specific date for which to fetch weather data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards.\n schema:\n type: string\n format: date\n - name: location\n in: query\n required: false\n description: City name, place name, or full address to look up historical weather for. Ignored when lat/long is provided.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude of the location. Takes precedence over location and ip when more than one location parameter is supplied.\n schema:\n type: number\n - name: long\n in: query\n required: false\n description: Longitude of the location. Must be provided together with lat.\n schema:\n type: number\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address for location inference. Ignored when location or lat/long is provided; if none of location, lat/long, or ip is supplied, the requesting client's IP address is used instead.\n schema:\n type: string\n - name: precision\n in: query\n required: false\n description: 'Precision of the returned historical data. Possible values: daily (aggregated daily figures), hourly (24 hourly readings for the date). Default: daily.'\n schema:\n type: string\n enum:\n - daily\n - hourly\n default: daily\n - name: timezone\n in: query\n required: false\n description: IANA timezone to render the astronomy time fields in, instead of the resolved location's own timezone. When set, sunrise/sunset/moonrise-type fields include the date (YYYY-MM-DD HH:MM) instead of only HH:MM.\n schema:\n type: string\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalResponse'\n examples:\n dailyPrecision:\n summary: precision=daily response (default)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n daily:\n timestamp: '1940-10-10'\n weather_code: 0\n temperature_2m_mean: 28.1\n temperature_2m_max: 37.9\n temperature_2m_min: 20.3\n apparent_temperature_mean: 25\n apparent_temperature_max: 36.5\n apparent_temperature_min: 16.8\n precipitation_sum: 0\n rain_sum: 0\n snowfall_sum: 0\n wind_speed_10m_max: 12.8\n wind_gusts_10m_max: 25.6\n wind_speed_10m_mean: 8.7\n wind_speed_10m_min: 3.9\n wind_gusts_10m_min: 9\n wind_gusts_10m_mean: 16.4\n wind_direction_10m_dominant: 80\n shortwave_radiation_sum: 20.09\n et0_fao_evapotranspiration_sum: 6.29\n cloud_cover_mean: 0\n dew_point_2m_mean: 0.1\n dew_point_2m_max: 5.5\n dew_point_2m_min: -3\n relative_humidity_2m_mean: 18\n relative_humidity_2m_max: 26\n relative_humidity_2m_min: 8\n pressure_msl_mean: 1010.2\n surface_pressure_mean: 986.1\n astronomy:\n date: '1940-10-10'\n mid_night: '00:20'\n night_end: '05:11'\n sunrise: '06:30'\n sunset: '18:08'\n night_begin: '19:27'\n sun_status: '-'\n solar_noon: '12:19'\n day_length: '11:38'\n moon_phase: WAXING_GIBBOUS\n moonrise: '14:40'\n moonset: '01:07'\n moon_status: '-'\n hourlyPrecision:\n summary: precision=hourly response\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n hourly:\n - timestamp: 2020-05-15T00:00\n temperature_2m: 22.7\n relative_humidity_2m: 79\n dew_point_2m: 18.9\n apparent_temperature: 25\n precipitation: 0\n rain: 0\n snowfall: 0\n weather_code: 1\n pressure_msl: 1007.9\n surface_pressure: 983.4\n cloud_cover: 30\n et0_fao_evapotranspiration: 0.01\n wind_speed_10m: 6.2\n wind_direction_10m: 280\n wind_gusts_10m: 9.4\n albedo: null\n shortwave_radiation: 0\n direct_radiation: 0\n diffuse_radiation: 0\n direct_normal_irradiance: 0\n global_tilted_irradiance: 0\n astronomy:\n date: '2020-05-15'\n mid_night: '23:59'\n night_end: '03:33'\n sunrise: '05:04'\n sunset: '18:54'\n night_begin: '20:25'\n sun_status: '-'\n solar_noon: '11:59'\n day_length: '13:49'\n moon_phase: LAST_QUARTER\n moonrise: '01:15'\n moonset: '12:19'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request --- Missing/invalid date, missing/incomplete lat+long pair, coordinates out of range, invalid IP address, invalid precision, or invalid timezone\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingRequiredParams:\n summary: Missing date, or lat given without long\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/historical\n status: 400\n timestamp: '2026-07-24T11:34:39.124Z'\n InvalidDateFormat:\n summary: Date not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:11.805Z'\n status: 400\n message: date must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/historical\n FutureOrCurrentDate:\n summary: Date is today or in the future\n value:\n timestamp: '2026-07-24T11:34:39.625Z'\n status: 400\n message: date cannot be current or future date\n error: params-exception-error\n path: /v1.0/weather/historical\n DateBeforeMinimum:\n summary: Date earlier than 1940-01-01\n value:\n timestamp: '2026-07-24T11:34:41.411Z'\n status: 400\n message: Parameter 'startDate' is out of allowed range from 1940-01-01 to 2026-07-24\n error: error\n path: /v1.0/weather/historical\n InvalidCoordinates:\n summary: Latitude or longitude out of range\n value:\n timestamp: '2026-07-24T11:34:54.240Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidIPAddress:\n summary: Malformed IP address\n value:\n timestamp: '2026-07-24T11:34:55.197Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidPrecision:\n summary: precision value outside daily/hourly\n value:\n timestamp: '2026-07-24T11:34:55.671Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/historical\n InvalidTimezone:\n summary: Unrecognized timezone identifier\n value:\n timestamp: '2026-07-24T11:35:12.335Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/historical\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found --- Location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:34:53.747Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/historical\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 HistoricalResponse:\n type: object\n description: Historical weather response containing location data and historical weather data for the requested date.\n required:\n - location\n - historical\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n historical:\n $ref: '#/components/schemas/HistoricalData'\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n LocationByCoordinates:\n type: object\n description: Location data when the target is specified by GPS coordinates (lat/long). country_name, state_prov, and city are omitted when the coordinates do not resolve to any political boundary (e.g. open ocean).\n required:\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n LocationByIP:\n type: object\n description: Location data when the target is inferred from an IP address.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n LocationByAddress:\n type: object\n description: Location data when the target is specified by a city name or address string.\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n HistoricalData:\n type: object\n description: Historical weather data for the requested date, containing an astronomy block plus one of daily or hourly readings depending on the precision parameter. It is not keyed by date --- each request covers exactly one date.\n required:\n - astronomy\n properties:\n daily:\n $ref: '#/components/schemas/HistoricalDaily'\n description: Daily aggregate weather data for the requested day. Present when precision is daily (the default).\n hourly:\n type: array\n description: Hourly weather readings for the requested day, one entry per hour (24 entries). Present when precision is hourly.\n items:\n $ref: '#/components/schemas/HistoricalHourly'\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical data for the requested day. Always present regardless of precision.\n HistoricalDaily:\n type: object\n description: Daily historical weather summary with temperature, precipitation, wind, and radiation statistics.\n required:\n - timestamp\n - weather_code\n - temperature_2m_mean\n - temperature_2m_max\n - temperature_2m_min\n - apparent_temperature_mean\n - apparent_temperature_max\n - apparent_temperature_min\n - precipitation_sum\n - rain_sum\n - snowfall_sum\n - wind_speed_10m_max\n - wind_gusts_10m_max\n - wind_speed_10m_mean\n - wind_speed_10m_min\n - wind_gusts_10m_min\n - wind_gusts_10m_mean\n - wind_direction_10m_dominant\n - shortwave_radiation_sum\n - et0_fao_evapotranspiration_sum\n - cloud_cover_mean\n - dew_point_2m_mean\n - dew_point_2m_max\n - dew_point_2m_min\n - relative_humidity_2m_mean\n - relative_humidity_2m_max\n - relative_humidity_2m_min\n - pressure_msl_mean\n - surface_pressure_mean\n properties:\n timestamp:\n type: string\n format: date\n description: The requested date in YYYY-MM-DD format.\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing the day''s dominant conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n temperature_2m_mean:\n type: number\n description: Daily mean air temperature at 2 meters (\xB0C).\n temperature_2m_max:\n type: number\n description: Daily maximum air temperature at 2 meters (\xB0C).\n temperature_2m_min:\n type: number\n description: Daily minimum air temperature at 2 meters (\xB0C).\n apparent_temperature_mean:\n type: number\n description: Daily mean perceived temperature (\xB0C).\n apparent_temperature_max:\n type: number\n description: Daily maximum perceived temperature (\xB0C).\n apparent_temperature_min:\n type: number\n description: Daily minimum perceived temperature (\xB0C).\n precipitation_sum:\n type: number\n description: Total precipitation (mm).\n rain_sum:\n type: number\n description: Total rainfall (mm).\n snowfall_sum:\n type: number\n description: Total snowfall (cm).\n wind_speed_10m_max:\n type: number\n description: Maximum wind speed at 10 meters (km/h).\n wind_gusts_10m_max:\n type: number\n description: Maximum wind gusts at 10 meters (km/h).\n wind_speed_10m_mean:\n type: number\n description: Daily mean wind speed at 10 meters (km/h).\n wind_speed_10m_min:\n type: number\n description: Minimum wind speed at 10 meters (km/h).\n wind_gusts_10m_min:\n type: number\n description: Minimum wind gusts at 10 meters (km/h).\n wind_gusts_10m_mean:\n type: number\n description: Daily mean wind gusts at 10 meters (km/h).\n wind_direction_10m_dominant:\n type: integer\n description: Dominant wind direction at 10 meters (\xB0).\n shortwave_radiation_sum:\n type: number\n description: Daily sum of shortwave solar radiation (MJ/m\xB2).\n et0_fao_evapotranspiration_sum:\n type: number\n description: Daily sum of reference evapotranspiration (mm).\n cloud_cover_mean:\n type: number\n description: Daily mean cloud cover percentage (%).\n dew_point_2m_mean:\n type: number\n description: Daily mean dew point temperature at 2 meters (\xB0C).\n dew_point_2m_max:\n type: number\n description: Daily maximum dew point temperature at 2 meters (\xB0C).\n dew_point_2m_min:\n type: number\n description: Daily minimum dew point temperature at 2 meters (\xB0C).\n relative_humidity_2m_mean:\n type: number\n description: Daily mean relative humidity at 2 meters (%).\n relative_humidity_2m_max:\n type: integer\n description: Daily maximum relative humidity at 2 meters (%).\n relative_humidity_2m_min:\n type: integer\n description: Daily minimum relative humidity at 2 meters (%).\n pressure_msl_mean:\n type: number\n description: Daily mean atmospheric pressure at mean sea level (hPa).\n surface_pressure_mean:\n type: number\n description: Daily mean surface pressure at ground level (hPa).\n HistoricalHourly:\n type: object\n description: Hourly historical weather reading with temperature, precipitation, and wind data.\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - rain\n - snowfall\n - weather_code\n - pressure_msl\n - surface_pressure\n - cloud_cover\n - et0_fao_evapotranspiration\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - albedo\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n properties:\n timestamp:\n type: string\n description: Local timestamp for this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n temperature_2m:\n type: number\n description: Air temperature at 2 meters (\xB0C).\n relative_humidity_2m:\n type: number\n description: Relative humidity at 2 meters (%).\n dew_point_2m:\n type: number\n description: Dew point temperature at 2 meters (\xB0C).\n apparent_temperature:\n type: number\n description: Perceived temperature (\xB0C).\n precipitation:\n type: number\n description: Total precipitation in this hour (mm).\n rain:\n type: number\n description: Rainfall in this hour (mm).\n snowfall:\n type: number\n description: Snowfall in this hour (cm).\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing conditions during this hour. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n pressure_msl:\n type: number\n description: Atmospheric pressure at mean sea level (hPa).\n surface_pressure:\n type: number\n description: Atmospheric pressure at ground level (hPa).\n cloud_cover:\n type: number\n description: Cloud cover percentage (%).\n et0_fao_evapotranspiration:\n type: number\n description: Hourly reference evapotranspiration (mm).\n wind_speed_10m:\n type: number\n description: Wind speed at 10 meters (km/h).\n wind_direction_10m:\n type: integer\n description: Wind direction at 10 meters (\xB0).\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10 meters (km/h).\n albedo:\n type:\n - number\n - 'null'\n description: Reflectivity of the Earth's surface. Currently always returned as null.\n shortwave_radiation:\n type: number\n description: Incoming shortwave solar radiation (W/m\xB2).\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2).\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2).\n direct_normal_irradiance:\n type: number\n description: Direct solar irradiance (W/m\xB2).\n global_tilted_irradiance:\n type: number\n description: Total solar irradiance on a tilted surface (W/m\xB2).\n Astronomy:\n type: object\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times. Time fields are HH:MM by default; when the timezone query parameter is set, they include the date as well (YYYY-MM-DD HH:MM).\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
56791
+ "live-weather": "openapi: 3.1.1\ninfo:\n title: Live Weather API\n version: 1.0.0\n description: Retrieve real-time weather conditions for any location worldwide. Supports lookup by city name or address, GPS coordinates, or IP address. Returns current temperature at 2m, apparent temperature, precipitation (rain, showers, snowfall), cloud cover, pressure at MSL and surface, wind speed and gusts at 10m, WMO weather code, air quality (European and US AQI indices plus pollutant concentrations), and astronomical data (sunrise/sunset, moon phase, day length). Pass a timezone to override the resolved location timezone. When no parameter is supplied the API auto-detects the requesting IP address. latitude, longitude, and elevation in the location object are always strings, never numbers. An extreme out-of-range coordinate (e.g. lat=999) returns a different, less specific error message than a moderately out-of-range one (e.g. lat=91).\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/weather\n description: Live Weather API Server\npaths:\n /current:\n get:\n tags:\n - Weather APIs\n summary: Real-time weather conditions for any location on demand\n description: Get current weather data including temperature, humidity, precipitation, wind conditions, atmospheric pressure, and air quality for any location. Accepts city names, coordinates, or IP addresses. Also includes astronomy data and timezone-aware timestamps.\n operationId: getLiveWeather\n parameters:\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CurrentWeatherResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n location:\n continent_code: AS\n continent_name: Asia\n country_code2: PK\n country_code3: PAK\n country_name: Pakistan\n country_name_official: Islamic Republic of Pakistan\n is_eu: false\n state_prov: Punjab\n state_code: PK-PB\n district: Lahore\n city: Lahore\n zipcode: '54000'\n latitude: '31.52037'\n longitude: '74.35875'\n locality: Gulberg\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n current:\n timestamp: 2025-09-29T17:45\n temperature_2m: 32.5\n relative_humidity_2m: 61\n apparent_temperature: 37.9\n snowfall: 0\n rain: 0\n showers: 0\n precipitation: 0\n weather_code: 2\n cloud_cover: 49\n pressure_msl: 1001.9\n surface_pressure: 977.6\n wind_speed_10m: 4\n wind_direction_10m: 280\n wind_gusts_10m: 8.6\n air_quality:\n timestamp: 2025-09-29T17:45\n european_aqi: 84\n us_aqi: 148\n pm10: 66.2\n pm2_5: 52.7\n carbon_monoxide: 977\n nitrogen_dioxide: 44.5\n sulphur_dioxide: 20.4\n ozone: 159\n dust: 27\n uv_index: 0\n aerosol_optical_depth: 0.48\n uv_index_clear_sky: 0\n astronomy:\n date: '2025-09-29'\n mid_night: '23:52'\n night_end: '04:34'\n sunrise: '05:53'\n sunset: '17:51'\n night_begin: '19:10'\n sun_status: '-'\n solar_noon: '11:52'\n day_length: '11:58'\n moon_phase: FIRST_QUARTER\n moonrise: '12:41'\n moonset: '22:28'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/incomplete lat+long pair, coordinates out of range, invalid timezone, or invalid IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinates:\n summary: Latitude or longitude out of range (e.g. lat=91)\n value:\n timestamp: '2026-07-24T11:09:43.616Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/current\n ExtremeCoordinateValue:\n summary: Extreme out-of-range value (e.g. lat=999) hits a different, misleading message than a moderate out-of-range value like lat=91\n value:\n timestamp: '2026-07-24T11:09:30.501Z'\n status: 400\n message: Please provide both lat and long parameters.\n error: invalid-params\n path: /v1.0/weather/current\n InvalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:09:31.045Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/current\n InvalidIPAddress:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:09:31.579Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/current\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location address could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n LocationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:09:32.129Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/current\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 CurrentWeatherResponse:\n type: object\n required:\n - location\n - current\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/CurrentWeather'\n description: Current weather data\n description: Current weather response containing location data and current weather conditions.\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n CurrentWeather:\n type: object\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - apparent_temperature\n - snowfall\n - rain\n - showers\n - precipitation\n - weather_code\n - cloud_cover\n - pressure_msl\n - surface_pressure\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - astronomy\n - air_quality\n properties:\n timestamp:\n type: string\n description: Local timestamp of the current weather observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n temperature_2m:\n type: number\n format: float\n description: Current air temperature (\xB0C) measured at 2 meters above ground.\n relative_humidity_2m:\n type: number\n format: float\n description: Current relative humidity percentage at 2 meters above ground.\n apparent_temperature:\n type: number\n format: float\n description: Current apparent temperature (\xB0C) accounting for wind chill and humidity.\n snowfall:\n type: number\n format: float\n description: Current snowfall accumulation in centimeters.\n rain:\n type: number\n format: float\n description: Current rainfall accumulation in millimeters.\n showers:\n type: number\n format: float\n description: Current shower precipitation in millimeters.\n precipitation:\n type: number\n format: float\n description: Total precipitation (mm) including rain, showers, and snowfall.\n weather_code:\n type: integer\n enum:\n - 0\n - 1\n - 2\n - 3\n - 45\n - 48\n - 51\n - 53\n - 55\n - 56\n - 57\n - 61\n - 63\n - 65\n - 66\n - 67\n - 71\n - 73\n - 75\n - 77\n - 80\n - 81\n - 82\n - 85\n - 86\n - 95\n - 96\n - 99\n description: 'WMO weather condition code representing current conditions. Supported codes: 0 clear sky; 1, 2, 3 varying cloud cover; 45, 48 fog; 51, 53, 55 drizzle; 56, 57 freezing drizzle; 61, 63, 65 rain; 66, 67 freezing rain; 71, 73, 75 snowfall; 77 snow grains; 80, 81, 82 rain showers; 85, 86 snow showers; 95 thunderstorm; 96, 99 thunderstorm with hail.'\n cloud_cover:\n type: number\n format: float\n description: Current percentage of sky covered by clouds.\n pressure_msl:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) adjusted to mean sea level.\n surface_pressure:\n type: number\n format: float\n description: Current atmospheric pressure (hPa) at surface level.\n wind_speed_10m:\n type: number\n format: float\n description: Current wind speed (km/h) at 10 meters above ground.\n wind_direction_10m:\n type: integer\n description: Current wind direction in degrees at 10 meters above ground.\n wind_gusts_10m:\n type: number\n format: float\n description: Current wind gust speed (km/h) at 10 meters above ground.\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical information including sunrise, sunset, and moon phases for the current date.\n air_quality:\n $ref: '#/components/schemas/AirQuality'\n description: Air quality metrics including pollutant concentrations and AQI values.\n description: Current weather conditions including temperature, humidity, precipitation, wind, pressure, astronomy, and air quality.\n Astronomy:\n type: object\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.\n AirQuality:\n type: object\n required:\n - timestamp\n - european_aqi\n - us_aqi\n - pm10\n - pm2_5\n - carbon_monoxide\n - nitrogen_dioxide\n - sulphur_dioxide\n - ozone\n - dust\n - uv_index\n - aerosol_optical_depth\n - uv_index_clear_sky\n properties:\n timestamp:\n type: string\n description: Local timestamp of the observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n european_aqi:\n type: integer\n description: 'Consolidated European Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-20 (good), 20-40 (fair), 40-60 (moderate), 60-80 (poor), 80-100 (very poor), >100 (extremely poor).'\n us_aqi:\n type: integer\n description: 'Consolidated U.S. Air Quality Index representing the highest value among individual pollutant indices. Ranges: 0-50 (good), 51-100 (moderate), 101-150 (unhealthy for sensitive groups), 151-200 (unhealthy), 201-300 (very unhealthy), 301-500 (hazardous).'\n pm10:\n type: number\n format: float\n description: Particulate matter with diameter less than 10 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n pm2_5:\n type: number\n format: float\n description: Particulate matter with diameter less than 2.5 micrometers (\u03BCg/m\xB3) measured at 10 meters above ground.\n carbon_monoxide:\n type: number\n format: float\n description: Atmospheric carbon monoxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n nitrogen_dioxide:\n type: number\n format: float\n description: Atmospheric nitrogen dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n sulphur_dioxide:\n type: number\n format: float\n description: Atmospheric sulphur dioxide gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n ozone:\n type: number\n format: float\n description: Atmospheric ozone gas concentration (\u03BCg/m\xB3) at 10 meters above ground.\n dust:\n type: number\n format: float\n description: Saharan dust particle concentration (\u03BCg/m\xB3) at 10 meters above ground.\n uv_index:\n type: number\n format: float\n description: Ultraviolet radiation intensity index accounting for cloud coverage.\n aerosol_optical_depth:\n type: number\n format: float\n description: Aerosol optical depth at 550 nm wavelength indicating atmospheric haze levels.\n uv_index_clear_sky:\n type: number\n format: float\n description: Ultraviolet radiation intensity index assuming cloud-free conditions.\n description: Air quality metrics including European and US AQI indices plus individual pollutant concentrations.\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 description: Standard error envelope returned by the API on failed requests.\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",
56792
+ "marine-weather": "openapi: 3.1.1\ninfo:\n title: Marine Weather API - Ocean & Coastal Weather Data\n version: 1.0.0\n description: Retrieve marine and ocean weather data for coastal and offshore locations by GPS coordinates, city name/address, or IP address. Returns wave height, wave direction, wave period, wind-wave and swell statistics, sea surface temperature, sea level height, and ocean current speed/direction. Omit `startDate`/`endDate` to get current conditions, or pass both to get a forecast up to 16 days ahead at `daily`, `hourly`, or `minutely` precision via the `precision` parameter. For locations with no nearby ocean data (inland cities, landlocked coordinates), the endpoint still returns a `200` response with every marine field set to `null` instead of an error.\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/weather\n description: Marine Weather API Server\npaths:\n /marine:\n get:\n tags:\n - Weather APIs\n summary: Dive into detailed marine weather forecasts for coastal and offshore locations\n description: Provides current or forecast marine conditions including wave height, wave direction, wave period, swell info, sea surface temperature, sea level height, and ocean currents. Accepts a location by GPS coordinates, city name/address, or IP address, and returns forecast data at daily, hourly, or minutely precision for up to 16 days ahead.\n operationId: getMarineWeather\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n required: false\n description: Starting date for marine forecast data in YYYY-MM-DD format. Must be today or a future date, and must be supplied together with endDate \u2014 providing only one of the two returns a 400 error. The difference between endDate and startDate must not exceed 16 days.\n schema:\n type: string\n format: date\n - name: endDate\n in: query\n required: false\n description: End date for marine forecast data in YYYY-MM-DD format. Must be today or a future date, and must be supplied together with startDate \u2014 providing only one of the two returns a 400 error. The difference between endDate and startDate must not exceed 16 days.\n schema:\n type: string\n format: date\n - name: location\n in: query\n required: false\n description: City name, place name, or full address.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude of the location.\n schema:\n type: number\n - name: long\n in: query\n required: false\n description: Longitude of the location.\n schema:\n type: number\n - name: ip\n in: query\n required: false\n description: IPv4, IPv6, or hostname for location inference. Defaults to the caller's IP address when location, lat/long, and ip are all omitted.\n schema:\n type: string\n - name: precision\n in: query\n required: false\n description: Precision of the marine forecast data. Only one of daily, hourly, or minutely is returned per request, matching this value. Default is daily.\n schema:\n type: string\n enum:\n - daily\n - hourly\n - minutely\n default: daily\n - name: timezone\n in: query\n required: false\n description: IANA timezone identifier used to localize the results (e.g. America/New_York). Returns a 400 error if not a recognized timezone.\n schema:\n type: string\n responses:\n '200':\n description: Successful response \u2014 current marine conditions or a date-keyed forecast\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/MarineResponse'\n examples:\n currentConditions:\n summary: Current conditions (no date range)\n value:\n location:\n latitude: '51.50000'\n longitude: '2.00000'\n country_name: United Kingdom\n state_prov: ''\n city: ''\n locality: ''\n elevation: ''\n timezone: Etc/GMT\n timezone_abbreviation: GMT\n current:\n timestamp: 2026-07-24T11:30\n wave_height: 0.52\n wave_direction: 12\n wave_period: 5.75\n wind_wave_peak_period: 0.95\n wind_wave_height: 0\n wind_wave_direction: 220\n wind_wave_period: 0\n swell_wave_height: 0.52\n swell_wave_direction: 13\n swell_wave_period: 5.05\n swell_wave_peak_period: 6.3\n sea_level_height_msl: -1.04\n sea_surface_temperature: 20.5\n ocean_current_velocity: 0.4\n ocean_current_direction: 117\n inlandLocationNullData:\n summary: Inland location \u2014 all marine fields null\n value:\n location:\n location_string: Denver, Colorado\n country_name: United States\n state_prov: Colorado\n city: Denver\n locality: ''\n latitude: '39.73924'\n longitude: '-104.98486'\n elevation: '1609'\n timezone: America/Denver\n timezone_abbreviation: GMT-6\n current:\n timestamp: 2026-07-24T05:30\n wave_height: null\n wave_direction: null\n wave_period: null\n wind_wave_peak_period: null\n wind_wave_height: null\n wind_wave_direction: null\n wind_wave_period: null\n swell_wave_height: null\n swell_wave_direction: null\n swell_wave_period: null\n sea_level_height_msl: null\n sea_surface_temperature: null\n ocean_current_velocity: null\n ocean_current_direction: null\n dailyForecast:\n summary: Daily forecast (startDate/endDate set)\n value:\n location:\n latitude: '51.50000'\n longitude: '2.00000'\n country_name: United Kingdom\n state_prov: ''\n city: ''\n locality: ''\n elevation: ''\n timezone: Etc/GMT\n timezone_abbreviation: GMT\n forecast:\n '2026-07-25':\n daily:\n timestamp: '2026-07-25'\n wave_height_max: 0.84\n wave_direction_dominant: 278\n wave_period_max: 4.05\n wind_wave_height_max: 0.78\n wind_wave_direction_dominant: 231\n wind_wave_period_max: 3.3\n wind_wave_peak_period_max: 4.3\n swell_wave_height_max: 0.56\n swell_wave_direction_dominant: 4\n swell_wave_period_max: 4.85\n swell_wave_peak_period_max: 6.3\n '2026-07-26':\n daily:\n timestamp: '2026-07-26'\n wave_height_max: 1.02\n wave_direction_dominant: 238\n wave_period_max: 4.65\n wind_wave_height_max: 0.8\n wind_wave_direction_dominant: 269\n wind_wave_period_max: 3.3\n wind_wave_peak_period_max: 5.2\n swell_wave_height_max: 0.86\n swell_wave_direction_dominant: 218\n swell_wave_period_max: 4.7\n swell_wave_peak_period_max: 6.3\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 invalid or incomplete parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidCoordinates:\n summary: Invalid latitude/longitude\n value:\n timestamp: '2026-07-24T11:35:05.439Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/marine\n invalidIp:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:35:18.421Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/marine\n invalidPrecision:\n summary: Invalid precision value\n value:\n timestamp: '2026-07-24T11:35:19.621Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/marine\n invalidTimezone:\n summary: Invalid timezone\n value:\n timestamp: '2026-07-24T11:35:20.399Z'\n status: 400\n message: Invalid timezone\n error: error\n path: /v1.0/weather/marine\n dateRangeExceeded:\n summary: Forecast range exceeds 16 days\n value:\n timestamp: '2026-07-24T11:35:05.950Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-08-08\n error: params-exception-error\n path: /v1.0/weather/marine\n incompleteDateRange:\n summary: Only one of startDate/endDate supplied\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/marine\n status: 400\n timestamp: '2026-07-24T11:35:30.525Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locationNotFound:\n summary: Location not found\n value:\n timestamp: '2026-07-24T11:35:17.921Z'\n status: 404\n message: Location not found\n error: error\n path: /v1.0/weather/marine\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 MarineResponse:\n type: object\n description: 'Marine weather response. current and forecast are mutually exclusive: current is returned when startDate/endDate are omitted, forecast is returned when both are supplied. location is always present.'\n required:\n - location\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n current:\n $ref: '#/components/schemas/CurrentMarine'\n description: Current marine conditions. Present only when startDate/endDate are not supplied.\n forecast:\n $ref: '#/components/schemas/MarineForecastData'\n description: Date-keyed forecast data. Present only when startDate and endDate are both supplied.\n LocationByCoordinates:\n type: object\n description: Location data when the target is specified by GPS coordinates (lat/long).\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location. Can be an empty string.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location. Can be an empty string.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area. Can be an empty string.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n LocationByIP:\n type: object\n description: Location data when the target is inferred from an IP address.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region. Can be an empty string.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address. Can be an empty string.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city. Can be an empty string.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number, and can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n LocationByAddress:\n type: object\n description: Location data when the target is specified by a city name or address string.\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area. Can be an empty string.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n CurrentMarine:\n type: object\n description: Current marine weather conditions including wave, swell, sea level, and current data. For locations with no nearby ocean data (inland/landlocked), every field below timestamp is returned as null instead of an error.\n required:\n - timestamp\n - wave_height\n - wave_direction\n - wave_period\n - wind_wave_height\n - wind_wave_direction\n - wind_wave_period\n - wind_wave_peak_period\n - swell_wave_height\n - swell_wave_direction\n - swell_wave_period\n - swell_wave_peak_period\n - sea_level_height_msl\n - sea_surface_temperature\n - ocean_current_velocity\n - ocean_current_direction\n properties:\n timestamp:\n type: string\n description: Local timestamp of the current observation, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n wave_height:\n type:\n - number\n - 'null'\n description: Significant height of combined sea waves in meters. Null where no ocean data is available for this location.\n wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the combined waves are coming, in degrees. Null where no ocean data is available for this location.\n wave_period:\n type:\n - number\n - 'null'\n description: Average period of combined sea waves in seconds. Null where no ocean data is available for this location.\n wind_wave_height:\n type:\n - number\n - 'null'\n description: Height of locally generated wind waves in meters. Null where no ocean data is available for this location.\n wind_wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the wind waves are coming, in degrees. Null where no ocean data is available for this location.\n wind_wave_period:\n type:\n - number\n - 'null'\n description: Average period of locally generated wind waves in seconds. Null where no ocean data is available for this location.\n wind_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of locally generated wind waves in seconds. Frequently null even at locations with other wave data present.\n swell_wave_height:\n type:\n - number\n - 'null'\n description: Height of swell waves in meters. Null where no ocean data is available for this location.\n swell_wave_direction:\n type:\n - number\n - 'null'\n description: Direction from which the swell waves are coming, in degrees. Null where no ocean data is available for this location.\n swell_wave_period:\n type:\n - number\n - 'null'\n description: Average period of swell waves in seconds. Null where no ocean data is available for this location.\n swell_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of swell waves in seconds. Frequently null even at locations with other wave data present.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level in meters. Null where no ocean data is available for this location.\n sea_surface_temperature:\n type:\n - number\n - 'null'\n description: Temperature of the ocean surface in degrees Celsius. Null where no ocean data is available for this location.\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of the ocean current in km/h. Null where no ocean data is available for this location.\n ocean_current_direction:\n type:\n - number\n - 'null'\n description: Direction of the ocean current, in degrees. Null where no ocean data is available for this location.\n MarineDaily:\n type: object\n description: Daily marine forecast summary with wave, wind-wave, and swell statistics for one day.\n required:\n - timestamp\n - wave_height_max\n - wave_direction_dominant\n - wave_period_max\n - wind_wave_height_max\n - wind_wave_direction_dominant\n - wind_wave_period_max\n - wind_wave_peak_period_max\n - swell_wave_height_max\n - swell_wave_direction_dominant\n - swell_wave_period_max\n - swell_wave_peak_period_max\n properties:\n timestamp:\n type: string\n format: date\n description: Date of this forecast entry in YYYY-MM-DD format.\n wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum significant wave height for the day, in meters.\n wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant direction of waves for the day, in degrees.\n wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum wave period for the day, in seconds.\n wind_wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum wind-driven wave height for the day, in meters.\n wind_wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant wind-wave direction for the day, in degrees.\n wind_wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum wind-wave period for the day, in seconds.\n wind_wave_peak_period_max:\n type:\n - number\n - 'null'\n description: Maximum peak period of wind-driven waves for the day, in seconds. Frequently null.\n swell_wave_height_max:\n type:\n - number\n - 'null'\n description: Maximum swell wave height for the day, in meters.\n swell_wave_direction_dominant:\n type:\n - integer\n - 'null'\n description: Dominant swell wave direction for the day, in degrees.\n swell_wave_period_max:\n type:\n - number\n - 'null'\n description: Maximum swell wave period for the day, in seconds.\n swell_wave_peak_period_max:\n type:\n - number\n - 'null'\n description: Maximum peak period of swell waves for the day, in seconds. Frequently null.\n MarineHourly:\n type: object\n description: Hourly marine weather reading with wave, swell, and sea surface data for a single hour.\n required:\n - timestamp\n - wave_height\n - wave_direction\n - wave_period\n - wind_wave_height\n - wind_wave_peak_period\n - wind_wave_direction\n - wind_wave_period\n - swell_wave_height\n - swell_wave_direction\n - swell_wave_period\n - swell_wave_peak_period\n - sea_surface_temperature\n - sea_level_height_msl\n - ocean_current_velocity\n - ocean_current_direction\n properties:\n timestamp:\n type: string\n description: Local timestamp of this hourly entry, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n wave_height:\n type:\n - number\n - 'null'\n description: Significant wave height at the given hour, in meters.\n wave_direction:\n type:\n - integer\n - 'null'\n description: Wave direction at the given hour, in degrees.\n wave_period:\n type:\n - number\n - 'null'\n description: Wave period at the given hour, in seconds.\n wind_wave_height:\n type:\n - number\n - 'null'\n description: Wind-driven wave height at the given hour, in meters.\n wind_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of wind-driven waves at the given hour, in seconds.\n wind_wave_direction:\n type:\n - integer\n - 'null'\n description: Wind-wave direction at the given hour, in degrees.\n wind_wave_period:\n type:\n - number\n - 'null'\n description: Wind-wave period at the given hour, in seconds.\n swell_wave_height:\n type:\n - number\n - 'null'\n description: Swell wave height at the given hour, in meters.\n swell_wave_direction:\n type:\n - integer\n - 'null'\n description: Swell wave direction at the given hour, in degrees.\n swell_wave_period:\n type:\n - number\n - 'null'\n description: Swell wave period at the given hour, in seconds.\n swell_wave_peak_period:\n type:\n - number\n - 'null'\n description: Peak period of swell waves at the given hour, in seconds.\n sea_surface_temperature:\n type:\n - number\n - 'null'\n description: Sea surface temperature at the given hour, in degrees Celsius.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level at the given hour, in meters.\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of ocean current at the given hour, in km/h.\n ocean_current_direction:\n type:\n - integer\n - 'null'\n description: Direction of ocean current at the given hour, in degrees.\n MarineMinutely:\n type: object\n description: Minute-by-minute marine data point for ocean current and sea level measurements.\n required:\n - timestamp\n - ocean_current_velocity\n - ocean_current_direction\n - sea_level_height_msl\n properties:\n timestamp:\n type: string\n description: Local timestamp of this minute-level entry, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n ocean_current_velocity:\n type:\n - number\n - 'null'\n description: Speed of ocean current at this minute, in km/h.\n ocean_current_direction:\n type:\n - integer\n - 'null'\n description: Direction of ocean current at this minute, in degrees.\n sea_level_height_msl:\n type:\n - number\n - 'null'\n description: Sea level height relative to mean sea level at this minute, in meters.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information. Shape depends on how the location was resolved (coordinates, IP, or address/city name).\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n MarineForecastData:\n type: object\n description: Forecast data keyed by date (YYYY-MM-DD). Each key is a forecast date and its value is a MarineForecastDay.\n additionalProperties:\n $ref: '#/components/schemas/MarineForecastDay'\n MarineForecastDay:\n type: object\n description: Marine forecast for a single day. Exactly one of daily, hourly, or minutely is present, matching whichever precision value was requested (default daily) \u2014 the other two are omitted, not just empty.\n properties:\n daily:\n $ref: '#/components/schemas/MarineDaily'\n description: Daily marine forecast summary. Present when precision=daily (the default).\n hourly:\n type: array\n description: Array of hourly marine readings for the day. Present when precision=hourly.\n items:\n $ref: '#/components/schemas/MarineHourly'\n minutely:\n type: array\n description: Array of minute-by-minute marine data points for the day. Present when precision=minutely.\n items:\n $ref: '#/components/schemas/MarineMinutely'\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",
56793
+ "time-series-weather": "openapi: 3.1.1\ninfo:\n title: Time Series Weather API Reference\n version: 1.0.0\n description: Pull historical weather data across a date range for a single location. Requires startDate and endDate with a range up to 90 days for daily precision or 7 days for hourly precision. Accepts location by city name, GPS coordinates, or IP address. Returns daily or hourly data keyed by date in an object, with each date containing temperature max/min/mean, precipitation, wind speed and gusts, cloud cover, relative humidity, pressure, dew point, shortwave radiation, and evapotranspiration data plus astronomy information (sunrise/sunset, moon phase). All dates must be in the past (1940 onwards).\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/weather\n description: Time Series Weather API Server\npaths:\n /time-series:\n get:\n tags:\n - Weather APIs\n summary: Get historical weather data across a date range\n description: Pull historical weather information for date ranges up to 90 days (daily data) or 7 days (hourly data). Get consistent formatting across your specified date range with reliable historical weather patterns.\n operationId: getTimeSeriesData\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: startDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: Starting date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the difference between endDate and startDate must not exceed 90 days. For precision=hourly, the difference must not exceed 7 days.\n - name: endDate\n in: query\n required: true\n schema:\n type: string\n format: date\n description: End date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the difference between endDate and startDate must not exceed 90 days. For precision=hourly, the difference must not exceed 7 days.\n - name: location\n in: query\n schema:\n type: string\n description: City name, place name, or full address.\n required: false\n - name: lat\n in: query\n schema:\n type: number\n description: Latitude of the location, used together with long. A value of exactly 0 is treated as missing by the live API and returns a 400, so use a small non-zero value (e.g. 0.0001) for equator queries.\n required: false\n - name: long\n in: query\n schema:\n type: number\n description: Longitude of the location, used together with lat. A value of exactly 0 is treated as missing by the live API and returns a 400, so use a small non-zero value (e.g. 0.0001) for prime-meridian queries.\n required: false\n - name: ip\n in: query\n schema:\n type: string\n description: IP(v4 or v6) address for location inference.\n required: false\n - name: precision\n in: query\n schema:\n enum:\n - daily\n - hourly\n type: string\n default: daily\n description: Precision of the data. daily returns a daily aggregate per date; hourly returns 24 hourly readings per date instead and requires the date range to be 7 days or less.\n required: false\n - name: timezone\n in: query\n schema:\n type: string\n description: Timezone for the results.\n required: false\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TimeSeriesResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response (daily precision, address lookup)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n '2025-08-01':\n daily:\n timestamp: '2025-08-01'\n weather_code: 63\n temperature_2m_mean: 27.7\n temperature_2m_max: 30.3\n temperature_2m_min: 26\n apparent_temperature_mean: 34\n apparent_temperature_max: 36.8\n apparent_temperature_min: 31.8\n precipitation_sum: 11.9\n rain_sum: 11.9\n snowfall_sum: 0\n wind_speed_10m_max: 10.9\n wind_gusts_10m_max: 27.7\n wind_speed_10m_mean: 7.4\n wind_speed_10m_min: 3.1\n wind_gusts_10m_min: 6.8\n wind_gusts_10m_mean: 17.8\n wind_direction_10m_dominant: 82\n shortwave_radiation_sum: 8.98\n et0_fao_evapotranspiration_sum: 2.01\n cloud_cover_mean: 99\n dew_point_2m_mean: 25.9\n dew_point_2m_max: 26.5\n dew_point_2m_min: 24.9\n relative_humidity_2m_mean: 90\n relative_humidity_2m_max: 97\n relative_humidity_2m_min: 79\n pressure_msl_mean: 999.2\n surface_pressure_mean: 975.3\n astronomy:\n date: '2025-08-01'\n mid_night: '00:09'\n night_end: '03:47'\n sunrise: '05:17'\n sunset: '19:00'\n night_begin: '20:30'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:43'\n moon_phase: FIRST_QUARTER\n moonrise: '12:18'\n moonset: '23:04'\n moon_status: '-'\n hourlyPrecision:\n summary: Hourly precision response (no daily key)\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n historical:\n '2025-08-01':\n hourly:\n - timestamp: 2025-08-01T00:00\n temperature_2m: 27\n relative_humidity_2m: 92\n dew_point_2m: 25.5\n apparent_temperature: 32.9\n precipitation: 0\n rain: 0\n snowfall: 0\n weather_code: 3\n pressure_msl: 999.5\n surface_pressure: 975.5\n cloud_cover: 100\n et0_fao_evapotranspiration: 0\n wind_speed_10m: 8.2\n wind_direction_10m: 100\n wind_gusts_10m: 16.2\n albedo: null\n shortwave_radiation: 0\n direct_radiation: 0\n diffuse_radiation: 0\n direct_normal_irradiance: 0\n global_tilted_irradiance: 0\n astronomy:\n date: '2025-08-01'\n mid_night: '00:09'\n night_end: '03:47'\n sunrise: '05:17'\n sunset: '19:00'\n night_begin: '20:30'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:43'\n moon_phase: FIRST_QUARTER\n moonrise: '12:18'\n moonset: '23:04'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, invalid date range, or location could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingParams:\n summary: Missing startDate/endDate\n value:\n timestamp: '2026-07-24T11:35:05.667Z'\n status: 400\n message: please pass correct parameters\n error: Invalid Param Exception\n path: /v1.0/weather/time-series\n InvalidDateFormat:\n summary: startDate/endDate not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-24T11:35:26.589Z'\n status: 400\n message: startDate must be in yyyy-mm-dd format\n error: invalid-params\n path: /v1.0/weather/time-series\n DateRangeTooWideDaily:\n summary: Range over 90 days at daily precision\n value:\n timestamp: '2026-07-24T11:35:06.179Z'\n status: 400\n message: Date range cannot exceed 90 days.\n error: error\n path: /v1.0/weather/time-series\n DateRangeTooWideHourly:\n summary: Range over 7 days at hourly precision\n value:\n timestamp: '2026-07-24T11:35:06.654Z'\n status: 400\n message: Time-series hourly date range must not exceed 7 days\n error: params-exception-error\n path: /v1.0/weather/time-series\n EndDateBeforeStartDate:\n summary: endDate earlier than startDate\n value:\n timestamp: '2026-07-24T11:35:14.787Z'\n status: 400\n message: startDate must be before or equal to endDate\n error: params-exception-error\n path: /v1.0/weather/time-series\n FutureDate:\n summary: endDate is today or in the future\n value:\n timestamp: '2026-07-24T11:35:14.329Z'\n status: 400\n message: endDate cannot be current or future date\n error: params-exception-error\n path: /v1.0/weather/time-series\n DateOutOfRange:\n summary: startDate earlier than 1940-01-01\n value:\n timestamp: '2026-07-24T11:35:26.108Z'\n status: 400\n message: Parameter 'startDate' is out of allowed range from 1940-01-01 to 2026-07-24\n error: error\n path: /v1.0/weather/time-series\n InvalidCoordinates:\n summary: Latitude or longitude out of range (e.g. lat=999)\n value:\n timestamp: '2026-07-24T11:35:15.849Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/time-series\n InvalidIPAddress:\n summary: Invalid IP address\n value:\n timestamp: '2026-07-24T11:35:16.321Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/time-series\n LocationNotFound:\n summary: Location string could not be geocoded (returns 400, not 404, on this endpoint)\n value:\n timestamp: '2026-07-24T11:36:14.115Z'\n status: 400\n message: We couldn't find the location (xyzxyzxyz123nonexistent). Try a city or state level location address only.\n error: error\n path: /v1.0/weather/time-series\n InvalidPrecision:\n summary: precision value outside daily/hourly\n value:\n timestamp: '2026-07-24T11:36:04.187Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/time-series\n InvalidTimezone:\n summary: Unrecognized timezone value\n value:\n timestamp: '2026-07-24T11:36:04.753Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/time-series\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 TimeSeriesResponse:\n type: object\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n historical:\n $ref: '#/components/schemas/TimeSeriesData'\n required:\n - location\n - historical\n description: Time-series weather response containing location data and date-keyed time-series data.\n LocationByCoordinates:\n type: object\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates. Empty string when the coordinates could not be reverse-geocoded (e.g. open ocean).\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location. Empty string when the coordinates could not be reverse-geocoded.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location. Empty string when the coordinates could not be reverse-geocoded.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters for the specified coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n description: Location data when the target is specified by GPS coordinates (lat/long).\n LocationByIP:\n type: object\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters for the IP geolocation. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n description: Location data when the target is inferred from an IP address.\n LocationByAddress:\n type: object\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to +180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters at the geocoded coordinates. Returned as a string, not a number; can be an empty string when unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n description: Location data when the target is specified by a city name or address string.\n HistoricalDaily:\n type: object\n properties:\n timestamp:\n type: string\n format: date\n description: Date of this daily entry, `YYYY-MM-DD`.\n weather_code:\n type: integer\n description: Weather condition code\n temperature_2m_mean:\n type: number\n description: Daily mean air temperature at 2 meters (\xB0C)\n temperature_2m_max:\n type: number\n description: Daily maximum air temperature at 2 meters (\xB0C)\n temperature_2m_min:\n type: number\n description: Daily minimum air temperature at 2 meters (\xB0C)\n apparent_temperature_mean:\n type: number\n description: Daily mean perceived temperature (\xB0C)\n apparent_temperature_max:\n type: number\n description: Daily maximum perceived temperature (\xB0C)\n apparent_temperature_min:\n type: number\n description: Daily minimum perceived temperature (\xB0C)\n precipitation_sum:\n type: number\n description: Total precipitation (mm)\n rain_sum:\n type: number\n description: Total rainfall (mm)\n snowfall_sum:\n type: number\n description: Total snowfall (cm)\n wind_speed_10m_max:\n type: number\n description: Maximum wind speed at 10 meters (km/h)\n wind_gusts_10m_max:\n type: number\n description: Maximum wind gusts at 10 meters (km/h)\n wind_speed_10m_mean:\n type: number\n description: Daily mean wind speed at 10 meters (km/h)\n wind_speed_10m_min:\n type: number\n description: Minimum wind speed at 10 meters (km/h)\n wind_gusts_10m_min:\n type: number\n description: Minimum wind gusts at 10 meters (km/h)\n wind_gusts_10m_mean:\n type: number\n description: Daily mean wind gusts at 10 meters (km/h)\n wind_direction_10m_dominant:\n type: integer\n description: Dominant wind direction at 10 meters (\xB0)\n shortwave_radiation_sum:\n type: number\n description: Daily sum of shortwave solar radiation (MJ/m\xB2)\n et0_fao_evapotranspiration_sum:\n type: number\n description: Daily sum of reference evapotranspiration (mm)\n cloud_cover_mean:\n type: number\n description: Daily mean cloud cover percentage (%)\n dew_point_2m_mean:\n type: number\n description: Daily mean dew point temperature at 2 meters (\xB0C)\n dew_point_2m_max:\n type: number\n description: Daily maximum dew point temperature at 2 meters (\xB0C)\n dew_point_2m_min:\n type: number\n description: Daily minimum dew point temperature at 2 meters (\xB0C)\n relative_humidity_2m_mean:\n type: number\n description: Daily mean relative humidity at 2 meters (%)\n relative_humidity_2m_max:\n type: integer\n description: Daily maximum relative humidity at 2 meters (%)\n relative_humidity_2m_min:\n type: integer\n description: Daily minimum relative humidity at 2 meters (%)\n pressure_msl_mean:\n type: number\n description: Daily mean atmospheric pressure at mean sea level (hPa)\n surface_pressure_mean:\n type: number\n description: Daily mean surface pressure at ground level (hPa)\n required:\n - timestamp\n - weather_code\n - temperature_2m_mean\n - temperature_2m_max\n - temperature_2m_min\n - apparent_temperature_mean\n - apparent_temperature_max\n - apparent_temperature_min\n - precipitation_sum\n - rain_sum\n - snowfall_sum\n - wind_speed_10m_max\n - wind_gusts_10m_max\n - wind_speed_10m_mean\n - wind_speed_10m_min\n - wind_gusts_10m_min\n - wind_gusts_10m_mean\n - wind_direction_10m_dominant\n - shortwave_radiation_sum\n - et0_fao_evapotranspiration_sum\n - cloud_cover_mean\n - dew_point_2m_mean\n - dew_point_2m_max\n - dew_point_2m_min\n - relative_humidity_2m_mean\n - relative_humidity_2m_max\n - relative_humidity_2m_min\n - pressure_msl_mean\n - surface_pressure_mean\n description: Daily historical weather summary with temperature, precipitation, wind, and radiation statistics.\n HistoricalHourly:\n type: object\n properties:\n timestamp:\n type: string\n description: Local timestamp of this hourly reading, in `YYYY-MM-DDTHH:mm` format \u2014 not full ISO 8601 (no seconds, no timezone offset/`Z`).\n temperature_2m:\n type: number\n description: Air temperature at 2 meters (\xB0C)\n relative_humidity_2m:\n type: number\n description: Relative humidity at 2 meters (%)\n dew_point_2m:\n type: number\n description: Dew point temperature at 2 meters (\xB0C)\n apparent_temperature:\n type: number\n description: Perceived temperature (\xB0C)\n precipitation:\n type: number\n description: Total precipitation in this hour (mm)\n rain:\n type: number\n description: Rainfall in this hour (mm)\n snowfall:\n type: number\n description: Snowfall in this hour (cm)\n weather_code:\n type: integer\n description: Weather condition code\n pressure_msl:\n type: number\n description: Atmospheric pressure at mean sea level (hPa)\n surface_pressure:\n type: number\n description: Atmospheric pressure at ground level (hPa)\n cloud_cover:\n type: number\n description: Cloud cover percentage (%)\n et0_fao_evapotranspiration:\n type: number\n description: Hourly reference evapotranspiration (mm)\n wind_speed_10m:\n type: number\n description: Wind speed at 10 meters (km/h)\n wind_direction_10m:\n type: integer\n description: Wind direction at 10 meters (\xB0)\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10 meters (km/h)\n albedo:\n type:\n - number\n - 'null'\n description: Reflectivity of the Earth's surface. Observed as null in every sampled response; this field is not currently populated by the upstream data source.\n shortwave_radiation:\n type: number\n description: Incoming shortwave solar radiation (W/m\xB2)\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2)\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2)\n direct_normal_irradiance:\n type: number\n description: Direct solar irradiance (W/m\xB2)\n global_tilted_irradiance:\n type: number\n description: Total solar irradiance on a tilted surface (W/m\xB2)\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - rain\n - snowfall\n - weather_code\n - pressure_msl\n - surface_pressure\n - cloud_cover\n - et0_fao_evapotranspiration\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - albedo\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n description: Hourly historical weather reading with temperature, precipitation, and wind data.\n Astronomy:\n type: object\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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 WeatherLocation:\n type: object\n description: Location information\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n TimeSeriesDay:\n type: object\n description: Time-series weather data for a single day. Contains astronomy data plus exactly one of daily or hourly, depending on the request's precision parameter \u2014 the other key is absent, not empty, in the actual response.\n required:\n - astronomy\n properties:\n daily:\n $ref: '#/components/schemas/HistoricalDaily'\n description: Daily aggregate weather data for the specified day. Present only when precision=daily (the default); absent entirely when precision=hourly.\n hourly:\n type: array\n description: Array of hourly weather readings for this day. Present only when precision=hourly; absent entirely when precision=daily.\n items:\n $ref: '#/components/schemas/HistoricalHourly'\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomical data including sunrise, sunset, and moon phases. Present regardless of precision.\n TimeSeriesData:\n type: object\n description: Time-series data object keyed by date (YYYY-MM-DD). Each key is a date and the value is a TimeSeriesDay containing daily aggregates, hourly readings, and astronomy data.\n properties:\n date:\n $ref: '#/components/schemas/TimeSeriesDay'\n required:\n - date\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",
57482
56794
  "weather-forecast": "openapi: 3.1.1\ninfo:\n title: Weather Forecast API - Advanced Weather Prediction Data\n version: 1.0.0\n description: Retrieve daily, hourly, or minutely weather forecasts up to 16 days ahead for a city or address, GPS coordinates, or IP address. Returns location details plus, for every requested day, an astronomy block (sunrise/sunset, moon phase, day length) and exactly one of `daily`, `hourly`, or `minutely` forecast data selected by the `precision` parameter. Use `forecastDays` for a rolling N-day forecast from today, or supply `startDate` and `endDate` together for an explicit date range capped at 16 days from today. Location precedence is `lat`/`long` first, then `location`, then `ip` \u2014 if none are given, the request falls back to the caller's own IP address. Latitude, longitude, and elevation are returned as strings rather than numbers, and elevation can be an empty string when unavailable for the resolved location.\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/weather\n description: Weather Forecast API Server\npaths:\n /forecast:\n get:\n tags:\n - Weather APIs\n summary: Retrieve daily, hourly, or minutely weather forecasts for up to 16 days ahead\n description: Returns forecast data for a location resolved from GPS coordinates, a place name/address, or an IP address, plus astronomy data for each requested day. Configure the date range with `forecastDays` or `startDate`/`endDate`, and choose forecast granularity with `precision`.\n operationId: getWeatherForecast\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json.'\n schema:\n type: string\n enum:\n - json\n default: json\n - name: location\n in: query\n required: false\n description: City name, place name, or full address to resolve to coordinates. Ignored when lat/long are also provided, since coordinates take priority.\n schema:\n type: string\n - name: lat\n in: query\n required: false\n description: Latitude of the location. Must be supplied together with long or the request fails with a 400. Takes priority over location and ip when combined with them.\n schema:\n type: number\n - name: long\n in: query\n required: false\n description: Longitude of the location. Must be supplied together with lat or the request fails with a 400.\n schema:\n type: number\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address to infer location from. Used only when lat/long and location are not provided; if the whole parameter is omitted, the requester's own IP is used instead. Private/reserved IPs do not error \u2014 they return placeholder location fields (e.g. country_name \"ZZ\").\n schema:\n type: string\n - name: startDate\n in: query\n required: false\n description: Start date for the forecast in YYYY-MM-DD format. Must be supplied together with endDate \u2014 passing only one returns a 400. Forecast dates must be today or later, and the range between startDate and endDate must not exceed 16 days from today.\n schema:\n type: string\n format: date\n - name: endDate\n in: query\n required: false\n description: End date for the forecast in YYYY-MM-DD format. Must be supplied together with startDate \u2014 passing only one returns a 400. Forecast dates must be today or later, and the range between startDate and endDate must not exceed 16 days from today.\n schema:\n type: string\n format: date\n - name: forecastDays\n in: query\n required: false\n description: Number of days to forecast starting today, from 1 to 16. Default is 7. Not used together with startDate/endDate.\n schema:\n type: integer\n minimum: 1\n maximum: 16\n - name: precision\n in: query\n required: false\n description: 'Forecast granularity. Possible values: daily (default), hourly, minutely. Only one of the corresponding daily/hourly/minutely blocks is returned per day \u2014 astronomy data is always included regardless of precision. An unsupported value returns a 400.'\n schema:\n type: string\n enum:\n - daily\n - hourly\n - minutely\n default: daily\n - name: timezone\n in: query\n required: false\n description: IANA timezone identifier to convert forecast and astronomy times into (e.g. America/New_York). Defaults to the resolved location's local timezone. An invalid value returns a 400.\n schema:\n type: string\n responses:\n '200':\n description: Successful response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ForecastResponse'\n examples:\n dailyPrecision:\n summary: Default daily forecast\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n forecast:\n '2026-07-24':\n daily:\n timestamp: '2026-07-24'\n weather_code: 96\n temperature_2m_max: 32.8\n temperature_2m_min: 25.2\n apparent_temperature_max: 40\n apparent_temperature_min: 30.4\n temperature_2m_mean: 28.9\n apparent_temperature_mean: 35.2\n uv_index_max: 8.3\n uv_index_clear_sky_max: 8.3\n rain_sum: 2.2\n showers_sum: 15.3\n snowfall_sum: 0\n precipitation_sum: 17.5\n wind_speed_10m_max: 9.9\n wind_gusts_10m_max: 24.1\n wind_direction_10m_dominant: 79\n shortwave_radiation_sum: 19.92\n surface_pressure_mean: 975.8\n visibility_mean: 5653.33\n cloud_cover_mean: 83\n dew_point_2m_mean: 25.4\n dew_point_2m_max: 26.7\n dew_point_2m_min: 24.1\n et0_fao_evapotranspiration_sum: 4.38\n precipitation_probability_mean: 56\n relative_humidity_2m_mean: 82\n relative_humidity_2m_max: 99\n relative_humidity_2m_min: 63\n pressure_msl_mean: 999.7\n wind_gusts_10m_mean: 18\n wind_speed_10m_mean: 6.5\n wind_gusts_10m_min: 10.1\n wind_speed_10m_min: 3.6\n astronomy:\n date: '2026-07-24'\n mid_night: '00:09'\n night_end: '03:39'\n sunrise: '05:12'\n sunset: '19:06'\n night_begin: '20:38'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:54'\n moon_phase: WAXING_GIBBOUS\n moonrise: '15:08'\n moonset: '00:26'\n moon_status: '-'\n hourlyPrecision:\n summary: precision=hourly response\n value:\n location:\n location_string: Lahore\n country_name: Pakistan\n state_prov: Punjab\n city: Lahore\n locality: ''\n latitude: '31.56568'\n longitude: '74.31418'\n elevation: ''\n timezone: Asia/Karachi\n timezone_abbreviation: GMT+5\n forecast:\n '2026-07-24':\n hourly:\n - timestamp: 2026-07-24T00:00\n temperature_2m: 27.3\n relative_humidity_2m: 84\n dew_point_2m: 24.4\n apparent_temperature: 32.4\n precipitation_probability: 40\n precipitation: 0\n rain: 0\n showers: 0\n snowfall: 0\n weather_code: 3\n pressure_msl: 1000.9\n surface_pressure: 976.9\n cloud_cover: 98\n visibility: 7740\n et0_fao_evapotranspiration: 0.01\n wind_speed_10m: 8.4\n wind_direction_10m: 74\n wind_gusts_10m: 16.2\n uv_index: 0\n uv_index_clear_sky: 0\n direct_normal_irradiance: 0\n global_tilted_irradiance: 0\n direct_radiation: 0\n shortwave_radiation: 0\n diffuse_radiation: 0\n astronomy:\n date: '2026-07-24'\n mid_night: '00:09'\n night_end: '03:39'\n sunrise: '05:12'\n sunset: '19:06'\n night_begin: '20:38'\n sun_status: '-'\n solar_noon: '12:09'\n day_length: '13:54'\n moon_phase: WAXING_GIBBOUS\n moonrise: '15:08'\n moonset: '00:26'\n moon_status: '-'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 invalid, missing, or conflicting parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidCoordinateRange:\n summary: Latitude/longitude out of range\n value:\n timestamp: '2026-07-24T11:34:06.131Z'\n status: 400\n message: Invalid latitude or longitude values. Latitude must be between -90 and 90, and longitude must be between -180 and 180\n error: invalid-params\n path: /v1.0/weather/forecast\n IncompleteCoordinates:\n summary: lat given without long\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/weather/forecast\n status: 400\n timestamp: '2026-07-24T11:34:06.623Z'\n UnresolvableCoordinates:\n summary: Valid but unresolvable coordinates (e.g. open ocean)\n value:\n timestamp: '2026-07-24T11:34:20.552Z'\n status: 400\n message: Please provide both lat and long parameters.\n error: invalid-params\n path: /v1.0/weather/forecast\n LocationNotFound:\n summary: location text could not be geocoded\n value:\n timestamp: '2026-07-24T11:34:07.198Z'\n status: 400\n message: We couldn't find the location (asdkjhaskjdhaksjdh). Try a city or state level location address only.\n error: error\n path: /v1.0/weather/forecast\n InvalidIPAddress:\n summary: Malformed ip value\n value:\n timestamp: '2026-07-24T11:34:07.725Z'\n status: 400\n message: Invalid IP address\n error: invalid-params\n path: /v1.0/weather/forecast\n InvalidForecastDays:\n summary: forecastDays outside 1-16\n value:\n timestamp: '2026-07-24T11:34:21.785Z'\n status: 400\n message: 'forecastDays must be within 1 and 16 (dates: 2026-07-24 to 2026-08-08)'\n error: params-exception-error\n path: /v1.0/weather/forecast\n InvalidDateRange:\n summary: Date range exceeds 16 days or is in the past\n value:\n timestamp: '2026-07-24T11:34:23.468Z'\n status: 400\n message: Forecast date range must be within 2026-07-24 to 2026-08-08\n error: params-exception-error\n path: /v1.0/weather/forecast\n IncompleteDateRange:\n summary: startDate given without endDate\n value:\n timestamp: '2026-07-24T11:35:04.757Z'\n status: 400\n message: startDate and endDate must both be present\n error: params-exception-error\n path: /v1.0/weather/forecast\n InvalidPrecision:\n summary: Unsupported precision value\n value:\n timestamp: '2026-07-24T11:34:22.909Z'\n status: 400\n message: Invalid precision\n error: invalid-params\n path: /v1.0/weather/forecast\n InvalidTimezone:\n summary: Unrecognized timezone identifier\n value:\n timestamp: '2026-07-24T11:34:24.537Z'\n status: 400\n message: Check whether your input value is correct; timezone = NotATimezone\n error: error\n path: /v1.0/weather/forecast\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 ForecastResponse:\n type: object\n description: Weather forecast response containing location and forecast data for the requested date range.\n required:\n - location\n - forecast\n properties:\n location:\n $ref: '#/components/schemas/WeatherLocation'\n forecast:\n $ref: '#/components/schemas/ForecastData'\n LocationByCoordinates:\n type: object\n description: Location data when the target is specified by GPS coordinates (lat/long).\n required:\n - latitude\n - longitude\n - country_name\n - state_prov\n - city\n - timezone\n - timezone_abbreviation\n properties:\n latitude:\n type: string\n description: Geographic latitude coordinate in decimal degrees, ranging from -90 (South Pole) to +90 (North Pole). Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude coordinate in decimal degrees, ranging from -180 (West) to +180 (East). Returned as a string, not a number.\n country_name:\n type: string\n description: Full name of the country corresponding to the provided coordinates.\n state_prov:\n type: string\n description: State, province, or primary administrative division name for the location.\n city:\n type: string\n description: City or municipal area name associated with the coordinate location.\n locality:\n type: string\n description: Specific locality, neighborhood, district, or village name within the broader area.\n elevation:\n type: string\n description: Height above mean sea level in meters, returned as a string. May be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the location (e.g., America/New_York, Europe/London).\n timezone_abbreviation:\n type: string\n description: Abbreviated timezone representation based on current offset (e.g., EST, GMT, PST).\n LocationByIP:\n type: object\n description: Location data when the target is inferred from an IP address. Private/reserved IPs resolve to placeholder \"ZZ\"/empty values instead of an error.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n continent_code:\n type: string\n description: Two-letter continent code (e.g., NA for North America, EU for Europe, AS for Asia).\n continent_name:\n type: string\n description: Full name of the continent where the IP address is registered.\n country_code2:\n type: string\n description: ISO 3166-1 alpha-2 two-letter country code (e.g., US, GB, FR).\n country_code3:\n type: string\n description: ISO 3166-1 alpha-3 three-letter country code (e.g., USA, GBR, FRA).\n country_name:\n type: string\n description: Common name of the country associated with the IP address.\n country_name_official:\n type: string\n description: Official long-form country name as recognized internationally (e.g., United States of America).\n is_eu:\n type: boolean\n description: Boolean flag indicating whether the country is a member state of the European Union.\n state_prov:\n type: string\n description: State, province, or primary administrative division associated with the IP location.\n state_code:\n type: string\n description: ISO 3166-2 subdivision code for the state or province (e.g., CA for California).\n district:\n type: string\n description: District, county, or secondary administrative division within the region.\n city:\n type: string\n description: City or urban area name where the IP address is geographically registered.\n zipcode:\n type: string\n description: Postal code or ZIP code for the approximate location of the IP address.\n latitude:\n type: string\n description: Geographic latitude in decimal degrees for the IP geolocation, ranging from -90 to +90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geographic longitude in decimal degrees for the IP geolocation, ranging from -180 to +180. Returned as a string, not a number.\n locality:\n type: string\n description: Specific locality, neighborhood, or small area designation within the city.\n elevation:\n type: string\n description: Elevation above mean sea level in meters, returned as a string. May be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the IP location (e.g., America/Chicago, Asia/Tokyo).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation based on local offset (e.g., CST, JST, UTC).\n LocationByAddress:\n type: object\n description: Location data when the target is specified by a city name or address string.\n required:\n - location_string\n - country_name\n - state_prov\n - city\n - latitude\n - longitude\n - timezone\n - timezone_abbreviation\n properties:\n location_string:\n type: string\n description: Original location query string as submitted, including full address or place name.\n country_name:\n type: string\n description: Resolved country name derived from the geocoded location query.\n state_prov:\n type: string\n description: State, province, or primary administrative division identified from the location.\n city:\n type: string\n description: City or municipal area name extracted from the geocoded location.\n locality:\n type: string\n description: Specific locality, neighborhood, suburb, or village within the geocoded area.\n latitude:\n type: string\n description: Geocoded latitude coordinate in decimal degrees, ranging from -90 to 90. Returned as a string, not a number.\n longitude:\n type: string\n description: Geocoded longitude coordinate in decimal degrees, ranging from -180 to 180. Returned as a string, not a number.\n elevation:\n type: string\n description: Elevation above mean sea level in meters, returned as a string. May be an empty string when elevation data is unavailable.\n timezone:\n type: string\n description: IANA timezone database identifier for the geocoded location (e.g., America/Los_Angeles).\n timezone_abbreviation:\n type: string\n description: Current timezone abbreviation for the location based on local offset (e.g., PDT, CET).\n ForecastDaily:\n type: object\n description: Daily forecast summary with temperature, precipitation, wind, UV, and radiation statistics. Present only when precision is daily (the default).\n required:\n - timestamp\n - weather_code\n - temperature_2m_max\n - temperature_2m_min\n - temperature_2m_mean\n - apparent_temperature_max\n - apparent_temperature_min\n - apparent_temperature_mean\n - uv_index_max\n - uv_index_clear_sky_max\n - rain_sum\n - showers_sum\n - snowfall_sum\n - precipitation_sum\n - precipitation_probability_mean\n - wind_speed_10m_max\n - wind_speed_10m_min\n - wind_speed_10m_mean\n - wind_gusts_10m_max\n - wind_gusts_10m_min\n - wind_gusts_10m_mean\n - wind_direction_10m_dominant\n - shortwave_radiation_sum\n - surface_pressure_mean\n - pressure_msl_mean\n - visibility_mean\n - cloud_cover_mean\n - dew_point_2m_max\n - dew_point_2m_min\n - dew_point_2m_mean\n - relative_humidity_2m_max\n - relative_humidity_2m_min\n - relative_humidity_2m_mean\n - et0_fao_evapotranspiration_sum\n properties:\n timestamp:\n type: string\n format: date\n description: Calendar date (YYYY-MM-DD) this daily summary covers. Returned as a plain date, not a full date-time.\n weather_code:\n type: integer\n description: Weather condition code\n temperature_2m_max:\n type: number\n description: Maximum air temperature at 2m (\xB0C)\n temperature_2m_min:\n type: number\n description: Minimum air temperature at 2m (\xB0C)\n temperature_2m_mean:\n type: number\n description: Mean air temperature at 2m (\xB0C)\n apparent_temperature_max:\n type: number\n description: Maximum feels-like temperature (\xB0C)\n apparent_temperature_min:\n type: number\n description: Minimum feels-like temperature (\xB0C)\n apparent_temperature_mean:\n type: number\n description: Mean feels-like temperature (\xB0C)\n uv_index_max:\n type: number\n description: Daily maximum UV index\n uv_index_clear_sky_max:\n type: number\n description: UV index clear sky max\n rain_sum:\n type: number\n description: Total rain (mm)\n showers_sum:\n type: number\n description: Total showers (mm)\n snowfall_sum:\n type: number\n description: Total snowfall (cm)\n precipitation_sum:\n type: number\n description: Total precipitation (mm)\n precipitation_probability_mean:\n type: integer\n description: Mean probability of precipitation (%)\n wind_speed_10m_max:\n type: number\n description: Max wind speed at 10m (km/h)\n wind_speed_10m_min:\n type: number\n description: Min wind speed at 10m (km/h)\n wind_speed_10m_mean:\n type: number\n description: Mean wind speed at 10m (km/h)\n wind_gusts_10m_max:\n type: number\n description: Max wind gusts at 10m (km/h)\n wind_gusts_10m_min:\n type: number\n description: Min wind gusts at 10m (km/h)\n wind_gusts_10m_mean:\n type: number\n description: Mean wind gusts at 10m (km/h)\n wind_direction_10m_dominant:\n type: integer\n description: Dominant wind direction at 10m (\xB0)\n shortwave_radiation_sum:\n type: number\n description: Total shortwave radiation (MJ/m\xB2)\n surface_pressure_mean:\n type: number\n description: Mean surface pressure (hPa)\n pressure_msl_mean:\n type: number\n description: Mean sea-level pressure (hPa)\n visibility_mean:\n type: number\n description: Mean visibility distance (m)\n cloud_cover_mean:\n type: integer\n description: Mean cloud cover (%)\n dew_point_2m_max:\n type: number\n description: Max dew point at 2m (\xB0C)\n dew_point_2m_min:\n type: number\n description: Min dew point at 2m (\xB0C)\n dew_point_2m_mean:\n type: number\n description: Mean dew point at 2m (\xB0C)\n relative_humidity_2m_max:\n type: integer\n description: Max relative humidity (%)\n relative_humidity_2m_min:\n type: integer\n description: Min relative humidity (%)\n relative_humidity_2m_mean:\n type: integer\n description: Mean relative humidity (%)\n et0_fao_evapotranspiration_sum:\n type: number\n description: ET\u2080 Reference Evapotranspiration (mm)\n ForecastHourly:\n type: object\n description: Hourly forecast reading with temperature, precipitation, wind, and radiation data. Present only when precision is hourly.\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - precipitation_probability\n - rain\n - showers\n - snowfall\n - weather_code\n - pressure_msl\n - surface_pressure\n - cloud_cover\n - visibility\n - et0_fao_evapotranspiration\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - uv_index\n - uv_index_clear_sky\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n properties:\n timestamp:\n type: string\n description: Local date and hour this reading covers, e.g. 2026-07-24T00:00. Not a full RFC 3339 date-time \u2014 no seconds or UTC offset are included.\n temperature_2m:\n type: number\n description: Air temperature at 2m (\xB0C)\n relative_humidity_2m:\n type: integer\n description: Relative humidity at 2m (%)\n dew_point_2m:\n type: number\n description: Dew point at 2m (\xB0C)\n apparent_temperature:\n type: number\n description: Feels-like temperature (\xB0C)\n precipitation:\n type: number\n description: Total precipitation at this time (mm)\n precipitation_probability:\n type: integer\n description: Probability of precipitation (%)\n rain:\n type: number\n description: Rainfall (mm)\n showers:\n type: number\n description: Showers (mm)\n snowfall:\n type: number\n description: Snowfall (cm)\n weather_code:\n type: integer\n description: Weather condition code\n pressure_msl:\n type: number\n description: Sea-level pressure (hPa)\n surface_pressure:\n type: number\n description: Surface pressure (hPa)\n cloud_cover:\n type: integer\n description: Cloud cover (%)\n visibility:\n type: number\n description: Visibility distance (m)\n et0_fao_evapotranspiration:\n type: number\n description: Evapotranspiration (mm)\n wind_speed_10m:\n type: number\n description: Wind speed at 10m (km/h)\n wind_direction_10m:\n type: integer\n description: Wind direction at 10m (\xB0)\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10m (km/h)\n uv_index:\n type: number\n description: UV index\n uv_index_clear_sky:\n type: number\n description: UV index under clear-sky conditions\n shortwave_radiation:\n type: number\n description: Shortwave radiation (W/m\xB2)\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2)\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2)\n direct_normal_irradiance:\n type: number\n description: Direct normal irradiance (W/m\xB2)\n global_tilted_irradiance:\n type: number\n description: Global tilted irradiance (W/m\xB2)\n ForecastMinutely:\n type: object\n description: Minute-by-minute forecast reading with temperature, precipitation, wind, and radiation data. Present only when precision is minutely.\n required:\n - timestamp\n - temperature_2m\n - relative_humidity_2m\n - dew_point_2m\n - apparent_temperature\n - precipitation\n - rain\n - snowfall\n - weather_code\n - wind_speed_10m\n - wind_direction_10m\n - wind_gusts_10m\n - visibility\n - shortwave_radiation\n - direct_radiation\n - diffuse_radiation\n - direct_normal_irradiance\n - global_tilted_irradiance\n properties:\n timestamp:\n type: string\n description: Local date and minute this reading covers, e.g. 2026-07-24T00:00. Not a full RFC 3339 date-time \u2014 no seconds or UTC offset are included.\n temperature_2m:\n type: number\n description: Air temperature at 2m (\xB0C)\n relative_humidity_2m:\n type: integer\n description: Relative humidity at 2m (%)\n dew_point_2m:\n type: number\n description: Dew point at 2m (\xB0C)\n apparent_temperature:\n type: number\n description: Feels-like temperature (\xB0C)\n precipitation:\n type: number\n description: Precipitation at this minute (mm)\n rain:\n type: number\n description: Rainfall (mm)\n snowfall:\n type: number\n description: Snowfall (cm)\n weather_code:\n type: integer\n description: Weather condition code\n wind_speed_10m:\n type: number\n description: Wind speed at 10m (km/h)\n wind_direction_10m:\n type: integer\n description: Wind direction at 10m (\xB0)\n wind_gusts_10m:\n type: number\n description: Wind gusts at 10m (km/h)\n visibility:\n type: number\n description: Visibility distance (m)\n shortwave_radiation:\n type: number\n description: Shortwave radiation (W/m\xB2)\n direct_radiation:\n type: number\n description: Direct solar radiation (W/m\xB2)\n diffuse_radiation:\n type: number\n description: Diffuse solar radiation (W/m\xB2)\n direct_normal_irradiance:\n type: number\n description: Direct normal irradiance (W/m\xB2)\n global_tilted_irradiance:\n type: number\n description: Global tilted irradiance (W/m\xB2)\n Astronomy:\n type: object\n description: Astronomical data including sunrise, sunset, solar noon, day length, moon phase, and moon times. Always present for every requested day, regardless of precision. Time fields switch from HH:MM to \"YYYY-MM-DD HH:MM\" when the timezone parameter shifts the date relative to the location's local day.\n required:\n - date\n - mid_night\n - night_end\n - sunrise\n - solar_noon\n - sunset\n - night_begin\n - day_length\n - sun_status\n - moon_phase\n - moonrise\n - moonset\n - moon_status\n properties:\n date:\n type: string\n format: date\n description: Calendar date in YYYY-MM-DD format for the astronomical data.\n mid_night:\n type: string\n description: Time of true solar midnight in HH:MM format.\n night_end:\n type: string\n description: Time when astronomical twilight ends and dawn begins in HH:MM format.\n sunrise:\n type: string\n description: Time when the Sun becomes visible above the horizon in HH:MM format.\n solar_noon:\n type: string\n description: Time when the Sun reaches its highest point in the sky in HH:MM format.\n sunset:\n type: string\n description: Time when the Sun disappears below the horizon in HH:MM format.\n night_begin:\n type: string\n description: Time when astronomical twilight begins and night starts in HH:MM format.\n day_length:\n type: string\n description: Total duration of daylight in HH:MM format.\n sun_status:\n type: string\n description: Current position of the Sun relative to the horizon (above_horizon, below_horizon, or -).\n moon_phase:\n type: string\n description: Current lunar phase (NEW_MOON, WAXING_CRESCENT, FULL_MOON, WANING_GIBBOUS, etc.).\n moonrise:\n type: string\n description: Time when the Moon becomes visible above the horizon in HH:MM format.\n moonset:\n type: string\n description: Time when the Moon disappears below the horizon in HH:MM format.\n moon_status:\n type: string\n description: Current visibility status of the Moon (visible, not_visible, or -).\n ForecastDay:\n type: object\n description: Forecast data for a single day. Contains an astronomy block plus exactly one of daily/hourly/minutely, chosen by the precision parameter.\n required:\n - astronomy\n properties:\n daily:\n $ref: '#/components/schemas/ForecastDaily'\n description: Daily forecast summary. Present when precision is daily (the default).\n hourly:\n type: array\n description: Hourly forecast readings for the day. Present when precision is hourly.\n items:\n $ref: '#/components/schemas/ForecastHourly'\n minutely:\n type: array\n description: Minute-by-minute forecast readings for the day. Present when precision is minutely.\n items:\n $ref: '#/components/schemas/ForecastMinutely'\n astronomy:\n $ref: '#/components/schemas/Astronomy'\n description: Astronomy data for the day. Always present regardless of precision.\n ForecastData:\n type: object\n description: Forecast data keyed by calendar date (YYYY-MM-DD). Each key is a date string and the value is a ForecastDay object.\n additionalProperties:\n $ref: '#/components/schemas/ForecastDay'\n WeatherLocation:\n type: object\n description: Location information. The shape of this object varies by lookup method.\n oneOf:\n - description: Location data when the target is specified by GPS coordinates (lat/long).\n $ref: '#/components/schemas/LocationByCoordinates'\n - description: Location data when the target is inferred from an IP address.\n $ref: '#/components/schemas/LocationByIP'\n - description: Location data when the target is specified by a city name or address string.\n $ref: '#/components/schemas/LocationByAddress'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
57483
- "asn-lookup": "openapi: 3.1.1\ninfo:\n title: ASN Lookup API - WHOIS Records, CIDR Blocks & BGP Peer Data\n version: 1.0.0\n description: Retrieve complete WHOIS registration data for an Autonomous System Number (ASN), covering the operating organization, every advertised IPv4 and IPv6 route object, and both a structured JSON breakdown and the raw WHOIS text returned by the authoritative Regional Internet Registry. The response also includes the ASN's upstream providers, downstream customers, and BGP peer relationships when the registry publishes them, plus direct technical and abuse contact details. Pass the `asn` parameter with or without the `AS` prefix (e.g. `15169` or `AS15169`). An unallocated or unrecognized ASN returns a `404` error instead of an empty result, and a non-numeric or malformed `asn` value returns a `400` error.\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: ASN Lookup API Server\npaths:\n /asn/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve WHOIS registration data, CIDR block inventory, and BGP peer relationships for an Autonomous System Number\n description: Returns the WHOIS record for the specified ASN, including organization details, IPv4/IPv6 route objects, upstream/downstream/peer relationships, and both parsed and raw WHOIS text. Accepts the ASN with or without the 'AS' prefix.\n operationId: asnLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: asn\n in: query\n required: true\n description: Autonomous System Number to retrieve WHOIS data for, with or without the 'AS' prefix (e.g. 15169 or AS15169).\n schema:\n type: string\n responses:\n '200':\n description: Successful ASN WHOIS response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ASNLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n asNumber: '15'\n asName: NET-DYNAMICS-EXP\n orgName: DYNAMICS\n description: ''\n orgHandle: dynami-109\n country: US\n domain: nisc.sri.com\n website: ''\n allocationStatus: ''\n numOfIPv4Routes: '0'\n numOfIPv6Routes: '0'\n whoisHost: ARIN\n dateAllocated: ''\n type: ISP\n routeObjects: []\n whoisResponse: |\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n\n\n ASNumber: 15\n ASName: NET-DYNAMICS-EXP\n ASHandle: AS15\n RegDate: \n Updated: 1991-06-27\n Ref: https://rdap.arin.net/registry/autnum/15\n\n\n OrgName: DYNAMICS\n OrgId: DYNAMI-109\n City: \n StateProv: \n PostalCode: \n Country: US\n RegDate: \n Updated: 2012-10-10\n Ref: https://rdap.arin.net/registry/entity/DYNAMI-109\n\n\n OrgTechHandle: ZSU-ARIN\n OrgTechName: Su, Zaw-Sing \n OrgTechPhone: +1-415-859-4576 \n OrgTechEmail: zsu@nisc.sri.com\n OrgTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n OrgAbuseHandle: ZSU-ARIN\n OrgAbuseName: Su, Zaw-Sing \n OrgAbusePhone: +1-415-859-4576 \n OrgAbuseEmail: zsu@nisc.sri.com\n OrgAbuseRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n RTechHandle: ZSU-ARIN\n RTechName: Su, Zaw-Sing \n RTechPhone: +1-415-859-4576 \n RTechEmail: zsu@nisc.sri.com\n RTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n downstreams: []\n parsedWhoisResponse:\n status: true\n whois_server: whois.arin.net\n aut_nums:\n - aut_num: '15'\n as_handle: AS15\n as_name: NET-DYNAMICS-EXP\n tech_contacts:\n - ZSU-ARIN\n - ZSU-ARIN\n abuse_contacts:\n - ZSU-ARIN\n date_updated: '1991-06-27'\n source: https://rdap.arin.net/registry/autnum/15\n organization:\n handle: DYNAMI-109\n name: DYNAMICS\n address:\n - US\n country:\n - US\n date_updated: '2012-10-10'\n source: https://rdap.arin.net/registry/entity/DYNAMI-109\n addressCountry: US\n technical_contacts:\n - handle: ZSU-ARIN\n name: Su, Zaw-Sing\n email:\n - zsu@nisc.sri.com\n phone:\n - +1-415-859-4576\n source: https://rdap.arin.net/registry/entity/ZSU-ARIN\n abuse_contacts:\n - handle: ZSU-ARIN\n name: Su, Zaw-Sing\n email:\n - zsu@nisc.sri.com\n phone:\n - +1-415-859-4576\n source: https://rdap.arin.net/registry/entity/ZSU-ARIN\n upstreams: []\n peers: []\n contacts:\n emailContacts:\n - zsu@nisc.sri.com\n abuseContacts: []\n legacyRoutes: []\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid asn parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidAsn:\n summary: Non-numeric asn value\n value:\n timestamp: '2026-07-23T07:47:06.640Z'\n status: 400\n error: Input parameter is not valid\n message: Request-param 'asn' (ABC123) is not valid\n path: /v2.0/asn-whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 ASN could not be found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n asnNotFound:\n summary: ASN not allocated or unrecognized\n value:\n timestamp: '2026-07-23T07:47:45.427Z'\n status: 404\n error: Data Not Found\n message: ASN data for 999999999 could not be found.\n path: /v2.0/asn-whois\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 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 ASNLookupResponse:\n type: object\n description: WHOIS registration record for the requested Autonomous System Number.\n required:\n - asNumber\n - asName\n - orgName\n - orgHandle\n - country\n - allocationStatus\n - numOfIPv4Routes\n - numOfIPv6Routes\n - whoisHost\n - type\n - routeObjects\n - whoisResponse\n - downstreams\n - parsedWhoisResponse\n - upstreams\n - peers\n - contacts\n - legacyRoutes\n properties:\n asNumber:\n type: string\n description: The Autonomous System Number, without the 'AS' prefix.\n asName:\n type: string\n description: Registered short name for the Autonomous System.\n orgName:\n type: string\n description: Name of the organization the ASN is registered to.\n description:\n type: string\n description: Free-text description associated with the organization, when published.\n orgHandle:\n type: string\n description: Registry handle identifying the organization record.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the registered organization.\n domain:\n type: string\n description: Domain name associated with the organization, when published.\n website:\n type: string\n description: Organization website URL, when published.\n allocationStatus:\n type: string\n description: Allocation status of the ASN as published by the registry.\n numOfIPv4Routes:\n type: string\n description: Count of IPv4 route objects currently advertised by this ASN.\n numOfIPv6Routes:\n type: string\n description: Count of IPv6 route objects currently advertised by this ASN.\n whoisHost:\n type: string\n description: Regional Internet Registry (RIR) that hosts the authoritative WHOIS record (e.g. ARIN, RIPE, APNIC).\n dateAllocated:\n type: string\n description: Date the ASN was allocated, in YYYY-MM-DD format; empty if not published.\n type:\n type: string\n description: ASN category (e.g. ISP, BUSINESS, HOSTING, EDUCATION).\n routeObjects:\n type: array\n description: IPv4 and IPv6 route objects (CIDR blocks) currently advertised by this ASN.\n items:\n $ref: '#/components/schemas/RouteObject'\n whoisResponse:\n type: string\n description: Raw WHOIS text response returned by the authoritative registry for this ASN.\n downstreams:\n type: array\n description: Downstream customer ASNs that receive routes from this ASN, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n parsedWhoisResponse:\n $ref: '#/components/schemas/ParsedWhoisResponse'\n upstreams:\n type: array\n description: Upstream provider ASNs that this ASN receives transit from, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n peers:\n type: array\n description: BGP peer ASNs with a settlement-free peering relationship to this ASN, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n contacts:\n $ref: '#/components/schemas/Contacts'\n legacyRoutes:\n type: array\n description: Legacy (pre-RIR) route objects associated with this ASN, in CIDR notation.\n items:\n type: string\n RouteObject:\n type: object\n description: A single IPv4 or IPv6 route object (CIDR block) advertised by the ASN.\n required:\n - route\n - origin\n - originName\n - isp\n - numberOfIps\n properties:\n route:\n type: string\n description: Route prefix in CIDR notation.\n origin:\n type: string\n description: Originating ASN for this route, in AS<number> format.\n originName:\n type: string\n description: Organization name for the originating ASN.\n isp:\n type: string\n description: ISP or organization name associated with this route.\n numberOfIps:\n type: integer\n description: Total number of IP addresses contained in this route's prefix.\n AsnRelation:\n type: object\n description: A related Autonomous System (upstream provider, downstream customer, or BGP peer).\n required:\n - asNumber\n properties:\n asNumber:\n type: string\n description: ASN of the related Autonomous System, without the 'AS' prefix.\n description:\n type: string\n description: Free-text description of the related Autonomous System, when published.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the related Autonomous System, when published.\n ParsedWhoisResponse:\n type: object\n description: Structured breakdown of the raw WHOIS response into individual records and contacts.\n required:\n - status\n - whois_server\n - aut_nums\n - organization\n - technical_contacts\n - abuse_contacts\n properties:\n status:\n type: boolean\n description: true if the WHOIS response was parsed successfully.\n whois_server:\n type: string\n description: WHOIS server that returned the raw response (e.g. whois.arin.net).\n aut_nums:\n type: array\n description: Parsed autnum object(s) for the requested ASN.\n items:\n $ref: '#/components/schemas/AutNum'\n organization:\n $ref: '#/components/schemas/Organization'\n technical_contacts:\n type: array\n description: Parsed technical contact records for the ASN.\n items:\n $ref: '#/components/schemas/WhoisContact'\n abuse_contacts:\n type: array\n description: Parsed abuse contact records for the ASN.\n items:\n $ref: '#/components/schemas/WhoisContact'\n whois_raw_response:\n type: string\n description: Unparsed raw WHOIS text, when returned separately from whoisResponse.\n r_whois_raw_response:\n type: string\n description: Raw referral WHOIS (rwhois) text, when the registry delegates to a referral server.\n query_time:\n type: string\n format: date-time\n description: Timestamp when the WHOIS query was executed.\n AutNum:\n type: object\n description: Parsed autnum (Autonomous System Number) registry object and its routing policy attributes.\n required:\n - aut_num\n - as_handle\n - as_name\n - tech_contacts\n - abuse_contacts\n - date_updated\n - source\n properties:\n aut_num:\n type: string\n description: ASN identifier as recorded on the autnum object.\n as_handle:\n type: string\n description: Registry handle for the autnum object (e.g. AS15).\n as_name:\n type: string\n description: Registered name for the autnum object.\n description:\n type: array\n description: Free-text description lines attached to the autnum object.\n items:\n type: string\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code recorded on the autnum object.\n status:\n type: string\n description: Autnum object status as recorded by the registry.\n member_of:\n type: array\n description: Route-set or as-set objects this ASN is a member of.\n items:\n type: string\n import_via:\n type: array\n description: BGP import-via routing policy statements.\n items:\n type: string\n import:\n type: array\n description: BGP import routing policy statements.\n items:\n type: string\n mp_import:\n type: array\n description: Multiprotocol BGP import routing policy statements (mp-import).\n items:\n type: string\n export_via:\n type: array\n description: BGP export-via routing policy statements.\n items:\n type: string\n export:\n type: array\n description: BGP export routing policy statements.\n items:\n type: string\n mp_export:\n type: array\n description: Multiprotocol BGP export routing policy statements (mp-export).\n items:\n type: string\n default:\n type: array\n description: BGP default routing policy statements.\n items:\n type: string\n mp_default:\n type: array\n description: Multiprotocol BGP default routing policy statements (mp-default).\n items:\n type: string\n organization:\n type: string\n description: Registry handle of the organization that holds the autnum object.\n sponsoring_organization:\n type: string\n description: Registry handle of the sponsoring organization, when applicable.\n admin_contacts:\n type: array\n description: Registry handles of administrative contacts for the autnum object.\n items:\n type: string\n tech_contacts:\n type: array\n description: Registry handles of technical contacts for the autnum object.\n items:\n type: string\n abuse_contacts:\n type: array\n description: Registry handles of abuse contacts for the autnum object.\n items:\n type: string\n date_created:\n type: string\n format: date\n description: Date the autnum object was first registered.\n date_updated:\n type: string\n format: date\n description: Date the autnum object was last updated.\n source:\n type: string\n description: URL of the registry record this autnum object was parsed from.\n Organization:\n type: object\n description: Parsed organization (org) registry object that holds the ASN.\n properties:\n handle:\n type: string\n description: Registry handle for the organization object.\n name:\n type: string\n description: Registered name of the organization.\n address:\n type: array\n description: Address lines for the organization, as published by the registry.\n items:\n type: string\n street:\n type: string\n description: Street address of the organization, when published separately.\n city:\n type: string\n description: City of the organization, when published separately.\n state:\n type: string\n description: State or province of the organization, when published separately.\n zip_code:\n type: string\n description: Postal/ZIP code of the organization, when published separately.\n country:\n type: array\n description: Country line(s) of the organization address, as published by the registry.\n items:\n type: string\n addressCountry:\n type: string\n description: ISO 3166-1 alpha-2 country code derived from the organization's address.\n date_created:\n type: string\n format: date\n description: Date the organization object was first registered.\n date_updated:\n type: string\n format: date\n description: Date the organization object was last updated.\n source:\n type: string\n description: URL of the registry record this organization object was parsed from.\n WhoisContact:\n type: object\n description: A parsed technical or abuse contact record from the registry.\n required:\n - handle\n - name\n - email\n properties:\n handle:\n type: string\n description: Registry handle for the contact.\n name:\n type: string\n description: Contact's registered name.\n email:\n type: array\n description: Contact email address(es).\n items:\n type: string\n phone:\n type: array\n description: Contact phone number(s).\n items:\n type: string\n source:\n type: string\n description: URL of the registry record this contact was parsed from.\n Contacts:\n type: object\n description: Direct contact addresses collected from the ASN's WHOIS record.\n required:\n - emailContacts\n - abuseContacts\n properties:\n emailContacts:\n type: array\n description: General contact email addresses for the ASN.\n items:\n type: string\n abuseContacts:\n type: array\n description: Abuse-reporting contact email addresses for the ASN.\n items:\n type: string\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",
57484
- "bulk-whois-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk WHOIS Lookup API - Accurate and Efficient Mass Domain Queries\n version: 1.0.0\n description: 'Retrieve the same real-time WHOIS registration and ownership data as the single-domain WHOIS Lookup API for up to 100 domain names in one request. The response is an object containing a `bulk_whois_response` array in request order; each entry is either a full WHOIS result (registrar, contacts, name servers, status codes, raw WHOIS text) or, if that specific domain''s extension is unsupported or the lookup otherwise fails, an error object with `status: false` --- a bad domain in the batch does not fail the whole request. When the batch contains at least one such error alongside successful results, the endpoint returns `206 Partial Content` instead of `200`. Submitting more than 100 domain names returns a `413` error.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Bulk Domain WHOIS Lookup API Server\npaths:\n /domain/whois/live:\n post:\n tags:\n - WHOIS APIs\n summary: Retrieve real-time WHOIS registration and ownership data for up to 100 domain names in a single request\n description: Returns the current WHOIS record for each requested domain, in request order. Supports up to 100 domain names per request; a domain that fails to resolve yields an error item instead of failing the whole batch.\n operationId: bulkWhoisLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n domainNames:\n - microsoft.com\n - example.xn--tckwe\n responses:\n '200':\n description: WHOIS data retrieved successfully for every requested domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupResponse'\n examples:\n typicalSuccess:\n summary: All domains resolved\n value:\n bulk_whois_response:\n - status: true\n domain_name: example.xn--tckwe\n query_time: '2026-07-23 09:28:42'\n whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/\n domain_registered: 'no'\n - status: true\n domain_name: microsoft.com\n query_time: '2026-07-23 09:28:43'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n name: Domain Administrator\n company: Microsoft Corporation\n street: One Microsoft Way,\n city: Redmond\n state: WA\n zip_code: '98052'\n country_name: United States\n country_code: US\n email_address: admin@domains.microsoft\n phone: '+14258828080'\n fax: '+14259367329'\n technical_contact:\n name: MSN Hostmaster\n country_name: United States\n country_code: US\n email_address: msnhst@microsoft.com\n phone: '+14258828080'\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: microsoft.com\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57+0000\n Creation Date: 1991-05-02T04:00:00+0000\n Registrar Registration Expiration Date: 2027-05-03T00:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Name: Domain Administrator\n Registrant Organization: Microsoft Corporation\n Registrant Street: One Microsoft Way, \n Registrant City: Redmond\n Registrant State/Province: WA\n Registrant Postal Code: 98052\n Registrant Country: US\n Registrant Phone: +1.4258828080\n Registrant Phone Ext: \n Registrant Fax: +1.4259367329\n Registrant Fax Ext: \n Registrant Email: admin@domains.microsoft\n Tech Name: MSN Hostmaster\n Tech Phone: +1.4258828080\n Tech Email: msnhst@microsoft.com\n Name Server: ns1-39.azure-dns.com\n Name Server: ns3-39.azure-dns.org\n Name Server: ns2-39.azure-dns.net\n Name Server: ns4-39.azure-dns.info\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T09:28:02+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/microsoft.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n ----\n registry_data:\n domain_name: MICROSOFT.COM\n query_time: '2026-07-23 09:28:42'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: MICROSOFT.COM\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57Z\n Creation Date: 1991-05-02T04:00:00Z\n Registry Expiry Date: 2027-05-03T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1-39.AZURE-DNS.COM\n Name Server: NS2-39.AZURE-DNS.NET\n Name Server: NS3-39.AZURE-DNS.ORG\n Name Server: NS4-39.AZURE-DNS.INFO\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T09:28:23Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 At least one domain in the batch returned an error; other domains in the same batch still resolved successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupResponse'\n examples:\n partialFailure:\n summary: One domain unsupported, one resolved\n value:\n bulk_whois_response:\n - status: false\n domain_name: zzzz.local\n status_code: 403\n error: NotSupportedDomainExtException\n message: We are not providing the whois of this domain extension (local)\n - status: true\n domain_name: microsoft.com\n query_time: '2026-07-23 09:28:55'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n name: Domain Administrator\n company: Microsoft Corporation\n street: One Microsoft Way,\n city: Redmond\n state: WA\n zip_code: '98052'\n country_name: United States\n country_code: US\n email_address: admin@domains.microsoft\n phone: '+14258828080'\n fax: '+14259367329'\n technical_contact:\n name: MSN Hostmaster\n country_name: United States\n country_code: US\n email_address: msnhst@microsoft.com\n phone: '+14258828080'\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: microsoft.com\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57+0000\n Creation Date: 1991-05-02T04:00:00+0000\n Registrar Registration Expiration Date: 2027-05-03T00:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Name: Domain Administrator\n Registrant Organization: Microsoft Corporation\n Registrant Street: One Microsoft Way, \n Registrant City: Redmond\n Registrant State/Province: WA\n Registrant Postal Code: 98052\n Registrant Country: US\n Registrant Phone: +1.4258828080\n Registrant Phone Ext: \n Registrant Fax: +1.4259367329\n Registrant Fax Ext: \n Registrant Email: admin@domains.microsoft\n Tech Name: MSN Hostmaster\n Tech Phone: +1.4258828080\n Tech Email: msnhst@microsoft.com\n Name Server: ns1-39.azure-dns.com\n Name Server: ns3-39.azure-dns.org\n Name Server: ns2-39.azure-dns.net\n Name Server: ns4-39.azure-dns.info\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T09:28:02+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/microsoft.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n ----\n registry_data:\n domain_name: MICROSOFT.COM\n query_time: '2026-07-23 09:28:54'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: MICROSOFT.COM\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57Z\n Creation Date: 1991-05-02T04:00:00Z\n Registry Expiry Date: 2027-05-03T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1-39.AZURE-DNS.COM\n Name Server: NS2-39.AZURE-DNS.NET\n Name Server: NS3-39.AZURE-DNS.ORG\n Name Server: NS4-39.AZURE-DNS.INFO\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T09:28:38Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or malformed request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingBody:\n summary: Missing domainNames array\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-07-23T09:28:56.641Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2014 Request exceeds the 100-domain batch limit\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n payloadTooLarge:\n summary: More than 100 domain names submitted\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v2.0/domain/whois/live\n status: 413\n timestamp: '2026-07-23T09:28:57.228Z'\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 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 BulkWhoisLookupRequest:\n type: object\n description: Request body for bulk domain WHOIS lookup.\n required:\n - domainNames\n properties:\n domainNames:\n type: array\n description: List of domain names to retrieve WHOIS data for.\n maxItems: 100\n items:\n type: string\n BulkWhoisLookupResponse:\n type: object\n description: Wrapper object containing one WHOIS result or error per requested domain, in request order.\n required:\n - bulk_whois_response\n properties:\n bulk_whois_response:\n type: array\n description: Array of per-domain results, one entry per requested domain. Each entry is either a full WHOIS result or, if that domain could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/DomainWhoisLookupResponse'\n - $ref: '#/components/schemas/BulkWhoisLookupItemError'\n BulkWhoisLookupItemError:\n type: object\n description: Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported or its lookup otherwise fails.\n required:\n - status\n - domain_name\n - status_code\n - message\n properties:\n status:\n type: boolean\n enum:\n - false\n description: Always false for a per-item error.\n domain_name:\n type: string\n description: Domain name that this error applies to.\n status_code:\n type: integer\n description: HTTP-equivalent status code for this item's failure (e.g. 403 for an unsupported extension).\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable reason this domain could not be resolved.\n DomainWhoisLookupResponse:\n type: object\n description: Current WHOIS registration record for one successfully resolved domain.\n required:\n - status\n - domain_name\n - query_time\n - whois_server\n - domain_registered\n properties:\n status:\n type: boolean\n description: true if this item was successfully processed.\n domain_name:\n type: string\n description: Domain name that was queried.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed.\n whois_server:\n type: string\n description: WHOIS or RDAP server that provided this record.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status; 'restricted' means the registry withholds registration details.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, when the domain is registered.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, when the domain is registered.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration is set to expire, when the domain is registered.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details.\n name_servers:\n type: array\n description: Name servers currently recorded for the domain.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes currently recorded for the domain.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text as returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record for a domain, as published by either the registrar or the registry.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n status:\n type:\n - string\n - 'null'\n description: Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n normalized_name:\n type:\n - string\n - 'null'\n description: Lowercased, normalized form of the registrar name, when published at the registrar level.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n description: RDAP server URL operated by the registrar, when published at the registrar level.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n format: date-time\n description: Timestamp when the registry-level record was queried.\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
57485
- "domain-whois-history-lookup": "openapi: 3.1.1\ninfo:\n title: 'WHOIS History API: Historical WHOIS Records Since 1986'\n version: 1.0.0\n description: Retrieve the full chronological history of WHOIS registration records for a domain name, going back to 1986 where available. Each record in the returned array is a snapshot capturing the registrar, registrant/admin/technical/billing contacts, name servers, domain status codes, and both the original and registry-level raw WHOIS text as they existed at that point in time. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Early historical snapshots may include only a subset of fields (e.g. dates without registrar or name server data) since registries did not always publish complete records; a domain with no historical WHOIS data returns a `404` error.\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: WHOIS History API Server\npaths:\n /domain/whois/history:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve the complete historical WHOIS record timeline for a domain name\n description: Returns every recorded WHOIS snapshot for the specified domain in chronological order, including registrar, contact, name server, and status changes over time.\n operationId: whoisHistoryLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve historical WHOIS records for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful historical WHOIS response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisHistoryLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n whois: historical\n total_records: '18'\n whois_domains_historical:\n - num: 1\n status: true\n domain_name: example.com\n query_time: '2022-04-28 12:56:13'\n create_date: '1992-01-01'\n update_date: '2021-08-14'\n expiry_date: '2022-08-13'\n - num: 18\n status: true\n domain_name: example.com\n query_time: '2026-07-23 07:47:26'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1992-01-01'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n whois_raw_domain: |-\n\n % IANA WHOIS server\n % for more information on IANA, visit http://www.iana.org\n % This query returned 1 object\n\n domain: EXAMPLE.COM\n\n organisation: Internet Assigned Numbers Authority\n\n created: 1992-01-01\n source: IANA\n registry_data:\n domain_name: EXAMPLE.COM\n query_time: '2026-07-23 07:47:25'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1995-08-14'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n domain_registrar:\n iana_id: '376'\n registrar_name: RESERVED-Internet Assigned Numbers Authority\n whois_server: whois.iana.org\n website_url: http://res-dom.iana.org\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n whois_raw_registery: |-\n\n Domain Name: EXAMPLE.COM\n Registry Domain ID: 2336799_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.iana.org\n Registrar URL: http://res-dom.iana.org\n Updated Date: 2026-01-16T18:26:50Z\n Creation Date: 1995-08-14T04:00:00Z\n Registry Expiry Date: 2026-08-13T04:00:00Z\n Registrar: RESERVED-Internet Assigned Numbers Authority\n Registrar IANA ID: 376\n Registrar Abuse Contact Email:\n Registrar Abuse Contact Phone:\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Name Server: ELLIOTT.NS.CLOUDFLARE.COM\n Name Server: HERA.NS.CLOUDFLARE.COM\n DNSSEC: signedDelegation\n DNSSEC DS Data: 2371 13 2 C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:16:23Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid domainName parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T07:47:39.105Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]'\n path: /v1.0/whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No historical WHOIS records for the domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n recordNotFound:\n summary: No historical records available\n value:\n timestamp: '2026-07-23T07:47:40.893Z'\n status: 404\n error: Record Not Found\n message: Record not found\n path: /v1.0/whois\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 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 DomainWhoisHistoryLookupResponse:\n type: object\n description: Chronological collection of historical WHOIS snapshots for the requested domain.\n required:\n - status\n - whois\n - total_records\n - whois_domains_historical\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n whois:\n type: string\n enum:\n - historical\n description: Indicates that this response contains historical WHOIS data.\n total_records:\n type: string\n description: Total number of historical records found for the queried domain.\n whois_domains_historical:\n type: array\n description: Historical WHOIS snapshots for the domain, in chronological order.\n items:\n $ref: '#/components/schemas/DomainWhoisHistoryRecord'\n DomainWhoisHistoryRecord:\n type: object\n description: A single historical WHOIS snapshot captured at a point in time. Early snapshots may omit fields the registry did not publish at that time.\n required:\n - num\n - status\n - domain_name\n - query_time\n - create_date\n - update_date\n - expiry_date\n properties:\n num:\n type: integer\n description: 1-based sequence number of this record within the historical timeline.\n status:\n type: boolean\n enum:\n - true\n description: Always true for a returned historical record.\n domain_name:\n type: string\n description: Domain name this snapshot was recorded for.\n query_time:\n type: string\n description: Timestamp when this historical snapshot was captured.\n whois_server:\n type: string\n description: WHOIS server that provided this snapshot's domain-level data, when recorded.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status at the time of this snapshot, when recorded.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, as known at the time of this snapshot.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, as of this snapshot.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration was set to expire, as of this snapshot.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain as of this snapshot.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller, as published in this snapshot.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details as published in this snapshot.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details as published in this snapshot.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details as published in this snapshot.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details as published in this snapshot.\n name_servers:\n type: array\n description: Name servers recorded for the domain as of this snapshot.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes recorded as of this snapshot.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text for the domain as of this snapshot.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisHistoryRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record at the time of the snapshot.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) as published in this snapshot.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisHistoryRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data for this snapshot, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n format: date-time\n description: Timestamp when the registry-level record was queried.\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
56795
+ "asn-lookup": "openapi: 3.1.1\ninfo:\n title: ASN Lookup API - WHOIS Records, CIDR Blocks & BGP Peer Data\n version: 1.0.0\n description: Retrieve complete WHOIS registration data for an Autonomous System Number (ASN), covering the operating organization, every advertised IPv4 and IPv6 route object, and both a structured JSON breakdown and the raw WHOIS text returned by the authoritative Regional Internet Registry. The response also includes the ASN's upstream providers, downstream customers, and BGP peer relationships when the registry publishes them, plus direct technical and abuse contact details. Pass the `asn` parameter with or without the `AS` prefix (e.g. `15169` or `AS15169`). An unallocated or unrecognized ASN returns a `404` error instead of an empty result, and a non-numeric or malformed `asn` value returns a `400` error.\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: ASN Lookup API Server\npaths:\n /asn/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve WHOIS registration data, CIDR block inventory, and BGP peer relationships for an Autonomous System Number\n description: Returns the WHOIS record for the specified ASN, including organization details, IPv4/IPv6 route objects, upstream/downstream/peer relationships, and both parsed and raw WHOIS text. Accepts the ASN with or without the 'AS' prefix.\n operationId: asnLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: asn\n in: query\n required: true\n description: Autonomous System Number to retrieve WHOIS data for, with or without the 'AS' prefix (e.g. 15169 or AS15169).\n schema:\n type: string\n responses:\n '200':\n description: Successful ASN WHOIS response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ASNLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n asNumber: '15'\n asName: NET-DYNAMICS-EXP\n orgName: DYNAMICS\n description: ''\n orgHandle: dynami-109\n country: US\n domain: nisc.sri.com\n website: ''\n allocationStatus: ''\n numOfIPv4Routes: '0'\n numOfIPv6Routes: '0'\n whoisHost: ARIN\n dateAllocated: ''\n type: ISP\n routeObjects: []\n whoisResponse: |\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n\n\n ASNumber: 15\n ASName: NET-DYNAMICS-EXP\n ASHandle: AS15\n RegDate: \n Updated: 1991-06-27\n Ref: https://rdap.arin.net/registry/autnum/15\n\n\n OrgName: DYNAMICS\n OrgId: DYNAMI-109\n City: \n StateProv: \n PostalCode: \n Country: US\n RegDate: \n Updated: 2012-10-10\n Ref: https://rdap.arin.net/registry/entity/DYNAMI-109\n\n\n OrgTechHandle: ZSU-ARIN\n OrgTechName: Su, Zaw-Sing \n OrgTechPhone: +1-415-859-4576 \n OrgTechEmail: zsu@nisc.sri.com\n OrgTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n OrgAbuseHandle: ZSU-ARIN\n OrgAbuseName: Su, Zaw-Sing \n OrgAbusePhone: +1-415-859-4576 \n OrgAbuseEmail: zsu@nisc.sri.com\n OrgAbuseRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n RTechHandle: ZSU-ARIN\n RTechName: Su, Zaw-Sing \n RTechPhone: +1-415-859-4576 \n RTechEmail: zsu@nisc.sri.com\n RTechRef: https://rdap.arin.net/registry/entity/ZSU-ARIN\n\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n downstreams: []\n parsedWhoisResponse:\n status: true\n whois_server: whois.arin.net\n aut_nums:\n - aut_num: '15'\n as_handle: AS15\n as_name: NET-DYNAMICS-EXP\n tech_contacts:\n - ZSU-ARIN\n - ZSU-ARIN\n abuse_contacts:\n - ZSU-ARIN\n date_updated: '1991-06-27'\n source: https://rdap.arin.net/registry/autnum/15\n organization:\n handle: DYNAMI-109\n name: DYNAMICS\n address:\n - US\n country:\n - US\n date_updated: '2012-10-10'\n source: https://rdap.arin.net/registry/entity/DYNAMI-109\n addressCountry: US\n technical_contacts:\n - handle: ZSU-ARIN\n name: Su, Zaw-Sing\n email:\n - zsu@nisc.sri.com\n phone:\n - +1-415-859-4576\n source: https://rdap.arin.net/registry/entity/ZSU-ARIN\n abuse_contacts:\n - handle: ZSU-ARIN\n name: Su, Zaw-Sing\n email:\n - zsu@nisc.sri.com\n phone:\n - +1-415-859-4576\n source: https://rdap.arin.net/registry/entity/ZSU-ARIN\n upstreams: []\n peers: []\n contacts:\n emailContacts:\n - zsu@nisc.sri.com\n abuseContacts: []\n legacyRoutes: []\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid asn parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidAsn:\n summary: Non-numeric asn value\n value:\n timestamp: '2026-07-23T07:47:06.640Z'\n status: 400\n error: Input parameter is not valid\n message: Request-param 'asn' (ABC123) is not valid\n path: /v2.0/asn-whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 ASN could not be found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n asnNotFound:\n summary: ASN not allocated or unrecognized\n value:\n timestamp: '2026-07-23T07:47:45.427Z'\n status: 404\n error: Data Not Found\n message: ASN data for 999999999 could not be found.\n path: /v2.0/asn-whois\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 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 ASNLookupResponse:\n type: object\n description: WHOIS registration record for the requested Autonomous System Number.\n required:\n - asNumber\n - asName\n - orgName\n - orgHandle\n - country\n - allocationStatus\n - numOfIPv4Routes\n - numOfIPv6Routes\n - whoisHost\n - type\n - routeObjects\n - whoisResponse\n - downstreams\n - parsedWhoisResponse\n - upstreams\n - peers\n - contacts\n - legacyRoutes\n properties:\n asNumber:\n type: string\n description: The Autonomous System Number, without the 'AS' prefix.\n asName:\n type: string\n description: Registered short name for the Autonomous System.\n orgName:\n type: string\n description: Name of the organization the ASN is registered to.\n description:\n type: string\n description: Free-text description associated with the organization, when published.\n orgHandle:\n type: string\n description: Registry handle identifying the organization record.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the registered organization.\n domain:\n type: string\n description: Domain name associated with the organization, when published.\n website:\n type: string\n description: Organization website URL, when published.\n allocationStatus:\n type: string\n description: Allocation status of the ASN as published by the registry.\n numOfIPv4Routes:\n type: string\n description: Count of IPv4 route objects currently advertised by this ASN.\n numOfIPv6Routes:\n type: string\n description: Count of IPv6 route objects currently advertised by this ASN.\n whoisHost:\n type: string\n description: Regional Internet Registry (RIR) that hosts the authoritative WHOIS record (e.g. ARIN, RIPE, APNIC).\n dateAllocated:\n type: string\n description: Date the ASN was allocated, in YYYY-MM-DD format; empty if not published.\n type:\n type: string\n description: ASN category (e.g. ISP, BUSINESS, HOSTING, EDUCATION).\n routeObjects:\n type: array\n description: IPv4 and IPv6 route objects (CIDR blocks) currently advertised by this ASN.\n items:\n $ref: '#/components/schemas/RouteObject'\n whoisResponse:\n type: string\n description: Raw WHOIS text response returned by the authoritative registry for this ASN.\n downstreams:\n type: array\n description: Downstream customer ASNs that receive routes from this ASN, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n parsedWhoisResponse:\n $ref: '#/components/schemas/ParsedWhoisResponse'\n upstreams:\n type: array\n description: Upstream provider ASNs that this ASN receives transit from, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n peers:\n type: array\n description: BGP peer ASNs with a settlement-free peering relationship to this ASN, when published.\n items:\n $ref: '#/components/schemas/AsnRelation'\n contacts:\n $ref: '#/components/schemas/Contacts'\n legacyRoutes:\n type: array\n description: Legacy (pre-RIR) route objects associated with this ASN, in CIDR notation.\n items:\n type: string\n RouteObject:\n type: object\n description: A single IPv4 or IPv6 route object (CIDR block) advertised by the ASN.\n required:\n - route\n - origin\n - originName\n - isp\n - numberOfIps\n properties:\n route:\n type: string\n description: Route prefix in CIDR notation.\n origin:\n type: string\n description: Originating ASN for this route, in AS<number> format.\n originName:\n type: string\n description: Organization name for the originating ASN.\n isp:\n type: string\n description: ISP or organization name associated with this route.\n numberOfIps:\n type: integer\n description: Total number of IP addresses contained in this route's prefix.\n AsnRelation:\n type: object\n description: A related Autonomous System (upstream provider, downstream customer, or BGP peer).\n required:\n - asNumber\n properties:\n asNumber:\n type: string\n description: ASN of the related Autonomous System, without the 'AS' prefix.\n description:\n type: string\n description: Free-text description of the related Autonomous System, when published.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the related Autonomous System, when published.\n ParsedWhoisResponse:\n type: object\n description: Structured breakdown of the raw WHOIS response into individual records and contacts.\n required:\n - status\n - whois_server\n - aut_nums\n - organization\n - technical_contacts\n - abuse_contacts\n properties:\n status:\n type: boolean\n description: true if the WHOIS response was parsed successfully.\n whois_server:\n type: string\n description: WHOIS server that returned the raw response (e.g. whois.arin.net).\n aut_nums:\n type: array\n description: Parsed autnum object(s) for the requested ASN.\n items:\n $ref: '#/components/schemas/AutNum'\n organization:\n $ref: '#/components/schemas/Organization'\n technical_contacts:\n type: array\n description: Parsed technical contact records for the ASN.\n items:\n $ref: '#/components/schemas/WhoisContact'\n abuse_contacts:\n type: array\n description: Parsed abuse contact records for the ASN.\n items:\n $ref: '#/components/schemas/WhoisContact'\n whois_raw_response:\n type: string\n description: Unparsed raw WHOIS text, when returned separately from whoisResponse.\n r_whois_raw_response:\n type: string\n description: Raw referral WHOIS (rwhois) text, when the registry delegates to a referral server.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n AutNum:\n type: object\n description: Parsed autnum (Autonomous System Number) registry object and its routing policy attributes.\n required:\n - aut_num\n - as_handle\n - as_name\n - tech_contacts\n - abuse_contacts\n - date_updated\n - source\n properties:\n aut_num:\n type: string\n description: ASN identifier as recorded on the autnum object.\n as_handle:\n type: string\n description: Registry handle for the autnum object (e.g. AS15).\n as_name:\n type: string\n description: Registered name for the autnum object.\n description:\n type: array\n description: Free-text description lines attached to the autnum object.\n items:\n type: string\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code recorded on the autnum object.\n status:\n type: string\n description: Autnum object status as recorded by the registry.\n member_of:\n type: array\n description: Route-set or as-set objects this ASN is a member of.\n items:\n type: string\n import_via:\n type: array\n description: BGP import-via routing policy statements.\n items:\n type: string\n import:\n type: array\n description: BGP import routing policy statements.\n items:\n type: string\n mp_import:\n type: array\n description: Multiprotocol BGP import routing policy statements (mp-import).\n items:\n type: string\n export_via:\n type: array\n description: BGP export-via routing policy statements.\n items:\n type: string\n export:\n type: array\n description: BGP export routing policy statements.\n items:\n type: string\n mp_export:\n type: array\n description: Multiprotocol BGP export routing policy statements (mp-export).\n items:\n type: string\n default:\n type: array\n description: BGP default routing policy statements.\n items:\n type: string\n mp_default:\n type: array\n description: Multiprotocol BGP default routing policy statements (mp-default).\n items:\n type: string\n organization:\n type: string\n description: Registry handle of the organization that holds the autnum object.\n sponsoring_organization:\n type: string\n description: Registry handle of the sponsoring organization, when applicable.\n admin_contacts:\n type: array\n description: Registry handles of administrative contacts for the autnum object.\n items:\n type: string\n tech_contacts:\n type: array\n description: Registry handles of technical contacts for the autnum object.\n items:\n type: string\n abuse_contacts:\n type: array\n description: Registry handles of abuse contacts for the autnum object.\n items:\n type: string\n date_created:\n type: string\n format: date\n description: Date the autnum object was first registered.\n date_updated:\n type: string\n format: date\n description: Date the autnum object was last updated.\n source:\n type: string\n description: URL of the registry record this autnum object was parsed from.\n Organization:\n type: object\n description: Parsed organization (org) registry object that holds the ASN.\n properties:\n handle:\n type: string\n description: Registry handle for the organization object.\n name:\n type: string\n description: Registered name of the organization.\n address:\n type: array\n description: Address lines for the organization, as published by the registry.\n items:\n type: string\n street:\n type: string\n description: Street address of the organization, when published separately.\n city:\n type: string\n description: City of the organization, when published separately.\n state:\n type: string\n description: State or province of the organization, when published separately.\n zip_code:\n type: string\n description: Postal/ZIP code of the organization, when published separately.\n country:\n type: array\n description: Country line(s) of the organization address, as published by the registry.\n items:\n type: string\n addressCountry:\n type: string\n description: ISO 3166-1 alpha-2 country code derived from the organization's address.\n date_created:\n type: string\n format: date\n description: Date the organization object was first registered.\n date_updated:\n type: string\n format: date\n description: Date the organization object was last updated.\n source:\n type: string\n description: URL of the registry record this organization object was parsed from.\n WhoisContact:\n type: object\n description: A parsed technical or abuse contact record from the registry.\n required:\n - handle\n - name\n - email\n properties:\n handle:\n type: string\n description: Registry handle for the contact.\n name:\n type: string\n description: Contact's registered name.\n email:\n type: array\n description: Contact email address(es).\n items:\n type: string\n phone:\n type: array\n description: Contact phone number(s).\n items:\n type: string\n source:\n type: string\n description: URL of the registry record this contact was parsed from.\n Contacts:\n type: object\n description: Direct contact addresses collected from the ASN's WHOIS record.\n required:\n - emailContacts\n - abuseContacts\n properties:\n emailContacts:\n type: array\n description: General contact email addresses for the ASN.\n items:\n type: string\n abuseContacts:\n type: array\n description: Abuse-reporting contact email addresses for the ASN.\n items:\n type: string\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",
56796
+ "bulk-whois-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk WHOIS Lookup API - Accurate and Efficient Mass Domain Queries\n version: 1.0.0\n description: 'Retrieve the same real-time WHOIS registration and ownership data as the single-domain WHOIS Lookup API for up to 100 domain names in one request. The response is an object containing a `bulk_whois_response` array in request order; each entry is either a full WHOIS result (registrar, contacts, name servers, status codes, raw WHOIS text) or, if that specific domain''s extension is unsupported or the lookup otherwise fails, an error object with `status: false` --- a bad domain in the batch does not fail the whole request. When the batch contains at least one such error alongside successful results, the endpoint returns `206 Partial Content` instead of `200`. Submitting more than 100 domain names returns a `413` error.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Bulk Domain WHOIS Lookup API Server\npaths:\n /domain/whois/live:\n post:\n tags:\n - WHOIS APIs\n summary: Retrieve real-time WHOIS registration and ownership data for up to 100 domain names in a single request\n description: Returns the current WHOIS record for each requested domain, in request order. Supports up to 100 domain names per request; a domain that fails to resolve yields an error item instead of failing the whole batch.\n operationId: bulkWhoisLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n domainNames:\n - microsoft.com\n - example.xn--tckwe\n responses:\n '200':\n description: WHOIS data retrieved successfully for every requested domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupResponse'\n examples:\n typicalSuccess:\n summary: All domains resolved\n value:\n bulk_whois_response:\n - status: true\n domain_name: example.xn--tckwe\n query_time: '2026-07-23 09:28:42'\n whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/\n domain_registered: 'no'\n - status: true\n domain_name: microsoft.com\n query_time: '2026-07-23 09:28:43'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n name: Domain Administrator\n company: Microsoft Corporation\n street: One Microsoft Way,\n city: Redmond\n state: WA\n zip_code: '98052'\n country_name: United States\n country_code: US\n email_address: admin@domains.microsoft\n phone: '+14258828080'\n fax: '+14259367329'\n technical_contact:\n name: MSN Hostmaster\n country_name: United States\n country_code: US\n email_address: msnhst@microsoft.com\n phone: '+14258828080'\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: microsoft.com\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57+0000\n Creation Date: 1991-05-02T04:00:00+0000\n Registrar Registration Expiration Date: 2027-05-03T00:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Name: Domain Administrator\n Registrant Organization: Microsoft Corporation\n Registrant Street: One Microsoft Way, \n Registrant City: Redmond\n Registrant State/Province: WA\n Registrant Postal Code: 98052\n Registrant Country: US\n Registrant Phone: +1.4258828080\n Registrant Phone Ext: \n Registrant Fax: +1.4259367329\n Registrant Fax Ext: \n Registrant Email: admin@domains.microsoft\n Tech Name: MSN Hostmaster\n Tech Phone: +1.4258828080\n Tech Email: msnhst@microsoft.com\n Name Server: ns1-39.azure-dns.com\n Name Server: ns3-39.azure-dns.org\n Name Server: ns2-39.azure-dns.net\n Name Server: ns4-39.azure-dns.info\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T09:28:02+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/microsoft.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n ----\n registry_data:\n domain_name: MICROSOFT.COM\n query_time: '2026-07-23 09:28:42'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: MICROSOFT.COM\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57Z\n Creation Date: 1991-05-02T04:00:00Z\n Registry Expiry Date: 2027-05-03T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1-39.AZURE-DNS.COM\n Name Server: NS2-39.AZURE-DNS.NET\n Name Server: NS3-39.AZURE-DNS.ORG\n Name Server: NS4-39.AZURE-DNS.INFO\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T09:28:23Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 At least one domain in the batch returned an error; other domains in the same batch still resolved successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkWhoisLookupResponse'\n examples:\n partialFailure:\n summary: One domain unsupported, one resolved\n value:\n bulk_whois_response:\n - status: false\n domain_name: zzzz.local\n status_code: 403\n error: NotSupportedDomainExtException\n message: We are not providing the whois of this domain extension (local)\n - status: true\n domain_name: microsoft.com\n query_time: '2026-07-23 09:28:55'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n name: Domain Administrator\n company: Microsoft Corporation\n street: One Microsoft Way,\n city: Redmond\n state: WA\n zip_code: '98052'\n country_name: United States\n country_code: US\n email_address: admin@domains.microsoft\n phone: '+14258828080'\n fax: '+14259367329'\n technical_contact:\n name: MSN Hostmaster\n country_name: United States\n country_code: US\n email_address: msnhst@microsoft.com\n phone: '+14258828080'\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: microsoft.com\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57+0000\n Creation Date: 1991-05-02T04:00:00+0000\n Registrar Registration Expiration Date: 2027-05-03T00:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Name: Domain Administrator\n Registrant Organization: Microsoft Corporation\n Registrant Street: One Microsoft Way, \n Registrant City: Redmond\n Registrant State/Province: WA\n Registrant Postal Code: 98052\n Registrant Country: US\n Registrant Phone: +1.4258828080\n Registrant Phone Ext: \n Registrant Fax: +1.4259367329\n Registrant Fax Ext: \n Registrant Email: admin@domains.microsoft\n Tech Name: MSN Hostmaster\n Tech Phone: +1.4258828080\n Tech Email: msnhst@microsoft.com\n Name Server: ns1-39.azure-dns.com\n Name Server: ns3-39.azure-dns.org\n Name Server: ns2-39.azure-dns.net\n Name Server: ns4-39.azure-dns.info\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T09:28:02+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/microsoft.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n ----\n registry_data:\n domain_name: MICROSOFT.COM\n query_time: '2026-07-23 09:28:54'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1991-05-02'\n update_date: '2026-01-29'\n expiry_date: '2027-05-03'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns4-39.azure-dns.info\n - ns3-39.azure-dns.org\n - ns1-39.azure-dns.com\n - ns2-39.azure-dns.net\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: MICROSOFT.COM\n Registry Domain ID: 2724960_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2026-01-29T18:46:57Z\n Creation Date: 1991-05-02T04:00:00Z\n Registry Expiry Date: 2027-05-03T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1-39.AZURE-DNS.COM\n Name Server: NS2-39.AZURE-DNS.NET\n Name Server: NS3-39.AZURE-DNS.ORG\n Name Server: NS4-39.AZURE-DNS.INFO\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T09:28:38Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or malformed request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingBody:\n summary: Missing domainNames array\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-07-23T09:28:56.641Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2014 Request exceeds the 100-domain batch limit\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n payloadTooLarge:\n summary: More than 100 domain names submitted\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v2.0/domain/whois/live\n status: 413\n timestamp: '2026-07-23T09:28:57.228Z'\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 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 BulkWhoisLookupRequest:\n type: object\n description: Request body for bulk domain WHOIS lookup.\n required:\n - domainNames\n properties:\n domainNames:\n type: array\n description: List of domain names to retrieve WHOIS data for.\n maxItems: 100\n items:\n type: string\n BulkWhoisLookupResponse:\n type: object\n description: Wrapper object containing one WHOIS result or error per requested domain, in request order.\n required:\n - bulk_whois_response\n properties:\n bulk_whois_response:\n type: array\n description: Array of per-domain results, one entry per requested domain. Each entry is either a full WHOIS result or, if that domain could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/DomainWhoisLookupResponse'\n - $ref: '#/components/schemas/BulkWhoisLookupItemError'\n BulkWhoisLookupItemError:\n type: object\n description: Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported or its lookup otherwise fails.\n required:\n - status\n - domain_name\n - status_code\n - message\n properties:\n status:\n type: boolean\n enum:\n - false\n description: Always false for a per-item error.\n domain_name:\n type: string\n description: Domain name that this error applies to.\n status_code:\n type: integer\n description: HTTP-equivalent status code for this item's failure (e.g. 403 for an unsupported extension).\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable reason this domain could not be resolved.\n DomainWhoisLookupResponse:\n type: object\n description: Current WHOIS registration record for one successfully resolved domain.\n required:\n - status\n - domain_name\n - query_time\n - whois_server\n - domain_registered\n properties:\n status:\n type: boolean\n description: true if this item was successfully processed.\n domain_name:\n type: string\n description: Domain name that was queried.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed.\n whois_server:\n type: string\n description: WHOIS or RDAP server that provided this record.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status; 'restricted' means the registry withholds registration details.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, when the domain is registered.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, when the domain is registered.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration is set to expire, when the domain is registered.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details.\n name_servers:\n type: array\n description: Name servers currently recorded for the domain.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes currently recorded for the domain.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text as returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record for a domain, as published by either the registrar or the registry.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n status:\n type:\n - string\n - 'null'\n description: Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n normalized_name:\n type:\n - string\n - 'null'\n description: Lowercased, normalized form of the registrar name, when published at the registrar level.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n description: RDAP server URL operated by the registrar, when published at the registrar level.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n description: Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
56797
+ "domain-whois-history-lookup": "openapi: 3.1.1\ninfo:\n title: 'WHOIS History API: Historical WHOIS Records Since 1986'\n version: 1.0.0\n description: Retrieve the full chronological history of WHOIS registration records for a domain name, going back to 1986 where available. Each record in the returned array is a snapshot capturing the registrar, registrant/admin/technical/billing contacts, name servers, domain status codes, and both the original and registry-level raw WHOIS text as they existed at that point in time. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Early historical snapshots may include only a subset of fields (e.g. dates without registrar or name server data) since registries did not always publish complete records; a domain with no historical WHOIS data returns a `404` error.\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: WHOIS History API Server\npaths:\n /domain/whois/history:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve the complete historical WHOIS record timeline for a domain name\n description: Returns every recorded WHOIS snapshot for the specified domain in chronological order, including registrar, contact, name server, and status changes over time.\n operationId: whoisHistoryLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve historical WHOIS records for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful historical WHOIS response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisHistoryLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n whois: historical\n total_records: '18'\n whois_domains_historical:\n - num: 1\n status: true\n domain_name: example.com\n query_time: '2022-04-28 12:56:13'\n create_date: '1992-01-01'\n update_date: '2021-08-14'\n expiry_date: '2022-08-13'\n - num: 18\n status: true\n domain_name: example.com\n query_time: '2026-07-23 07:47:26'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1992-01-01'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n whois_raw_domain: |-\n\n % IANA WHOIS server\n % for more information on IANA, visit http://www.iana.org\n % This query returned 1 object\n\n domain: EXAMPLE.COM\n\n organisation: Internet Assigned Numbers Authority\n\n created: 1992-01-01\n source: IANA\n registry_data:\n domain_name: EXAMPLE.COM\n query_time: '2026-07-23 07:47:25'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1995-08-14'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n domain_registrar:\n iana_id: '376'\n registrar_name: RESERVED-Internet Assigned Numbers Authority\n whois_server: whois.iana.org\n website_url: http://res-dom.iana.org\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n whois_raw_registery: |-\n\n Domain Name: EXAMPLE.COM\n Registry Domain ID: 2336799_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.iana.org\n Registrar URL: http://res-dom.iana.org\n Updated Date: 2026-01-16T18:26:50Z\n Creation Date: 1995-08-14T04:00:00Z\n Registry Expiry Date: 2026-08-13T04:00:00Z\n Registrar: RESERVED-Internet Assigned Numbers Authority\n Registrar IANA ID: 376\n Registrar Abuse Contact Email:\n Registrar Abuse Contact Phone:\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Name Server: ELLIOTT.NS.CLOUDFLARE.COM\n Name Server: HERA.NS.CLOUDFLARE.COM\n DNSSEC: signedDelegation\n DNSSEC DS Data: 2371 13 2 C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:16:23Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid domainName parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T07:47:39.105Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]'\n path: /v1.0/whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No historical WHOIS records for the domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n recordNotFound:\n summary: No historical records available\n value:\n timestamp: '2026-07-23T07:47:40.893Z'\n status: 404\n error: Record Not Found\n message: Record not found\n path: /v1.0/whois\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 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 DomainWhoisHistoryLookupResponse:\n type: object\n description: Chronological collection of historical WHOIS snapshots for the requested domain.\n required:\n - status\n - whois\n - total_records\n - whois_domains_historical\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n whois:\n type: string\n enum:\n - historical\n description: Indicates that this response contains historical WHOIS data.\n total_records:\n type: string\n description: Total number of historical records found for the queried domain.\n whois_domains_historical:\n type: array\n description: Historical WHOIS snapshots for the domain, in chronological order.\n items:\n $ref: '#/components/schemas/DomainWhoisHistoryRecord'\n DomainWhoisHistoryRecord:\n type: object\n description: A single historical WHOIS snapshot captured at a point in time. Early snapshots may omit fields the registry did not publish at that time.\n required:\n - num\n - status\n - domain_name\n - query_time\n - create_date\n - update_date\n - expiry_date\n properties:\n num:\n type: integer\n description: 1-based sequence number of this record within the historical timeline.\n status:\n type: boolean\n enum:\n - true\n description: Always true for a returned historical record.\n domain_name:\n type: string\n description: Domain name this snapshot was recorded for.\n query_time:\n type: string\n description: Timestamp when this historical snapshot was captured.\n whois_server:\n type: string\n description: WHOIS server that provided this snapshot's domain-level data, when recorded.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status at the time of this snapshot, when recorded.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, as known at the time of this snapshot.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, as of this snapshot.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration was set to expire, as of this snapshot.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain as of this snapshot.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller, as published in this snapshot.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details as published in this snapshot.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details as published in this snapshot.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details as published in this snapshot.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details as published in this snapshot.\n name_servers:\n type: array\n description: Name servers recorded for the domain as of this snapshot.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes recorded as of this snapshot.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text for the domain as of this snapshot.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisHistoryRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record at the time of the snapshot.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) as published in this snapshot.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisHistoryRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data for this snapshot, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n description: Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
57486
56798
  "reverse-whois": "openapi: 3.1.1\ninfo:\n title: Reverse WHOIS API - Search Domains by Owner Name, Email, Company, or Keyword\n version: 1.0.0\n description: Search all domain names registered under a particular owner, email, company name, or keyword using reverse WHOIS lookup. Returns matching domains with full registration details (default mode) or a condensed summary (mini mode). Supports exact-match filtering and paginated results (50 per page in default mode, 100 in mini mode). At least one search parameter (keyword, email, owner, or company) is required. A 404 is returned when no domains match the search criteria.\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: Reverse WHOIS API Server\npaths:\n /domain/whois/reverse:\n get:\n tags:\n - WHOIS APIs\n summary: Search domains by owner name, email, company, or keyword\n description: Performs a reverse WHOIS search returning matching domains with registration details. Use mode=default for full WHOIS data or mode=mini for a condensed summary. When mode=default, each item in whois_domains_historical matches the ReverseWhoisDomainDefault schema (full registrar, contacts, name servers, status, and registry data). When mode=mini, each item matches the ReverseWhoisDomainMini schema (domain name, create/update/expiry dates, owner name, email, and company only).\n operationId: reverseWhoisLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: keyword\n in: query\n required: false\n description: Keyword to search for in domain names (case-insensitive pattern matching).\n schema:\n type: string\n - name: email\n in: query\n required: false\n description: Email address to search for in registrant records (case-insensitive exact or regex match; * wildcard supported).\n schema:\n type: string\n - name: owner\n in: query\n required: false\n description: Registrant or owner name to search for (full-text phrase matching).\n schema:\n type: string\n - name: company\n in: query\n required: false\n description: Organization or company name to search for (full-text phrase matching).\n schema:\n type: string\n - name: exact\n in: query\n required: false\n description: Set to true to return only exact matches for keyword, owner, or company. Default is false.\n schema:\n type: boolean\n default: false\n - name: mode\n in: query\n required: false\n description: Response detail level. 'default' returns full WHOIS data per domain; 'mini' returns only key fields.\n schema:\n type: string\n enum:\n - default\n - mini\n default: default\n - name: page\n in: query\n required: false\n description: Page number for paginated results.\n schema:\n type: integer\n default: 1\n responses:\n '200':\n description: Successful reverse WHOIS search response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ReverseWhoisResponse'\n examples:\n defaultMode:\n summary: Default mode (full WHOIS data)\n value:\n total_Result: 8\n total_Pages: 1\n current_Page: 1\n whois_domains_historical:\n - num: 1\n status: true\n domain_name: ipgeolocationdatabase.com\n query_time: '2026-05-21 04:00:28'\n create_date: '2010-04-14'\n update_date: '2026-05-19'\n expiry_date: '2027-04-14'\n domain_registrar:\n iana_id: '269'\n registrar_name: Key-Systems GmbH\n whois_server: whois.rrpproxy.net\n website_url: http://www.key-systems.net\n email_address: abuse@key-systems.net\n phone_number: '+4968949396850'\n registrant_contact:\n id: Not Available From Registry\n name: On behalf of ipgeolocationdatabase.com OWNER\n company: c/o whoisproxy.com\n city: Alexandria\n state: VA\n zip_code: '22314'\n country_name: United States\n country_code: US\n email_address: 720ed14de67db24c4eb07295ecae369f9f1bfe8a4dd5cd0c51f0e4754ee24895@ipgeolocationdatabase.com.whoisproxy.org\n phone: '+6448319528'\n name_servers:\n - dale.ns.cloudflare.com\n - olga.ns.cloudflare.com\n domain_status:\n - clienttransferprohibited\n whois_raw_domain: |-\n Domain Name: ipgeolocationdatabase.com\n Registry Domain ID: ...\n Registrar WHOIS Server: whois.rrpproxy.net\n ...\n registry_data:\n domain_name: ipgeolocationdatabase.com\n domain_registrar:\n registrar_name: Key-Systems GmbH\n name_servers:\n - dale.ns.cloudflare.com\n - olga.ns.cloudflare.com\n miniMode:\n summary: Mini mode (condensed fields)\n value:\n total_Result: 8\n total_Pages: 1\n current_Page: 1\n whois_domains_historical:\n - num: 1\n domain_name: ipgeolocationdatabase.com\n create_date: '2010-04-14'\n update_date: '2026-05-19'\n expiry_date: '2027-04-14'\n name: On behalf of ipgeolocationdatabase.com OWNER\n email: 720ed14de67db24c4eb07295ecae369f9f1bfe8a4dd5cd0c51f0e4754ee24895@ipgeolocationdatabase.com.whoisproxy.org\n company_name: c/o whoisproxy.com\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Bad Request -- Missing or invalid search parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingParam:\n summary: Missing required search parameter\n value:\n timestamp: '2025-08-14T10:01:46.601Z'\n status: 400\n error: Invalid Param Exception\n message: Please pass param value.\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '404':\n description: Not Found -- No domains match the search criteria\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n recordNotFound:\n summary: No matching domains found\n value:\n timestamp: '2025-08-14T10:01:54.778Z'\n status: 404\n error: Record not found\n message: Record not found.\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\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 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 ReverseWhoisResponse:\n type: object\n description: Paginated reverse WHOIS search result containing total matches, page info, and an array of matching domain records.\n required:\n - total_Result\n - total_Pages\n - current_Page\n - whois_domains_historical\n properties:\n total_Result:\n type: integer\n description: Total number of domain records matching the search criteria.\n total_Pages:\n type: integer\n description: Total number of pages available (50 records per page in default mode, 100 in mini mode).\n current_Page:\n type: integer\n description: Current page number in the paginated result.\n whois_domains_historical:\n type: array\n description: Array of matching domain records. In default mode each entry contains full WHOIS data; in mini mode each entry contains only key fields.\n items:\n oneOf:\n - $ref: '#/components/schemas/ReverseWhoisDomainDefault'\n - $ref: '#/components/schemas/ReverseWhoisDomainMini'\n ReverseWhoisDomainDefault:\n type: object\n description: Full WHOIS record for a matching domain in default mode, including registrar, contacts, name servers, status, and registry data.\n required:\n - num\n - status\n - domain_name\n properties:\n num:\n type: integer\n description: Sequential result number.\n status:\n type: boolean\n description: Indicates whether the WHOIS request was successfully processed.\n domain_name:\n type: string\n description: The matched domain name.\n query_time:\n type:\n - string\n - 'null'\n description: Timestamp of the WHOIS query (YYYY-MM-DD HH:mm:ss).\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server that provided the domain information.\n domain_registered:\n type:\n - string\n - 'null'\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: 'Registration status: ''yes'' if registered, ''no'' if available, ''restricted'' if locked by the registry.'\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain was initially registered (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Date of the most recent update to the domain registration (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain registration expires if not renewed (YYYY-MM-DD).\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n reseller_contact:\n $ref: '#/components/schemas/WhoisContact'\n registrant_contact:\n $ref: '#/components/schemas/WhoisContact'\n administrative_contact:\n $ref: '#/components/schemas/WhoisContact'\n technical_contact:\n $ref: '#/components/schemas/WhoisContact'\n billing_contact:\n $ref: '#/components/schemas/WhoisContact'\n name_servers:\n type:\n - array\n - 'null'\n description: List of authoritative name servers for the domain.\n items:\n type: string\n domain_status:\n type:\n - array\n - 'null'\n description: List of domain status codes (EPP status codes).\n items:\n type: string\n whois_raw_domain:\n type:\n - string\n - 'null'\n description: Raw WHOIS output returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/RegistryData'\n ReverseWhoisDomainMini:\n type: object\n description: Condensed WHOIS record for a matching domain in mini mode, containing only key registration fields.\n required:\n - num\n - domain_name\n properties:\n num:\n type: integer\n description: Sequential result number.\n domain_name:\n type: string\n description: The matched domain name.\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain was initially registered (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Date of the most recent update to the domain registration (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain registration expires if not renewed (YYYY-MM-DD).\n name:\n type:\n - string\n - 'null'\n description: Registrant or owner name.\n email:\n type:\n - string\n - 'null'\n description: Registrant email address.\n company_name:\n type:\n - string\n - 'null'\n description: Registrant company or organization name.\n DomainRegistrar:\n type: object\n description: Registrar information for the domain, including IANA ID, name, WHOIS/RDAP servers, website, and contact details.\n required: []\n properties:\n iana_id:\n type:\n - string\n - 'null'\n description: IANA (Internet Assigned Numbers Authority) ID of the registrar.\n status:\n type:\n - string\n - 'null'\n description: Accreditation status of the registrar (e.g., 'accredited'), when published.\n registrar_name:\n type:\n - string\n - 'null'\n description: Name of the registrar managing the domain.\n normalized_name:\n type:\n - string\n - 'null'\n description: Normalized (lowercase, stripped) registrar name, when published.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server of the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n format: uri\n description: RDAP (Registration Data Access Protocol) server URL of the registrar, when published.\n website_url:\n type:\n - string\n - 'null'\n format: uri\n description: Website URL of the registrar.\n email_address:\n type:\n - string\n - 'null'\n description: Contact or abuse email address of the registrar.\n phone_number:\n type:\n - string\n - 'null'\n description: Contact phone number of the registrar.\n WhoisContact:\n type: object\n description: Contact information for a domain stakeholder (registrant, administrative, technical, billing, or reseller). All fields are optional and depend on the contact type and privacy settings.\n required: []\n properties:\n id:\n type:\n - string\n - 'null'\n description: Contact identifier.\n handle:\n type:\n - string\n - 'null'\n description: Registry handle for the contact, when published.\n name:\n type:\n - string\n - 'null'\n description: Name of the contact person.\n company:\n type:\n - string\n - 'null'\n description: Company or organization name.\n street:\n type:\n - string\n - 'null'\n description: Street address.\n city:\n type:\n - string\n - 'null'\n description: City.\n state:\n type:\n - string\n - 'null'\n description: State or province.\n zip_code:\n type:\n - string\n - 'null'\n description: ZIP or postal code.\n country_name:\n type:\n - string\n - 'null'\n description: Country name.\n country_code:\n type:\n - string\n - 'null'\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type:\n - string\n - 'null'\n description: Email address of the contact.\n phone:\n type:\n - string\n - 'null'\n description: Phone number of the contact.\n fax:\n type:\n - string\n - 'null'\n description: Fax number of the contact.\n mailing_address:\n type:\n - string\n - 'null'\n description: Full mailing address as a single string.\n RegistryData:\n type: object\n description: Normalized registry-level WHOIS data. Contains the same structure as the top-level response but reflects data from the registry's own WHOIS server rather than the registrar's.\n required: []\n properties:\n domain_name:\n type:\n - string\n - 'null'\n description: Domain name as recorded by the registry.\n query_time:\n type:\n - string\n - 'null'\n description: Timestamp of the registry WHOIS query (YYYY-MM-DD HH:mm:ss).\n whois_server:\n type:\n - string\n - 'null'\n description: Registry WHOIS server that provided this data.\n domain_registered:\n type:\n - string\n - 'null'\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Registration status from the registry.\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Domain creation date as recorded by the registry (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Last update date as recorded by the registry (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Domain expiry date as recorded by the registry (YYYY-MM-DD).\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n name_servers:\n type:\n - array\n - 'null'\n description: List of name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type:\n - array\n - 'null'\n description: List of domain status codes from the registry.\n items:\n type: string\n whois_raw_registery:\n type:\n - string\n - 'null'\n description: Raw WHOIS output from the registry server.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
57487
- "whois-domain-lookup": "openapi: 3.1.1\ninfo:\n title: Domain WHOIS Lookup API - Well-Structured Registration & Ownership Data\n version: 1.0.0\n description: 'Retrieve real-time WHOIS registration and ownership data for a domain name directly from its authoritative registrar and registry. Returns registrar details (name, IANA ID, WHOIS/RDAP server, accreditation status), registrant/administrative/technical/billing/reseller contact information, name servers, EPP domain status codes, and both registrar-level and registry-level raw WHOIS text. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Privacy-protected domains return redirect instructions instead of direct contact emails, and an unregistered domain returns `domain_registered: no` with most fields omitted instead of an error. Domain extensions this API does not support live WHOIS for return a `403` error, and a missing or malformed `domainName` returns a `400` error.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Domain WHOIS Lookup API Server\npaths:\n /domain/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve real-time WHOIS registration and ownership data for a domain name\n description: Returns the current WHOIS record for the specified domain, including registrar details, registrant/administrative/technical/billing/reseller contacts, name servers, status codes, and raw WHOIS text.\n operationId: lookupDomainWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve WHOIS data for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n domain_name: google.com\n query_time: '2026-07-23 08:22:19'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2024-08-02'\n expiry_date: '2028-09-13'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n company: Google LLC\n country_name: United States\n country_code: US\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n technical_contact:\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: google.com\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2024-08-02T02:17:33+0000\n Creation Date: 1997-09-15T07:00:00+0000\n Registrar Registration Expiration Date: 2028-09-13T07:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Organization: Google LLC\n Registrant Country: US\n Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Name Server: ns1.google.com\n Name Server: ns4.google.com\n Name Server: ns3.google.com\n Name Server: ns2.google.com\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T08:17:26+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/google.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n --\n registry_data:\n domain_name: GOOGLE.COM\n query_time: '2026-07-23 08:22:18'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2019-09-09'\n expiry_date: '2028-09-14'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: GOOGLE.COM\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2019-09-09T15:39:04Z\n Creation Date: 1997-09-15T04:00:00Z\n Registry Expiry Date: 2028-09-14T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1.GOOGLE.COM\n Name Server: NS2.GOOGLE.COM\n Name Server: NS3.GOOGLE.COM\n Name Server: NS4.GOOGLE.COM\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:22:08Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n unregisteredDomain:\n summary: Unregistered domain\n value:\n status: true\n domain_name: example.xn--tckwe\n query_time: '2026-07-23 08:03:00'\n whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/\n domain_registered: 'no'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 The response contains partial data because an error occurred while processing the request\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n partialContent:\n summary: Partial WHOIS data returned\n value:\n timestamp: '2025-08-14T09:25:32.271Z'\n status: 206\n error: Partial Content\n message: The response contains partial data due to an error while processing the request.\n path: /v2.0/domain/whois/live\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 domainName parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingDomain:\n summary: Missing domainName parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-07-23T08:04:19.197Z'\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T08:04:18.733Z'\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/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 Domain extension not supported for live WHOIS\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n domainExtensionNotSupported:\n summary: Unsupported domain extension\n value:\n timestamp: '2026-07-23T08:11:12.380Z'\n status: 403\n error: Not Supported Domain extension\n message: We are not providing the whois of this domain extension (local)\n path: /v2.0/whois/live\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 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 DomainWhoisLookupResponse:\n type: object\n description: Current WHOIS registration record for the requested domain.\n required:\n - status\n - domain_name\n - query_time\n - whois_server\n - domain_registered\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n domain_name:\n type: string\n description: Domain name that was queried.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed.\n whois_server:\n type: string\n description: WHOIS or RDAP server that provided this record.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status; 'restricted' means the registry withholds registration details.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, when the domain is registered.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, when the domain is registered.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration is set to expire, when the domain is registered.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details.\n name_servers:\n type: array\n description: Name servers currently recorded for the domain.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes currently recorded for the domain.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text as returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record for a domain, as published by either the registrar or the registry.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n status:\n type:\n - string\n - 'null'\n description: Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n normalized_name:\n type:\n - string\n - 'null'\n description: Lowercased, normalized form of the registrar name, when published at the registrar level.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n description: RDAP server URL operated by the registrar, when published at the registrar level.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n format: date-time\n description: Timestamp when the registry-level record was queried.\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
56799
+ "whois-domain-lookup": "openapi: 3.1.1\ninfo:\n title: Domain WHOIS Lookup API - Well-Structured Registration & Ownership Data\n version: 1.0.0\n description: 'Retrieve real-time WHOIS registration and ownership data for a domain name directly from its authoritative registrar and registry. Returns registrar details (name, IANA ID, WHOIS/RDAP server, accreditation status), registrant/administrative/technical/billing/reseller contact information, name servers, EPP domain status codes, and both registrar-level and registry-level raw WHOIS text. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Privacy-protected domains return redirect instructions instead of direct contact emails, and an unregistered domain returns `domain_registered: no` with most fields omitted instead of an error. Domain extensions this API does not support live WHOIS for return a `403` error, and a missing or malformed `domainName` returns a `400` error.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Domain WHOIS Lookup API Server\npaths:\n /domain/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve real-time WHOIS registration and ownership data for a domain name\n description: Returns the current WHOIS record for the specified domain, including registrar details, registrant/administrative/technical/billing/reseller contacts, name servers, status codes, and raw WHOIS text.\n operationId: lookupDomainWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve WHOIS data for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n domain_name: google.com\n query_time: '2026-07-23 08:22:19'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2024-08-02'\n expiry_date: '2028-09-13'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n company: Google LLC\n country_name: United States\n country_code: US\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n technical_contact:\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: google.com\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2024-08-02T02:17:33+0000\n Creation Date: 1997-09-15T07:00:00+0000\n Registrar Registration Expiration Date: 2028-09-13T07:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Organization: Google LLC\n Registrant Country: US\n Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Name Server: ns1.google.com\n Name Server: ns4.google.com\n Name Server: ns3.google.com\n Name Server: ns2.google.com\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T08:17:26+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/google.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n --\n registry_data:\n domain_name: GOOGLE.COM\n query_time: '2026-07-23 08:22:18'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2019-09-09'\n expiry_date: '2028-09-14'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: GOOGLE.COM\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2019-09-09T15:39:04Z\n Creation Date: 1997-09-15T04:00:00Z\n Registry Expiry Date: 2028-09-14T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1.GOOGLE.COM\n Name Server: NS2.GOOGLE.COM\n Name Server: NS3.GOOGLE.COM\n Name Server: NS4.GOOGLE.COM\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:22:08Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n unregisteredDomain:\n summary: Unregistered domain\n value:\n status: true\n domain_name: example.xn--tckwe\n query_time: '2026-07-23 08:03:00'\n whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/\n domain_registered: 'no'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 The response contains partial data because an error occurred while processing the request\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n partialContent:\n summary: Partial WHOIS data returned\n value:\n timestamp: '2025-08-14T09:25:32.271Z'\n status: 206\n error: Partial Content\n message: The response contains partial data due to an error while processing the request.\n path: /v2.0/domain/whois/live\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 domainName parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingDomain:\n summary: Missing domainName parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-07-23T08:04:19.197Z'\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T08:04:18.733Z'\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/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 Domain extension not supported for live WHOIS\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n domainExtensionNotSupported:\n summary: Unsupported domain extension\n value:\n timestamp: '2026-07-23T08:11:12.380Z'\n status: 403\n error: Not Supported Domain extension\n message: We are not providing the whois of this domain extension (local)\n path: /v2.0/whois/live\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 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 DomainWhoisLookupResponse:\n type: object\n description: Current WHOIS registration record for the requested domain.\n required:\n - status\n - domain_name\n - query_time\n - whois_server\n - domain_registered\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n domain_name:\n type: string\n description: Domain name that was queried.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed.\n whois_server:\n type: string\n description: WHOIS or RDAP server that provided this record.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status; 'restricted' means the registry withholds registration details.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, when the domain is registered.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, when the domain is registered.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration is set to expire, when the domain is registered.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details.\n name_servers:\n type: array\n description: Name servers currently recorded for the domain.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes currently recorded for the domain.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text as returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record for a domain, as published by either the registrar or the registry.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n status:\n type:\n - string\n - 'null'\n description: Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n normalized_name:\n type:\n - string\n - 'null'\n description: Lowercased, normalized form of the registrar name, when published at the registrar level.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n description: RDAP server URL operated by the registrar, when published at the registrar level.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n description: Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\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",
57488
56800
  "whois-ip-lookup": "openapi: 3.1.1\ninfo:\n title: IP WHOIS Lookup API - Organization, CIDR & Abuse Contact Data\n version: 1.0.0\n description: Retrieve WHOIS registration and ownership data for any IPv4 or IPv6 address from the appropriate Regional Internet Registry (ARIN, RIPE NCC, APNIC, LACNIC, or AFRINIC). Returns the IP range (inet_num) with CIDR blocks, net name, allocation status, and parent blocks; the registering organization with full address and contact handles; technical and abuse contacts with email and phone; BGP route objects; and the raw WHOIS response. The irt (IRT) object is included when available, containing the internet response team's address, abuse mailbox, and linked contacts.\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: IP WHOIS Lookup API Server\npaths:\n /ip/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve WHOIS registration and ownership data for an IP address\n description: Returns WHOIS details for an IPv4 or IPv6 address including IP range, organization, contacts, routes, and raw WHOIS output.\n operationId: lookupIpWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: true\n description: IPv4 or IPv6 address to look up.\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpWhoisResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n ip_address: 8.8.8.8\n query_time: '2026-07-23 08:23:30'\n whois_server: whois.arin.net\n inet_nums:\n - start_ip: 8.8.8.0\n end_ip: 8.8.8.255\n cidr:\n - 8.8.8.0/24\n net_name: GOGL\n net_handle: NET-8-8-8-0-2\n status: Direct Allocation\n organization: Google LLC (GOGL)\n date_created: '2023-12-28'\n date_updated: '2023-12-28'\n source: https://rdap.arin.net/registry/ip/8.8.8.0\n parents:\n - NET8 (NET-8-0-0-0-0)\n organization:\n handle: GOGL\n name: Google LLC\n address:\n - 1600 Amphitheatre Parkway\n - Mountain View\n - CA\n - '94043'\n - US\n street: Amphitheatre Parkway\n city: Mountain View\n state: CA\n zip_code: '94043'\n country:\n - US\n date_created: '2000-03-30'\n date_updated: '2019-10-31'\n source: https://rdap.arin.net/registry/entity/GOGL\n technical_contacts:\n - handle: ZG39-ARIN\n name: Google LLC\n email:\n - arin-contact@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ZG39-ARIN\n abuse_contacts:\n - handle: ABUSE5250-ARIN\n name: Abuse\n email:\n - network-abuse@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n routes:\n - source: https://rdap.arin.net/registry/ip/8.8.8.0\n whois_raw_response: |\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n\n\n NetRange: 8.8.8.0 - 8.8.8.255\n CIDR: 8.8.8.0/24\n NetName: GOGL\n NetHandle: NET-8-8-8-0-2\n Parent: NET8 (NET-8-0-0-0-0)\n NetType: Direct Allocation\n OriginAS: \n Organization: Google LLC (GOGL)\n RegDate: 2023-12-28\n Updated: 2023-12-28\n Ref: https://rdap.arin.net/registry/ip/8.8.8.0\n\n\n\n OrgName: Google LLC\n OrgId: GOGL\n Address: 1600 Amphitheatre Parkway\n City: Mountain View\n StateProv: CA\n PostalCode: 94043\n Country: US\n RegDate: 2000-03-30\n Updated: 2019-10-31\n Comment: Please note that the recommended way to file abuse complaints are located in the following links. \n Comment: \n Comment: To report abuse and illegal activity: https://www.google.com/contact/\n Comment: \n Comment: For legal requests: http://support.google.com/legal \n Comment: \n Comment: Regards, \n Comment: The Google Team\n Ref: https://rdap.arin.net/registry/entity/GOGL\n\n\n OrgAbuseHandle: ABUSE5250-ARIN\n OrgAbuseName: Abuse\n OrgAbusePhone: +1-650-253-0000 \n OrgAbuseEmail: network-abuse@google.com\n OrgAbuseRef: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n\n OrgTechHandle: ZG39-ARIN\n OrgTechName: Google LLC\n OrgTechPhone: +1-650-253-0000 \n OrgTechEmail: arin-contact@google.com\n OrgTechRef: https://rdap.arin.net/registry/entity/ZG39-ARIN\n\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content -- The WHOIS server returned an incomplete response. Some fields may be missing or truncated.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n partialResponse:\n summary: Partial WHOIS response\n value:\n timestamp: '2025-08-14T09:25:32.271Z'\n status: 206\n error: Partial Response\n message: Partial response due to an error occurred while processing the request.\n path: /v1.0/ip/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request -- Missing or invalid ip parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingIp:\n summary: Missing ip parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/ip/whois/live\n status: 400\n timestamp: '2026-07-23T07:50:28.230Z'\n invalidIp:\n summary: Invalid IP address format\n value:\n timestamp: '2026-07-23T08:03:38.179Z'\n status: 400\n error: Input parameter is not valid\n message: Request-param 'ip' (not-an-ip) is not an IP address\n path: /v1.0/ip-whois\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 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 IpWhoisResponse:\n type: object\n description: WHOIS lookup response containing IP registration data, organization, contacts, routes, and raw WHOIS output.\n required:\n - status\n - ip_address\n - query_time\n - whois_server\n - whois_raw_response\n properties:\n status:\n type: boolean\n description: Indicates whether the WHOIS response from the WHOIS server is complete.\n ip_address:\n type: string\n description: IP address (IPv4 or IPv6) that was queried.\n query_time:\n type: string\n description: Date and time of the WHOIS query in YYYY-MM-DD HH:mm:ss format.\n whois_server:\n type: string\n description: WHOIS host server used to query the IP address.\n inet_nums:\n type: array\n description: IP range allocations (inetnum/aut-num objects) associated with this IP address.\n items:\n $ref: '#/components/schemas/InetNum'\n irt:\n $ref: '#/components/schemas/IrtObject'\n organization:\n $ref: '#/components/schemas/IpWhoisOrganization'\n technical_contacts:\n type: array\n description: Technical contact persons or roles for this IP allocation.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n abuse_contacts:\n type: array\n description: Abuse contact persons or roles for reporting network abuse.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n routes:\n type: array\n description: BGP route objects announced by this IP's network.\n items:\n $ref: '#/components/schemas/RouteObject'\n whois_raw_response:\n type: string\n description: Unparsed WHOIS response from the WHOIS server.\n r_whois_raw_response:\n type:\n - string\n - 'null'\n description: WHOIS response from the rwhois server, if available.\n InetNum:\n type: object\n description: IP range allocation record (inetnum object) containing the allocated block, network name, status, and organizational linkage.\n required:\n - start_ip\n - end_ip\n - cidr\n - net_name\n - source\n properties:\n start_ip:\n type: string\n description: Starting IP address of the allocated range.\n end_ip:\n type: string\n description: Ending IP address of the allocated range.\n cidr:\n type: array\n description: IP range in CIDR notation.\n items:\n type: string\n net_name:\n type: string\n description: Network name (unique identifier) of this inetnum in WHOIS data.\n net_handle:\n type:\n - string\n - 'null'\n description: Net-Handle (unique ID) of this inetnum, primarily from ARIN responses.\n description:\n type:\n - array\n - 'null'\n description: Description values from the inetnum object.\n items:\n type: string\n countries:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes where the IP block is allocated.\n items:\n type: string\n geofeed:\n type:\n - string\n - 'null'\n description: URL to the geofeed (RFC 8805) for this prefix.\n latitude:\n type:\n - number\n - 'null'\n format: float\n description: Latitude parsed from the geoloc field.\n longitude:\n type:\n - number\n - 'null'\n format: float\n description: Longitude parsed from the geoloc field.\n city:\n type:\n - string\n - 'null'\n description: City of allocation, primarily from LACNIC responses.\n languages:\n type:\n - array\n - 'null'\n description: Regional languages in countries of allocation.\n items:\n type: string\n status:\n type:\n - string\n - 'null'\n description: Allocation or assignment status (e.g., 'Direct Allocation').\n organization:\n type:\n - string\n - 'null'\n description: Handle (unique ID) of the organization managing this inetnum.\n sponsoring_organization:\n type:\n - string\n - 'null'\n description: Handle of the sponsoring organization for this inetnum.\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles in WHOIS data.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles in WHOIS data.\n items:\n type: string\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Handles of abuse persons or roles in WHOIS data.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks from the inetnum object.\n items:\n type: string\n assignment_size:\n type:\n - string\n - 'null'\n description: Allocation or assignment size of the IP network or block.\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses from the inetnum object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles from the inetnum object.\n items:\n type: string\n mnt_lower:\n type:\n - array\n - 'null'\n description: Lower-level maintainer handles from the inetnum object.\n items:\n type: string\n mnt_domains:\n type:\n - array\n - 'null'\n description: Domain maintainer handles from the inetnum object.\n items:\n type: string\n mnt_routes:\n type:\n - array\n - 'null'\n description: Route maintainer handles from the inetnum object.\n items:\n type: string\n mnt_irt:\n type:\n - array\n - 'null'\n description: IRT maintainer handles from the inetnum object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this inetnum object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this inetnum object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n parents:\n type:\n - array\n - 'null'\n description: Parent allocation or assignment blocks of this inetnum.\n items:\n type: string\n IrtObject:\n type: object\n description: IRT (Internet Response Team) object containing the response team's address, abuse mailbox, contacts, and linked organizations.\n required:\n - handle\n - address\n - email\n - abuse_mailbox\n - admin_contacts\n - tech_contacts\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this IRT in WHOIS data.\n address:\n type: array\n description: Address lines of the IRT.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type: array\n description: Email addresses for the IRT.\n items:\n type: string\n abuse_mailbox:\n type: array\n description: Abuse mailbox email addresses for the IRT.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the IRT.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the IRT.\n items:\n type: string\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects linked to this IRT.\n items:\n type: string\n admin_contacts:\n type: array\n description: Handles of admin persons or roles linked to this IRT.\n items:\n type: string\n tech_contacts:\n type: array\n description: Handles of technical persons or roles linked to this IRT.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this IRT object.\n items:\n type: string\n signature:\n type:\n - array\n - 'null'\n description: Cryptographic signatures for this IRT object.\n items:\n type: string\n encryption:\n type:\n - array\n - 'null'\n description: Encryption keys for this IRT object.\n items:\n type: string\n auth:\n type:\n - array\n - 'null'\n description: Authentication methods for this IRT object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this IRT object.\n items:\n type: string\n irt_nfy:\n type:\n - array\n - 'null'\n description: IRT-specific notification email addresses.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this IRT object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this IRT object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this IRT object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this IRT object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source for this IRT object.\n organization:\n $ref: '#/components/schemas/IpWhoisOrganization'\n administrative_contacts:\n type:\n - array\n - 'null'\n description: Administrative contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n technical_contacts:\n type:\n - array\n - 'null'\n description: Technical contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Abuse contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n IpWhoisOrganization:\n type: object\n description: Organization object containing the registrant's handle, name, address, contact details, and linked admin/tech/abuse contacts.\n required:\n - handle\n - name\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this organization in WHOIS data.\n name:\n type: string\n description: Name of the organization.\n type:\n type:\n - string\n - 'null'\n description: Type of the organization (e.g., BUSINESS, REGISTRY).\n description:\n type:\n - array\n - 'null'\n description: Description values from the organization object.\n items:\n type: string\n address:\n type:\n - array\n - 'null'\n description: Full address lines of the organization.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes for the organization.\n items:\n type: string\n latitude:\n type:\n - number\n - 'null'\n format: float\n description: Latitude parsed from the geoloc field.\n longitude:\n type:\n - number\n - 'null'\n format: float\n description: Longitude parsed from the geoloc field.\n email:\n type:\n - array\n - 'null'\n description: Email addresses for the organization.\n items:\n type: string\n abuse_mailbox:\n type:\n - array\n - 'null'\n description: Abuse mailbox email addresses for the organization.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the organization.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the organization.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this organization.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this organization.\n items:\n type: string\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Handles of abuse persons or roles linked to this organization.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this organization object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this organization object.\n items:\n type: string\n ref_nfy:\n type:\n - array\n - 'null'\n description: Reference notification email addresses for this organization object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this organization object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this organization object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this organization object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this organization object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n WhoisContactRef:\n type: object\n description: Contact person or role object with handle, name, email, phone, and source reference.\n required:\n - handle\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this contact in WHOIS data.\n name:\n type:\n - string\n - 'null'\n description: Name of the contact person or role.\n address:\n type:\n - array\n - 'null'\n description: Address lines for this contact.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type:\n - array\n - 'null'\n description: Email addresses for this contact.\n items:\n type: string\n abuse_mailbox:\n type:\n - array\n - 'null'\n description: Abuse mailbox email addresses for this contact.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for this contact.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for this contact.\n items:\n type: string\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects managing this contact.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this contact.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this contact.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this contact object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this contact object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this contact object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this contact object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this contact object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this contact object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n RouteObject:\n type: object\n description: BGP route object containing the route prefix, origin AS, and related metadata.\n required: []\n properties:\n route:\n type:\n - string\n - 'null'\n description: BGP route prefix (e.g., 8.8.8.0/24).\n origin:\n type:\n - string\n - 'null'\n description: Origin AS number for this route.\n description:\n type:\n - array\n - 'null'\n description: Description values for this route object.\n items:\n type: string\n country:\n type:\n - string\n - 'null'\n description: Country of the organization managing this route.\n pingable:\n type:\n - array\n - 'null'\n description: Pingable IP addresses in this route.\n items:\n type: string\n ping_hdl:\n type:\n - array\n - 'null'\n description: Handles of pingable contacts for this route.\n items:\n type: string\n holes:\n type:\n - array\n - 'null'\n description: Sub-allocation holes (more specific routes) within this route.\n items:\n type: string\n member_of:\n type:\n - array\n - 'null'\n description: Route sets this route is a member of.\n items:\n type: string\n inject:\n type:\n - array\n - 'null'\n description: Injection details for this route.\n items:\n type: string\n aggr_mtd:\n type:\n - string\n - 'null'\n description: Aggregation method for this route.\n aggr_bndry:\n type:\n - string\n - 'null'\n description: Aggregation boundary for this route.\n export_comps:\n type:\n - string\n - 'null'\n description: Export composition for this route.\n components:\n type:\n - string\n - 'null'\n description: Route components.\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects related to this route.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this route object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this route object.\n items:\n type: string\n mnt_lower:\n type:\n - array\n - 'null'\n description: Lower-level maintainer handles for this route.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this route object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this route object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this route object (YYYY-MM-DD).\n source:\n type:\n - string\n - 'null'\n description: WHOIS data source for this route object.\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",
57489
56801
  "bulk-zip-code-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk ZIP Code Lookup API Reference\n version: 1.0.0\n description: Look up multiple ZIP or postal codes in a single POST request, up to 100 codes per batch. Each matched code returns city, region, region code, locality, country code, latitude, and longitude. Accepts an optional `country` field in the request body to limit results to one country. Codes with no match are silently omitted from the `results` array instead of appearing as per-item error entries \u2014 the array can be shorter than the requested `codes` list. A malformed request body or invalid country code returns a 400; if none of the submitted codes match anything, the whole request returns a 404.\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: Bulk ZIP Code Lookup API Server\npaths:\n /zipcode/lookup:\n post:\n tags:\n - ZIP Code APIs\n summary: Look up multiple ZIP/postal codes in one request\n operationId: bulkLookupZipCodes\n description: Looks up up to 100 ZIP/postal codes in a single request and returns matching location data for each code that resolves.\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. Possible values: json, xml.'\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkZipRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n codes:\n - '10001'\n - '90210'\n country: US\n responses:\n '200':\n description: Successful response. `results` contains one entry per code that matched, in match order \u2014 codes with no match are omitted rather than represented as error entries, so the array can be shorter than the requested `codes` list.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ZipcodeLookupResponse'\n examples:\n typicalSuccess:\n summary: All requested codes matched\n value:\n results:\n - code: '10001'\n country_code: US\n region: New York\n region_code: NY\n city: New York County\n locality: Manhattan\n latitude: 40.748436\n longitude: -73.99402\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n partialMatch:\n summary: One of two requested codes matched \u2014 the unmatched code is simply absent\n value:\n results:\n - code: '10001'\n country_code: US\n region: New York\n region_code: NY\n city: New York County\n locality: Manhattan\n latitude: 40.748436\n longitude: -73.99402\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Malformed body, invalid country code, or over the 100-code limit\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidBody:\n summary: codes field missing or malformed\n value:\n timestamp: '2026-07-27T11:18:38.639Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Request Body Invalid\n message: Request body is missing required fields or is not in the expected format. Please refer to the API documentation.\n InvalidCountryCode:\n summary: country is not a valid ISO 3166-1 alpha-2 code\n value:\n timestamp: '2026-07-27T11:18:39.139Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Invalid Country Code Provided\n message: Only ISO 3166-1 alpha-2 codes country codes are supported.\n BulkLimitExceeded:\n summary: More than 100 codes submitted\n value:\n timestamp: '2026-07-27T11:18:48.850Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Maximum Postal/Zip Code Limit Exceeded\n message: A maximum of 100 postal/zip codes can be processed per request.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 None of the submitted codes matched anything\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n ZipNotFound:\n summary: No codes matched\n value:\n timestamp: '2026-07-27T11:18:39.650Z'\n path: /v1.0/zipcode/lookup\n status: 404\n error: Postal/Zip Codes Not Found\n message: None of the provided postal/zip codes were found in our database.\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 ZipcodeLookupResponse:\n type: object\n description: ZIP code lookup result containing an array of matched postal codes with location details.\n required:\n - results\n properties:\n results:\n type: array\n description: Array of matched ZIP code results. Codes with no match are omitted, so this array can be shorter than the requested codes list.\n items:\n $ref: '#/components/schemas/ZipResultItem'\n ZipResultItem:\n type: object\n description: A ZIP code result containing location details.\n required:\n - code\n - country_code\n - region\n - region_code\n - city\n - latitude\n - longitude\n properties:\n code:\n type: string\n description: Postal/ZIP code of the location.\n country_code:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format.\n region:\n type: string\n description: Region, state, or province associated with the postal code.\n region_code:\n type: string\n description: Region code or abbreviation.\n city:\n type: string\n description: City associated with the postal code.\n locality:\n type: string\n description: Locality or neighborhood associated with the postal code. Can be an empty string when no locality-level data exists.\n latitude:\n type: number\n format: float\n description: Latitude coordinate of the postal code location.\n longitude:\n type: number\n format: float\n description: Longitude coordinate of the postal code location.\n BulkZipRequest:\n type: object\n description: Request body for bulk ZIP/postal code lookup.\n required:\n - codes\n properties:\n codes:\n type: array\n description: Array of ZIP or postal codes to look up. Maximum 100 codes per request.\n items:\n type: string\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code to limit the search to. Applies to every code in the batch.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",
57490
56802
  "zip-code-api": "openapi: 3.1.1\ninfo:\n title: ZIP Code API - Global ZIP & Postal Code Lookup and Validation\n version: 1.0.0\n description: Look up and validate a single ZIP or postal code worldwide, returning every location that uses it. Returns city, region, region code, locality, country code, latitude, and longitude for each matching location. A postal code can map to multiple locations across different countries (e.g. \"90210\" matches places in the US, Ukraine, Kenya, Mexico, and Pakistan) unless the optional `country` parameter narrows the search to one country. Only one code is accepted per request \u2014 for multiple codes in one call, use the Bulk ZIP Code Lookup API instead. Invalid country codes return a 400, and codes with no match return a 404.\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: ZIP Code Lookup API Server\npaths:\n /zipcode/lookup:\n get:\n tags:\n - ZIP Code APIs\n summary: Look up a ZIP/postal code\n description: Returns every location worldwide that matches the given postal/ZIP code, optionally narrowed to one country.\n operationId: lookupZipCode\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. Possible values: json, xml.'\n - name: code\n in: query\n required: true\n schema:\n type: string\n description: The postal/ZIP code to look up. Only one code is accepted per request.\n - name: country\n in: query\n required: false\n schema:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format. Limits results to that country. If not provided, matching locations from all countries are returned.\n responses:\n '200':\n description: Successful response with matching ZIP code locations\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ZipcodeLookupResponse'\n examples:\n success:\n summary: Code matched in one country\n value:\n results:\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n multipleCountryMatches:\n summary: Same code matched across multiple countries (no country filter)\n value:\n results:\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n - code: '90210'\n country_code: UA\n region: Zakarpattia Oblast\n region_code: '21'\n city: Batovo Settlement Hromada\n locality: Svoboda\n latitude: 48.35717\n longitude: 22.367962\n - code: '90210'\n country_code: KE\n region: Kitui\n region_code: '18'\n city: Matinyani\n locality: Kalia\n latitude: -1.310763\n longitude: 37.969997\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing code or invalid country code\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingCode:\n summary: Missing required code parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/zipcode/lookup\n status: 400\n timestamp: '2026-07-27T11:17:13.351Z'\n InvalidCountryCode:\n summary: country is not a valid ISO 3166-1 alpha-2 code\n value:\n timestamp: '2026-07-27T11:17:13.872Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Invalid Country Code Provided\n message: Only ISO 3166-1 alpha-2 codes country codes are supported.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No location matches the given code\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n ZipNotFound:\n summary: Postal/ZIP code not found\n value:\n timestamp: '2026-07-27T11:17:14.474Z'\n path: /v1.0/zipcode/lookup\n status: 404\n error: Postal/Zip Code Not Found\n message: Provided postal/zip code was not found in our database.\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 ZipcodeLookupResponse:\n type: object\n description: ZIP code lookup result containing an array of matching postal codes with location details.\n required:\n - results\n properties:\n results:\n type: array\n description: Array of ZIP code results matching the requested code. When multiple locations worldwide share the same postal code, each appears as a separate entry.\n items:\n $ref: '#/components/schemas/ZipResultItem'\n ZipResultItem:\n type: object\n description: A ZIP code result containing location details.\n required:\n - code\n - country_code\n - region\n - region_code\n - city\n - latitude\n - longitude\n properties:\n code:\n type: string\n description: Postal/ZIP code of the location.\n country_code:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format.\n region:\n type: string\n description: Region, state, or province associated with the postal code.\n region_code:\n type: string\n description: Region code or abbreviation.\n city:\n type: string\n description: City associated with the postal code.\n locality:\n type: string\n description: Locality or neighborhood associated with the postal code. Can be an empty string when no locality-level data exists.\n latitude:\n type: number\n format: float\n description: Latitude coordinate of the postal code location.\n longitude:\n type: number\n format: float\n description: Longitude coordinate of the postal code location.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\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",