@apifreaks/openapi-specs 0.4.17 → 0.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +739 -36
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +739 -36
- package/dist/specs/commodity/commodity-fluctuation.yaml +2 -2
- package/dist/specs/commodity/commodity-intraday-rates.yaml +539 -0
- package/dist/specs/commodity/commodity-prices.yaml +3 -3
- package/dist/specs/commodity/commodity-symbols.yaml +1 -1
- package/dist/specs/commodity/commodity-time-series.yaml +2 -2
- package/dist/specs/commodity/historical-commodity-prices.yaml +2 -2
- package/dist/specs/email-validation/bulk-disposable-email-checker.yaml +8 -8
- package/dist/specs/email-validation/disposable-email-checker.yaml +5 -5
- package/package.json +1 -1
- package/specs/README.md +1 -0
- package/specs/commodity/commodity-fluctuation.json +2 -2
- package/specs/commodity/commodity-intraday-rates.json +698 -0
- package/specs/commodity/commodity-prices.json +3 -3
- package/specs/commodity/commodity-symbols.json +1 -1
- package/specs/commodity/commodity-time-series.json +2 -2
- package/specs/commodity/historical-commodity-prices.json +2 -2
- package/specs/email-validation/bulk-disposable-email-checker.json +8 -8
- package/specs/email-validation/disposable-email-checker.json +5 -5
package/dist/index.js
CHANGED
|
@@ -366,7 +366,7 @@ var commodity_fluctuation_default = {
|
|
|
366
366
|
},
|
|
367
367
|
unresolved: {
|
|
368
368
|
FAKESYM: {
|
|
369
|
-
message: "We don't
|
|
369
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
}
|
|
@@ -482,7 +482,7 @@ var commodity_fluctuation_default = {
|
|
|
482
482
|
message: "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
483
483
|
unresolved: {
|
|
484
484
|
FAKESYM: {
|
|
485
|
-
message: "We don't
|
|
485
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
}
|
|
@@ -672,13 +672,713 @@ var commodity_fluctuation_default = {
|
|
|
672
672
|
]
|
|
673
673
|
};
|
|
674
674
|
|
|
675
|
+
// specs/commodity/commodity-intraday-rates.json
|
|
676
|
+
var commodity_intraday_rates_default = {
|
|
677
|
+
openapi: "3.1.1",
|
|
678
|
+
info: {
|
|
679
|
+
title: "Commodity Intraday Rates API",
|
|
680
|
+
version: "2.0.0",
|
|
681
|
+
description: "Timestamped prices for one commodity on any UTC day, at an interval from one minute to one day. Each point is the single price recorded at that exact time, keyed by its ISO 8601 UTC timestamp. A response holds up to 100 points; when the day has more, `nextStartTime` is the value to send as `startTime` for the next page. Available only for commodities updated every second, every minute, or every 10 minutes.",
|
|
682
|
+
contact: {
|
|
683
|
+
name: "APIFreaks Support",
|
|
684
|
+
url: "https://apifreaks.com/contact",
|
|
685
|
+
email: "support@apifreaks.com"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
servers: [
|
|
689
|
+
{
|
|
690
|
+
url: "https://api.apifreaks.com/v2.0",
|
|
691
|
+
description: "Commodity Intraday Rates API Server"
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
paths: {
|
|
695
|
+
"/commodity/rates/intraday": {
|
|
696
|
+
get: {
|
|
697
|
+
tags: [
|
|
698
|
+
"Commodity APIs"
|
|
699
|
+
],
|
|
700
|
+
summary: "Get intraday commodity rates",
|
|
701
|
+
description: "Returns the prices of one commodity through a UTC day at the requested interval, keyed by UTC timestamp. Each request costs a flat 50 credits however many points it returns.",
|
|
702
|
+
operationId: "getCommodityIntradayRates",
|
|
703
|
+
parameters: [
|
|
704
|
+
{
|
|
705
|
+
name: "symbols",
|
|
706
|
+
in: "query",
|
|
707
|
+
required: true,
|
|
708
|
+
description: "Exactly one commodity symbol. Case-insensitive. Sending two or more returns a 400. Only symbols updated every second, every minute, or every 10 minutes have intraday rates; symbols updated hourly or less often return a 400. Use the Commodity Symbols endpoint for all valid values.",
|
|
709
|
+
schema: {
|
|
710
|
+
type: "string"
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: "interval",
|
|
715
|
+
in: "query",
|
|
716
|
+
required: true,
|
|
717
|
+
description: "Spacing between points. Case-insensitive. Symbols updated every 10 minutes accept only `10m`, `30m`, `1h`, `2h`, `4h`, `8h`, `12h`, `1d`.",
|
|
718
|
+
schema: {
|
|
719
|
+
type: "string",
|
|
720
|
+
enum: [
|
|
721
|
+
"1m",
|
|
722
|
+
"5m",
|
|
723
|
+
"10m",
|
|
724
|
+
"15m",
|
|
725
|
+
"30m",
|
|
726
|
+
"45m",
|
|
727
|
+
"1h",
|
|
728
|
+
"2h",
|
|
729
|
+
"4h",
|
|
730
|
+
"8h",
|
|
731
|
+
"12h",
|
|
732
|
+
"1d"
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: "date",
|
|
738
|
+
in: "query",
|
|
739
|
+
required: true,
|
|
740
|
+
description: "The UTC day to read, in `YYYY-MM-DD` format. Cannot be in the future. For today, points stop at the current UTC minute.",
|
|
741
|
+
schema: {
|
|
742
|
+
type: "string",
|
|
743
|
+
format: "date",
|
|
744
|
+
pattern: "^\\d{4}-\\d{2}-\\d{2}$"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
name: "startTime",
|
|
749
|
+
in: "query",
|
|
750
|
+
required: false,
|
|
751
|
+
description: "First mark of the window, as a 24-hour UTC time in `HH:mm`. Must fall on a mark of the interval (for example, `14:30` works for `5m` or `30m`, but not for `1h`). For `1d` it can only be `00:00`.",
|
|
752
|
+
schema: {
|
|
753
|
+
type: "string",
|
|
754
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
755
|
+
default: "00:00"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: "metadata",
|
|
760
|
+
in: "query",
|
|
761
|
+
required: false,
|
|
762
|
+
description: "Whether to include the `metadata` object. Pass `false` to receive only the prices.",
|
|
763
|
+
schema: {
|
|
764
|
+
type: "boolean",
|
|
765
|
+
default: true
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
responses: {
|
|
770
|
+
"200": {
|
|
771
|
+
description: "Successful operation",
|
|
772
|
+
content: {
|
|
773
|
+
"application/json": {
|
|
774
|
+
schema: {
|
|
775
|
+
$ref: "#/components/schemas/CommodityIntradayResponse"
|
|
776
|
+
},
|
|
777
|
+
examples: {
|
|
778
|
+
hourlyPartOfDay: {
|
|
779
|
+
summary: "Hourly gold prices from 18:00 UTC",
|
|
780
|
+
value: {
|
|
781
|
+
success: true,
|
|
782
|
+
symbol: "XAU",
|
|
783
|
+
date: "2026-10-14",
|
|
784
|
+
interval: "1h",
|
|
785
|
+
startTime: "18:00",
|
|
786
|
+
count: 6,
|
|
787
|
+
nextStartTime: null,
|
|
788
|
+
rates: {
|
|
789
|
+
"2026-10-14T18:00:00Z": 4084.75,
|
|
790
|
+
"2026-10-14T19:00:00Z": 4097.03,
|
|
791
|
+
"2026-10-14T20:00:00Z": 4101.92,
|
|
792
|
+
"2026-10-14T21:00:00Z": 4105.72,
|
|
793
|
+
"2026-10-14T22:00:00Z": 4105.72,
|
|
794
|
+
"2026-10-14T23:00:00Z": 4106.41
|
|
795
|
+
},
|
|
796
|
+
metadata: {
|
|
797
|
+
XAU: {
|
|
798
|
+
unit: "T.oz",
|
|
799
|
+
quote: "USD"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
firstPageOfMinuteData: {
|
|
805
|
+
summary: "First page of one-minute data, more pages available",
|
|
806
|
+
value: {
|
|
807
|
+
success: true,
|
|
808
|
+
symbol: "WTIOIL-FUT",
|
|
809
|
+
date: "2026-10-14",
|
|
810
|
+
interval: "1m",
|
|
811
|
+
startTime: "00:00",
|
|
812
|
+
count: 100,
|
|
813
|
+
nextStartTime: "01:40",
|
|
814
|
+
rates: {
|
|
815
|
+
"2026-10-14T00:00:00Z": 94.69,
|
|
816
|
+
"2026-10-14T00:01:00Z": 94.81,
|
|
817
|
+
"2026-10-14T00:02:00Z": 94.82,
|
|
818
|
+
"2026-10-14T00:03:00Z": 94.82,
|
|
819
|
+
"2026-10-14T00:04:00Z": 94.79,
|
|
820
|
+
"2026-10-14T00:05:00Z": 94.8,
|
|
821
|
+
"2026-10-14T00:06:00Z": 94.8,
|
|
822
|
+
"2026-10-14T00:07:00Z": 94.78,
|
|
823
|
+
"2026-10-14T00:08:00Z": 94.73,
|
|
824
|
+
"2026-10-14T00:09:00Z": 94.73,
|
|
825
|
+
"2026-10-14T00:10:00Z": 94.74,
|
|
826
|
+
"2026-10-14T00:11:00Z": 94.72,
|
|
827
|
+
"2026-10-14T00:12:00Z": 94.78,
|
|
828
|
+
"2026-10-14T00:13:00Z": 94.81,
|
|
829
|
+
"2026-10-14T00:14:00Z": 94.81,
|
|
830
|
+
"2026-10-14T00:15:00Z": 94.72,
|
|
831
|
+
"2026-10-14T00:16:00Z": 94.84,
|
|
832
|
+
"2026-10-14T00:17:00Z": 94.98,
|
|
833
|
+
"2026-10-14T00:18:00Z": 94.89,
|
|
834
|
+
"2026-10-14T00:19:00Z": 94.83,
|
|
835
|
+
"2026-10-14T00:20:00Z": 94.87,
|
|
836
|
+
"2026-10-14T00:21:00Z": 94.86,
|
|
837
|
+
"2026-10-14T00:22:00Z": 94.88,
|
|
838
|
+
"2026-10-14T00:23:00Z": 94.9,
|
|
839
|
+
"2026-10-14T00:24:00Z": 94.92,
|
|
840
|
+
"2026-10-14T00:25:00Z": 95.01,
|
|
841
|
+
"2026-10-14T00:26:00Z": 95.04,
|
|
842
|
+
"2026-10-14T00:27:00Z": 94.98,
|
|
843
|
+
"2026-10-14T00:28:00Z": 94.98,
|
|
844
|
+
"2026-10-14T00:29:00Z": 95,
|
|
845
|
+
"2026-10-14T00:30:00Z": 94.94,
|
|
846
|
+
"2026-10-14T00:31:00Z": 94.99,
|
|
847
|
+
"2026-10-14T00:32:00Z": 94.98,
|
|
848
|
+
"2026-10-14T00:33:00Z": 94.97,
|
|
849
|
+
"2026-10-14T00:34:00Z": 94.97,
|
|
850
|
+
"2026-10-14T00:35:00Z": 94.99,
|
|
851
|
+
"2026-10-14T00:36:00Z": 95,
|
|
852
|
+
"2026-10-14T00:37:00Z": 95.02,
|
|
853
|
+
"2026-10-14T00:38:00Z": 94.99,
|
|
854
|
+
"2026-10-14T00:39:00Z": 94.93,
|
|
855
|
+
"2026-10-14T00:40:00Z": 94.95,
|
|
856
|
+
"2026-10-14T00:41:00Z": 94.99,
|
|
857
|
+
"2026-10-14T00:42:00Z": 94.96,
|
|
858
|
+
"2026-10-14T00:43:00Z": 94.94,
|
|
859
|
+
"2026-10-14T00:44:00Z": 94.94,
|
|
860
|
+
"2026-10-14T00:45:00Z": 94.95,
|
|
861
|
+
"2026-10-14T00:46:00Z": 94.94,
|
|
862
|
+
"2026-10-14T00:47:00Z": 94.94,
|
|
863
|
+
"2026-10-14T00:48:00Z": 94.99,
|
|
864
|
+
"2026-10-14T00:49:00Z": 94.97,
|
|
865
|
+
"2026-10-14T00:50:00Z": 94.98,
|
|
866
|
+
"2026-10-14T00:51:00Z": 95.04,
|
|
867
|
+
"2026-10-14T00:52:00Z": 95.02,
|
|
868
|
+
"2026-10-14T00:53:00Z": 95.06,
|
|
869
|
+
"2026-10-14T00:54:00Z": 95.05,
|
|
870
|
+
"2026-10-14T00:55:00Z": 95.03,
|
|
871
|
+
"2026-10-14T00:56:00Z": 95.02,
|
|
872
|
+
"2026-10-14T00:57:00Z": 95.02,
|
|
873
|
+
"2026-10-14T00:58:00Z": 95.01,
|
|
874
|
+
"2026-10-14T00:59:00Z": 95.09,
|
|
875
|
+
"2026-10-14T01:00:00Z": 95.09,
|
|
876
|
+
"2026-10-14T01:01:00Z": 95.24,
|
|
877
|
+
"2026-10-14T01:02:00Z": 95.27,
|
|
878
|
+
"2026-10-14T01:03:00Z": 95.24,
|
|
879
|
+
"2026-10-14T01:04:00Z": 95.3,
|
|
880
|
+
"2026-10-14T01:05:00Z": 95.38,
|
|
881
|
+
"2026-10-14T01:06:00Z": 95.38,
|
|
882
|
+
"2026-10-14T01:07:00Z": 95.29,
|
|
883
|
+
"2026-10-14T01:08:00Z": 95.36,
|
|
884
|
+
"2026-10-14T01:09:00Z": 95.31,
|
|
885
|
+
"2026-10-14T01:10:00Z": 95.29,
|
|
886
|
+
"2026-10-14T01:11:00Z": 95.4,
|
|
887
|
+
"2026-10-14T01:12:00Z": 95.36,
|
|
888
|
+
"2026-10-14T01:13:00Z": 95.27,
|
|
889
|
+
"2026-10-14T01:14:00Z": 95.31,
|
|
890
|
+
"2026-10-14T01:15:00Z": 95.35,
|
|
891
|
+
"2026-10-14T01:16:00Z": 95.4,
|
|
892
|
+
"2026-10-14T01:17:00Z": 95.37,
|
|
893
|
+
"2026-10-14T01:18:00Z": 95.4,
|
|
894
|
+
"2026-10-14T01:19:00Z": 95.4,
|
|
895
|
+
"2026-10-14T01:20:00Z": 95.37,
|
|
896
|
+
"2026-10-14T01:21:00Z": 95.35,
|
|
897
|
+
"2026-10-14T01:22:00Z": 95.35,
|
|
898
|
+
"2026-10-14T01:23:00Z": 95.33,
|
|
899
|
+
"2026-10-14T01:24:00Z": 95.3,
|
|
900
|
+
"2026-10-14T01:25:00Z": 95.28,
|
|
901
|
+
"2026-10-14T01:26:00Z": 95.29,
|
|
902
|
+
"2026-10-14T01:27:00Z": 95.27,
|
|
903
|
+
"2026-10-14T01:28:00Z": 95.29,
|
|
904
|
+
"2026-10-14T01:29:00Z": 95.3,
|
|
905
|
+
"2026-10-14T01:30:00Z": 95.35,
|
|
906
|
+
"2026-10-14T01:31:00Z": 95.17,
|
|
907
|
+
"2026-10-14T01:32:00Z": 95.18,
|
|
908
|
+
"2026-10-14T01:33:00Z": 95.18,
|
|
909
|
+
"2026-10-14T01:34:00Z": 95.2,
|
|
910
|
+
"2026-10-14T01:35:00Z": 95.23,
|
|
911
|
+
"2026-10-14T01:36:00Z": 95.21,
|
|
912
|
+
"2026-10-14T01:37:00Z": 95.25,
|
|
913
|
+
"2026-10-14T01:38:00Z": 95.25,
|
|
914
|
+
"2026-10-14T01:39:00Z": 95.29
|
|
915
|
+
},
|
|
916
|
+
metadata: {
|
|
917
|
+
"WTIOIL-FUT": {
|
|
918
|
+
unit: "Bbl",
|
|
919
|
+
quote: "USD"
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
withoutMetadata: {
|
|
925
|
+
summary: "metadata=false returns only the prices",
|
|
926
|
+
value: {
|
|
927
|
+
success: true,
|
|
928
|
+
symbol: "XAU",
|
|
929
|
+
date: "2026-10-14",
|
|
930
|
+
interval: "4h",
|
|
931
|
+
startTime: "12:00",
|
|
932
|
+
count: 3,
|
|
933
|
+
nextStartTime: null,
|
|
934
|
+
rates: {
|
|
935
|
+
"2026-10-14T12:00:00Z": 4139.81,
|
|
936
|
+
"2026-10-14T16:00:00Z": 4080.88,
|
|
937
|
+
"2026-10-14T20:00:00Z": 4101.92
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
symbolAliasAnswered: {
|
|
942
|
+
summary: "A symbol alias is answered under the matching symbol",
|
|
943
|
+
value: {
|
|
944
|
+
success: true,
|
|
945
|
+
symbol: "XAU",
|
|
946
|
+
date: "2026-10-14",
|
|
947
|
+
interval: "4h",
|
|
948
|
+
startTime: "12:00",
|
|
949
|
+
count: 3,
|
|
950
|
+
nextStartTime: null,
|
|
951
|
+
rates: {
|
|
952
|
+
"2026-10-14T12:00:00Z": 4139.81,
|
|
953
|
+
"2026-10-14T16:00:00Z": 4080.88,
|
|
954
|
+
"2026-10-14T20:00:00Z": 4101.92
|
|
955
|
+
},
|
|
956
|
+
metadata: {
|
|
957
|
+
XAU: {
|
|
958
|
+
unit: "T.oz",
|
|
959
|
+
quote: "USD"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
unresolved: {
|
|
963
|
+
GOLD: {
|
|
964
|
+
message: 'GOLD is not a symbol code used by this API. Gold is available as "XAU", so its rate was returned under that symbol.',
|
|
965
|
+
resolvedTo: "XAU"
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
headers: {
|
|
974
|
+
"X-AF-Credits-Cost": {
|
|
975
|
+
$ref: "#/components/headers/X-AF-Credits-Cost"
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"400": {
|
|
980
|
+
description: "Bad Request: Missing or invalid parameters, or the symbol has no intraday rates",
|
|
981
|
+
content: {
|
|
982
|
+
"application/json": {
|
|
983
|
+
schema: {
|
|
984
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
985
|
+
},
|
|
986
|
+
examples: {
|
|
987
|
+
missingSymbols: {
|
|
988
|
+
summary: "Missing required symbols parameter",
|
|
989
|
+
value: {
|
|
990
|
+
error: "Invalid Param Exception",
|
|
991
|
+
message: "please pass correct parameters",
|
|
992
|
+
path: "/v2.0/commodity/rates/intraday",
|
|
993
|
+
status: 400,
|
|
994
|
+
timestamp: "2026-10-27T09:47:11.299Z"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
missingInterval: {
|
|
998
|
+
summary: "Missing required interval parameter",
|
|
999
|
+
value: {
|
|
1000
|
+
error: "Invalid Param Exception",
|
|
1001
|
+
message: "please pass correct parameters",
|
|
1002
|
+
path: "/v2.0/commodity/rates/intraday",
|
|
1003
|
+
status: 400,
|
|
1004
|
+
timestamp: "2026-10-27T09:47:11.299Z"
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
missingDate: {
|
|
1008
|
+
summary: "Missing required date parameter",
|
|
1009
|
+
value: {
|
|
1010
|
+
error: "Invalid Param Exception",
|
|
1011
|
+
message: "please pass correct parameters",
|
|
1012
|
+
path: "/v2.0/commodity/rates/intraday",
|
|
1013
|
+
status: 400,
|
|
1014
|
+
timestamp: "2026-10-27T09:47:11.299Z"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
multipleSymbols: {
|
|
1018
|
+
summary: "More than one symbol sent",
|
|
1019
|
+
value: {
|
|
1020
|
+
timestamp: "2026-10-27T09:12:41.901Z",
|
|
1021
|
+
path: "/rates/intraday",
|
|
1022
|
+
code: 400,
|
|
1023
|
+
error: "VALIDATION_ERROR",
|
|
1024
|
+
message: "intraday accepts exactly one symbol in the symbols parameter"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
invalidInterval: {
|
|
1028
|
+
summary: "Interval not available for the symbol",
|
|
1029
|
+
value: {
|
|
1030
|
+
timestamp: "2026-10-27T10:05:54.904Z",
|
|
1031
|
+
path: "/rates/intraday",
|
|
1032
|
+
code: 400,
|
|
1033
|
+
error: "VALIDATION_ERROR",
|
|
1034
|
+
message: "Invalid interval '5m' for TIOC: valid intervals for TIOC are 10m, 30m, 1h, 2h, 4h, 8h, 12h, 1d"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
invalidDateFormat: {
|
|
1038
|
+
summary: "Date is not in YYYY-MM-DD format",
|
|
1039
|
+
value: {
|
|
1040
|
+
timestamp: "2026-10-27T09:12:42.377Z",
|
|
1041
|
+
path: "/rates/intraday",
|
|
1042
|
+
code: 400,
|
|
1043
|
+
error: "VALIDATION_ERROR",
|
|
1044
|
+
message: "Invalid date format: expected YYYY-MM-DD"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
dateNotExist: {
|
|
1048
|
+
summary: "Date does not exist on the calendar",
|
|
1049
|
+
value: {
|
|
1050
|
+
timestamp: "2026-10-27T09:12:42.619Z",
|
|
1051
|
+
path: "/rates/intraday",
|
|
1052
|
+
code: 400,
|
|
1053
|
+
error: "VALIDATION_ERROR",
|
|
1054
|
+
message: "Invalid Date: The provided date does not exist."
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
futureDate: {
|
|
1058
|
+
summary: "Date is in the future",
|
|
1059
|
+
value: {
|
|
1060
|
+
timestamp: "2026-10-27T09:12:42.858Z",
|
|
1061
|
+
path: "/rates/intraday",
|
|
1062
|
+
code: 400,
|
|
1063
|
+
error: "VALIDATION_ERROR",
|
|
1064
|
+
message: "Invalid date: intraday rates are not available for future dates"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
invalidStartTime: {
|
|
1068
|
+
summary: "startTime is not a 24-hour HH:mm time",
|
|
1069
|
+
value: {
|
|
1070
|
+
timestamp: "2026-10-27T09:12:43.093Z",
|
|
1071
|
+
path: "/rates/intraday",
|
|
1072
|
+
code: 400,
|
|
1073
|
+
error: "VALIDATION_ERROR",
|
|
1074
|
+
message: "Invalid startTime: expected a 24-hour time in HH:mm (UTC), e.g. 14:30"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
startTimeNotOnMark: {
|
|
1078
|
+
summary: "startTime does not fall on a mark of the interval",
|
|
1079
|
+
value: {
|
|
1080
|
+
timestamp: "2026-10-27T09:12:43.330Z",
|
|
1081
|
+
path: "/rates/intraday",
|
|
1082
|
+
code: 400,
|
|
1083
|
+
error: "VALIDATION_ERROR",
|
|
1084
|
+
message: "Invalid startTime '14:30': it must fall on a 1h mark (minutes since 00:00 divisible by 60)"
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
noIntradayForSymbol: {
|
|
1088
|
+
summary: "Symbol is updated hourly or less often",
|
|
1089
|
+
value: {
|
|
1090
|
+
timestamp: "2026-10-27T09:12:43.571Z",
|
|
1091
|
+
path: "/rates/intraday",
|
|
1092
|
+
code: 400,
|
|
1093
|
+
error: "BAD_REQUEST",
|
|
1094
|
+
message: "Intraday rates are not available for NG-EU: they exist only for symbols updated every second, minute or 10 minutes"
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
unknownInterval: {
|
|
1098
|
+
summary: "Interval is not a supported value",
|
|
1099
|
+
value: {
|
|
1100
|
+
timestamp: "2026-10-27T09:45:36.355Z",
|
|
1101
|
+
path: "/rates/intraday",
|
|
1102
|
+
code: 400,
|
|
1103
|
+
error: "VALIDATION_ERROR",
|
|
1104
|
+
message: "Invalid interval '7m': use one of 1m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 4h, 8h, 12h, 1d"
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
headers: {
|
|
1111
|
+
"X-AF-Credits-Cost": {
|
|
1112
|
+
$ref: "#/components/headers/X-AF-Credits-Cost"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"404": {
|
|
1117
|
+
description: "Not found: Symbol not supported, or no data for the requested window",
|
|
1118
|
+
content: {
|
|
1119
|
+
"application/json": {
|
|
1120
|
+
schema: {
|
|
1121
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
1122
|
+
},
|
|
1123
|
+
examples: {
|
|
1124
|
+
symbolNotFound: {
|
|
1125
|
+
summary: "Symbol Not Found",
|
|
1126
|
+
value: {
|
|
1127
|
+
timestamp: "2026-10-27T09:12:44.012Z",
|
|
1128
|
+
path: "/rates/intraday",
|
|
1129
|
+
code: 404,
|
|
1130
|
+
error: "SYMBOL_NOT_FOUND",
|
|
1131
|
+
message: "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
1132
|
+
unresolved: {
|
|
1133
|
+
FAKESYM: {
|
|
1134
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
noDataInWindow: {
|
|
1140
|
+
summary: "No intraday data for the specified window",
|
|
1141
|
+
value: {
|
|
1142
|
+
timestamp: "2026-10-27T09:12:44.268Z",
|
|
1143
|
+
path: "/rates/intraday",
|
|
1144
|
+
code: 404,
|
|
1145
|
+
error: "DATA_NOT_FOUND",
|
|
1146
|
+
message: "No intraday data found for the specified window"
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
headers: {
|
|
1153
|
+
"X-AF-Credits-Cost": {
|
|
1154
|
+
$ref: "#/components/headers/X-AF-Credits-Cost"
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
components: {
|
|
1163
|
+
securitySchemes: {
|
|
1164
|
+
ApiKeyAuthHeader: {
|
|
1165
|
+
type: "apiKey",
|
|
1166
|
+
in: "header",
|
|
1167
|
+
name: "X-apiKey",
|
|
1168
|
+
description: "Pass your API key via the X-apiKey request header."
|
|
1169
|
+
},
|
|
1170
|
+
ApiKeyAuthQuery: {
|
|
1171
|
+
type: "apiKey",
|
|
1172
|
+
in: "query",
|
|
1173
|
+
name: "apiKey",
|
|
1174
|
+
description: "Pass your API key via the apiKey query parameter."
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
schemas: {
|
|
1178
|
+
CommodityIntradayResponse: {
|
|
1179
|
+
type: "object",
|
|
1180
|
+
description: "Intraday response containing the prices of the requested symbol keyed by UTC timestamp.",
|
|
1181
|
+
required: [
|
|
1182
|
+
"success",
|
|
1183
|
+
"symbol",
|
|
1184
|
+
"date",
|
|
1185
|
+
"interval",
|
|
1186
|
+
"startTime",
|
|
1187
|
+
"count",
|
|
1188
|
+
"nextStartTime",
|
|
1189
|
+
"rates"
|
|
1190
|
+
],
|
|
1191
|
+
properties: {
|
|
1192
|
+
success: {
|
|
1193
|
+
type: "boolean",
|
|
1194
|
+
description: "`true` for successful requests."
|
|
1195
|
+
},
|
|
1196
|
+
symbol: {
|
|
1197
|
+
type: "string",
|
|
1198
|
+
description: "The symbol the prices belong to."
|
|
1199
|
+
},
|
|
1200
|
+
date: {
|
|
1201
|
+
type: "string",
|
|
1202
|
+
description: "The UTC day requested. Format: `YYYY-MM-DD`.",
|
|
1203
|
+
pattern: "^\\d{4}-\\d{2}-\\d{2}$"
|
|
1204
|
+
},
|
|
1205
|
+
interval: {
|
|
1206
|
+
type: "string",
|
|
1207
|
+
description: "The interval used, in lowercase form (`5M` comes back as `5m`).",
|
|
1208
|
+
enum: [
|
|
1209
|
+
"1m",
|
|
1210
|
+
"5m",
|
|
1211
|
+
"10m",
|
|
1212
|
+
"15m",
|
|
1213
|
+
"30m",
|
|
1214
|
+
"45m",
|
|
1215
|
+
"1h",
|
|
1216
|
+
"2h",
|
|
1217
|
+
"4h",
|
|
1218
|
+
"8h",
|
|
1219
|
+
"12h",
|
|
1220
|
+
"1d"
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
startTime: {
|
|
1224
|
+
type: "string",
|
|
1225
|
+
description: "First mark of the window, `HH:mm` UTC.",
|
|
1226
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
1227
|
+
},
|
|
1228
|
+
count: {
|
|
1229
|
+
type: "integer",
|
|
1230
|
+
description: "Number of points in `rates` (at most 100).",
|
|
1231
|
+
maximum: 100,
|
|
1232
|
+
minimum: 0
|
|
1233
|
+
},
|
|
1234
|
+
nextStartTime: {
|
|
1235
|
+
anyOf: [
|
|
1236
|
+
{
|
|
1237
|
+
type: "string",
|
|
1238
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
type: "null"
|
|
1242
|
+
}
|
|
1243
|
+
],
|
|
1244
|
+
description: "`HH:mm` value to pass as `startTime` for the next page, or `null` when the window reached the end of the day (or the current minute, for today)."
|
|
1245
|
+
},
|
|
1246
|
+
rates: {
|
|
1247
|
+
type: "object",
|
|
1248
|
+
description: "Prices keyed by ISO 8601 UTC timestamp (for example `2026-10-14T18:00:00Z`), in ascending order. Values are rounded to two decimals. A mark with no recorded price is left out rather than filled in.",
|
|
1249
|
+
additionalProperties: {
|
|
1250
|
+
type: "number",
|
|
1251
|
+
format: "float"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
metadata: {
|
|
1255
|
+
type: "object",
|
|
1256
|
+
description: "Unit and currency of the prices, keyed by the requested symbol. Omitted when the request sets `metadata=false`.",
|
|
1257
|
+
additionalProperties: {
|
|
1258
|
+
$ref: "#/components/schemas/CommodityIntradayMetadata"
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
unresolved: {
|
|
1262
|
+
type: "object",
|
|
1263
|
+
description: "Present when the symbol you sent was matched to a single alternative (200, with `resolvedTo`, for example `GOLD` answered as `XAU`), or not recognized at all (404, with a `suggestions` array when close matches exist).",
|
|
1264
|
+
additionalProperties: {
|
|
1265
|
+
type: "object",
|
|
1266
|
+
properties: {
|
|
1267
|
+
message: {
|
|
1268
|
+
type: "string",
|
|
1269
|
+
description: "Detail message explaining how this symbol was handled."
|
|
1270
|
+
},
|
|
1271
|
+
resolvedTo: {
|
|
1272
|
+
type: "string",
|
|
1273
|
+
description: "The supported symbol the request was answered with."
|
|
1274
|
+
},
|
|
1275
|
+
suggestions: {
|
|
1276
|
+
type: "array",
|
|
1277
|
+
description: "Optional list of supported symbols that closely match the unresolved symbol.",
|
|
1278
|
+
items: {
|
|
1279
|
+
type: "string"
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
CommodityIntradayMetadata: {
|
|
1288
|
+
type: "object",
|
|
1289
|
+
description: "Unit and currency of the prices for one commodity.",
|
|
1290
|
+
properties: {
|
|
1291
|
+
unit: {
|
|
1292
|
+
type: "string",
|
|
1293
|
+
description: "Unit the commodity is priced in (for example `T.oz` or `Bbl`)."
|
|
1294
|
+
},
|
|
1295
|
+
quote: {
|
|
1296
|
+
type: "string",
|
|
1297
|
+
description: "Currency the prices are quoted in (for example `USD`)."
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
ErrorResponse: {
|
|
1302
|
+
type: "object",
|
|
1303
|
+
description: "Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead: check whichever is present.",
|
|
1304
|
+
required: [
|
|
1305
|
+
"message"
|
|
1306
|
+
],
|
|
1307
|
+
properties: {
|
|
1308
|
+
error: {
|
|
1309
|
+
type: "string",
|
|
1310
|
+
description: "Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND)."
|
|
1311
|
+
},
|
|
1312
|
+
message: {
|
|
1313
|
+
type: "string",
|
|
1314
|
+
description: "Human-readable error message describing the failure."
|
|
1315
|
+
},
|
|
1316
|
+
path: {
|
|
1317
|
+
type: "string",
|
|
1318
|
+
description: "API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error."
|
|
1319
|
+
},
|
|
1320
|
+
status: {
|
|
1321
|
+
type: "integer",
|
|
1322
|
+
description: "HTTP status code. Present on gateway-level errors."
|
|
1323
|
+
},
|
|
1324
|
+
code: {
|
|
1325
|
+
type: "integer",
|
|
1326
|
+
description: "HTTP status code. Present on commodity-service errors instead of status."
|
|
1327
|
+
},
|
|
1328
|
+
timestamp: {
|
|
1329
|
+
type: "string",
|
|
1330
|
+
format: "date-time",
|
|
1331
|
+
description: "Timestamp when the error occurred (ISO 8601)."
|
|
1332
|
+
},
|
|
1333
|
+
unresolved: {
|
|
1334
|
+
type: "object",
|
|
1335
|
+
description: "Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.",
|
|
1336
|
+
additionalProperties: {
|
|
1337
|
+
type: "object",
|
|
1338
|
+
properties: {
|
|
1339
|
+
message: {
|
|
1340
|
+
type: "string",
|
|
1341
|
+
description: "Detail message explaining why this symbol was not resolved."
|
|
1342
|
+
},
|
|
1343
|
+
suggestions: {
|
|
1344
|
+
type: "array",
|
|
1345
|
+
description: "Optional list of supported symbols that closely match the unresolved symbol.",
|
|
1346
|
+
items: {
|
|
1347
|
+
type: "string"
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
headers: {
|
|
1357
|
+
"X-AF-Credits-Cost": {
|
|
1358
|
+
description: "Specifies the number of credits consumed by the current request.",
|
|
1359
|
+
schema: {
|
|
1360
|
+
type: "integer"
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
security: [
|
|
1366
|
+
{
|
|
1367
|
+
ApiKeyAuthHeader: []
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
ApiKeyAuthQuery: []
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
};
|
|
1374
|
+
|
|
675
1375
|
// specs/commodity/commodity-prices.json
|
|
676
1376
|
var commodity_prices_default = {
|
|
677
1377
|
openapi: "3.1.1",
|
|
678
1378
|
info: {
|
|
679
1379
|
title: "Live Commodity Prices API - Real Time Market Insights",
|
|
680
1380
|
version: "2.0.0",
|
|
681
|
-
description: "Real-time prices for
|
|
1381
|
+
description: "Real-time prices for 520+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.",
|
|
682
1382
|
contact: {
|
|
683
1383
|
name: "APIFreaks Support",
|
|
684
1384
|
url: "https://apifreaks.com/contact",
|
|
@@ -808,7 +1508,7 @@ var commodity_prices_default = {
|
|
|
808
1508
|
},
|
|
809
1509
|
unresolved: {
|
|
810
1510
|
FAKESYM: {
|
|
811
|
-
message: "We don't
|
|
1511
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
812
1512
|
}
|
|
813
1513
|
}
|
|
814
1514
|
}
|
|
@@ -916,7 +1616,7 @@ var commodity_prices_default = {
|
|
|
916
1616
|
message: "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
917
1617
|
unresolved: {
|
|
918
1618
|
FAKESYM: {
|
|
919
|
-
message: "We don't
|
|
1619
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
920
1620
|
}
|
|
921
1621
|
}
|
|
922
1622
|
}
|
|
@@ -1152,7 +1852,7 @@ var commodity_symbols_default = {
|
|
|
1152
1852
|
info: {
|
|
1153
1853
|
title: "Commodity Symbols API Reference",
|
|
1154
1854
|
version: "2.0.0",
|
|
1155
|
-
description: 'Full catalog of
|
|
1855
|
+
description: 'Full catalog of 520+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: "inactive"` and a `deprecationDate`.',
|
|
1156
1856
|
contact: {
|
|
1157
1857
|
name: "APIFreaks Support",
|
|
1158
1858
|
url: "https://apifreaks.com/contact",
|
|
@@ -1627,7 +2327,7 @@ var commodity_time_series_default = {
|
|
|
1627
2327
|
},
|
|
1628
2328
|
unresolved: {
|
|
1629
2329
|
FAKESYM: {
|
|
1630
|
-
message: "We don't
|
|
2330
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
1631
2331
|
}
|
|
1632
2332
|
}
|
|
1633
2333
|
}
|
|
@@ -1743,7 +2443,7 @@ var commodity_time_series_default = {
|
|
|
1743
2443
|
message: "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
1744
2444
|
unresolved: {
|
|
1745
2445
|
FAKESYM: {
|
|
1746
|
-
message: "We don't
|
|
2446
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
1747
2447
|
}
|
|
1748
2448
|
}
|
|
1749
2449
|
}
|
|
@@ -2078,7 +2778,7 @@ var historical_commodity_prices_default = {
|
|
|
2078
2778
|
},
|
|
2079
2779
|
unresolved: {
|
|
2080
2780
|
FAKESYM: {
|
|
2081
|
-
message: "We don't
|
|
2781
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
2082
2782
|
}
|
|
2083
2783
|
}
|
|
2084
2784
|
}
|
|
@@ -2184,7 +2884,7 @@ var historical_commodity_prices_default = {
|
|
|
2184
2884
|
message: "The symbol is not supported, please visit the documentation for a list of supported symbols",
|
|
2185
2885
|
unresolved: {
|
|
2186
2886
|
FAKESYM: {
|
|
2187
|
-
message: "We don't
|
|
2887
|
+
message: "We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses."
|
|
2188
2888
|
}
|
|
2189
2889
|
}
|
|
2190
2890
|
}
|
|
@@ -9979,12 +10679,12 @@ var bulk_disposable_email_checker_default = {
|
|
|
9979
10679
|
},
|
|
9980
10680
|
servers: [
|
|
9981
10681
|
{
|
|
9982
|
-
url: "https://api.apifreaks.com/
|
|
10682
|
+
url: "https://api.apifreaks.com/v2.0",
|
|
9983
10683
|
description: "Bulk Disposable Email Checker API Server"
|
|
9984
10684
|
}
|
|
9985
10685
|
],
|
|
9986
10686
|
paths: {
|
|
9987
|
-
"/email/disposable/bulk": {
|
|
10687
|
+
"/email/disposable-check/bulk": {
|
|
9988
10688
|
post: {
|
|
9989
10689
|
tags: ["Email Validation APIs"],
|
|
9990
10690
|
summary: "Check multiple emails for disposable/temporary domains",
|
|
@@ -10144,7 +10844,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10144
10844
|
value: {
|
|
10145
10845
|
error: "Missing or Invalid Parameters",
|
|
10146
10846
|
message: "Please pass at least one entry in 'emailData'.",
|
|
10147
|
-
path: "/
|
|
10847
|
+
path: "/v2.0/email/disposable-check/bulk",
|
|
10148
10848
|
status: 400,
|
|
10149
10849
|
timestamp: "2026-10-13T10:39:42.887Z"
|
|
10150
10850
|
}
|
|
@@ -10154,7 +10854,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10154
10854
|
value: {
|
|
10155
10855
|
error: "Missing or Invalid Parameters",
|
|
10156
10856
|
message: "'emailData' must not contain null entries or entries without a valid 'email'.",
|
|
10157
|
-
path: "/
|
|
10857
|
+
path: "/v2.0/email/disposable-check/bulk",
|
|
10158
10858
|
status: 400,
|
|
10159
10859
|
timestamp: "2026-10-13T10:39:44.002Z"
|
|
10160
10860
|
}
|
|
@@ -10164,7 +10864,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10164
10864
|
value: {
|
|
10165
10865
|
error: "Invalid Param Exception",
|
|
10166
10866
|
message: "Please provide apiKey",
|
|
10167
|
-
path: "/
|
|
10867
|
+
path: "/v2.0/email/disposable-check/bulk",
|
|
10168
10868
|
status: 400,
|
|
10169
10869
|
timestamp: "2026-10-13T10:40:02.684Z"
|
|
10170
10870
|
}
|
|
@@ -10190,7 +10890,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10190
10890
|
value: {
|
|
10191
10891
|
error: "API Access Exception",
|
|
10192
10892
|
message: "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
10193
|
-
path: "/
|
|
10893
|
+
path: "/v2.0/email/disposable-check/bulk",
|
|
10194
10894
|
status: 401,
|
|
10195
10895
|
timestamp: "2026-10-13T10:40:03.166Z"
|
|
10196
10896
|
}
|
|
@@ -10211,7 +10911,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10211
10911
|
value: {
|
|
10212
10912
|
error: "Resource Not Found",
|
|
10213
10913
|
message: "The requested resource could not be found. Please verify the URL and try again.",
|
|
10214
|
-
path: "/
|
|
10914
|
+
path: "/v2.0/email/disposable-check/bulkx",
|
|
10215
10915
|
status: 404,
|
|
10216
10916
|
timestamp: "2026-10-13T11:00:08.337Z"
|
|
10217
10917
|
}
|
|
@@ -10237,7 +10937,7 @@ var bulk_disposable_email_checker_default = {
|
|
|
10237
10937
|
value: {
|
|
10238
10938
|
error: "Payload too large Exception",
|
|
10239
10939
|
message: "Maximum request body size limit exceeded",
|
|
10240
|
-
path: "/
|
|
10940
|
+
path: "/v2.0/email/disposable-check/bulk",
|
|
10241
10941
|
status: 413,
|
|
10242
10942
|
timestamp: "2026-10-13T10:39:58.052Z"
|
|
10243
10943
|
}
|
|
@@ -11329,12 +12029,12 @@ var disposable_email_checker_default = {
|
|
|
11329
12029
|
},
|
|
11330
12030
|
servers: [
|
|
11331
12031
|
{
|
|
11332
|
-
url: "https://api.apifreaks.com/
|
|
12032
|
+
url: "https://api.apifreaks.com/v2.0",
|
|
11333
12033
|
description: "Disposable Email Checker API Server"
|
|
11334
12034
|
}
|
|
11335
12035
|
],
|
|
11336
12036
|
paths: {
|
|
11337
|
-
"/email/disposable": {
|
|
12037
|
+
"/email/disposable-check": {
|
|
11338
12038
|
post: {
|
|
11339
12039
|
tags: ["Email Validation APIs"],
|
|
11340
12040
|
summary: "Check a single email for disposable/temporary domain",
|
|
@@ -11607,7 +12307,7 @@ var disposable_email_checker_default = {
|
|
|
11607
12307
|
value: {
|
|
11608
12308
|
error: "Invalid Param Exception",
|
|
11609
12309
|
message: "Please provide apiKey",
|
|
11610
|
-
path: "/
|
|
12310
|
+
path: "/v2.0/email/disposable-check",
|
|
11611
12311
|
status: 400,
|
|
11612
12312
|
timestamp: "2026-10-13T10:40:12.475Z"
|
|
11613
12313
|
}
|
|
@@ -11633,7 +12333,7 @@ var disposable_email_checker_default = {
|
|
|
11633
12333
|
value: {
|
|
11634
12334
|
error: "API Access Exception",
|
|
11635
12335
|
message: "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
11636
|
-
path: "/
|
|
12336
|
+
path: "/v2.0/email/disposable-check",
|
|
11637
12337
|
status: 401,
|
|
11638
12338
|
timestamp: "2026-10-13T10:40:13.056Z"
|
|
11639
12339
|
}
|
|
@@ -11654,7 +12354,7 @@ var disposable_email_checker_default = {
|
|
|
11654
12354
|
value: {
|
|
11655
12355
|
error: "Resource Not Found",
|
|
11656
12356
|
message: "The requested resource could not be found. Please verify the URL and try again.",
|
|
11657
|
-
path: "/
|
|
12357
|
+
path: "/v2.0/email/disposable-checkx",
|
|
11658
12358
|
status: 404,
|
|
11659
12359
|
timestamp: "2026-10-13T11:00:07.798Z"
|
|
11660
12360
|
}
|
|
@@ -52191,6 +52891,7 @@ var zip_codes_radius_search_default = {
|
|
|
52191
52891
|
var SPECS = {
|
|
52192
52892
|
"usage-credits": usage_credits_default,
|
|
52193
52893
|
"commodity-fluctuation": commodity_fluctuation_default,
|
|
52894
|
+
"commodity-intraday-rates": commodity_intraday_rates_default,
|
|
52194
52895
|
"commodity-prices": commodity_prices_default,
|
|
52195
52896
|
"commodity-symbols": commodity_symbols_default,
|
|
52196
52897
|
"commodity-time-series": commodity_time_series_default,
|
|
@@ -52298,14 +52999,15 @@ var SPECS = {
|
|
|
52298
52999
|
"zip-codes-by-region": zip_codes_by_region_default,
|
|
52299
53000
|
"zip-codes-radius-search": zip_codes_radius_search_default
|
|
52300
53001
|
};
|
|
52301
|
-
var SPEC_SLUGS = ["usage-credits", "commodity-fluctuation", "commodity-prices", "commodity-symbols", "commodity-time-series", "historical-commodity-prices", "currency-converter", "currency-fluctuation", "currency-historical-data-limit", "currency-rate", "currency-supported", "currency-symbols", "currency-time-series", "geolocalized-currency-conversion", "historical-currency-converter", "historical-currency-rate", "bulk-dns-lookup", "dns-history-lookup", "dns-lookup", "reverse-dns-lookup", "bulk-domain-checker", "domain-reputation", "domain-search-with-suggestions", "domain-search", "domain-typosquatting", "subdomain-lookup", "bulk-disposable-email-checker", "bulk-email-validation", "disposable-email-checker", "email-checker", "bulk-vat-rates-country", "financial-apis-supported-countries", "iban-validation", "swift-code-finder", "swift-code-lookup", "vat-number-validation", "vat-rates-by-ip", "vat-rates-country", "forward-geocoding", "reverse-geocoding", "administrative-units-details", "administrative-units-levels", "administrative-units", "cities", "countries-details", "countries", "flags-supported", "flags", "regions", "subregions", "bulk-ip-lookup", "bulk-ip-threat-intelligence", "ip-locator", "ip-threat-intelligence", "delete-pdf-page", "linearize-pdf", "merge-pdf", "pdf-compress", "pdf-decrypt", "pdf-encrypt", "pdf-extract-pages", "pdf-file-status", "pdf-file", "pdf-files", "pdf-generator-bulk", "pdf-generator", "pdf-resource-download", "pdf-resource-upload-binary", "pdf-resource-upload", "pdf-restrict", "pdf-task-status", "pdf-to-image", "pdf-unrestrict", "rotate-pdf-pages", "split-pdf", "bulk-phone-number-validation", "phone-validation", "web-scraper", "bulk-screenshot", "website-screenshot", "ssl-certificate-chain-lookup", "ssl-certificate-lookup", "timezone-converter", "timezone-lookup", "bulk-user-agent-parser", "user-agent-parser", "air-quality", "astronomy-data", "bulk-live-weather", "flood-forecast", "historical-weather", "live-weather", "marine-weather", "time-series-weather", "weather-forecast", "asn-lookup", "bulk-whois-lookup", "domain-whois-history-lookup", "reverse-whois", "whois-domain-lookup", "whois-ip-lookup", "bulk-zip-code-lookup", "zip-code-api", "zip-code-distance-match", "zip-code-distance", "zip-codes-by-city", "zip-codes-by-region", "zip-codes-radius-search"];
|
|
53002
|
+
var SPEC_SLUGS = ["usage-credits", "commodity-fluctuation", "commodity-intraday-rates", "commodity-prices", "commodity-symbols", "commodity-time-series", "historical-commodity-prices", "currency-converter", "currency-fluctuation", "currency-historical-data-limit", "currency-rate", "currency-supported", "currency-symbols", "currency-time-series", "geolocalized-currency-conversion", "historical-currency-converter", "historical-currency-rate", "bulk-dns-lookup", "dns-history-lookup", "dns-lookup", "reverse-dns-lookup", "bulk-domain-checker", "domain-reputation", "domain-search-with-suggestions", "domain-search", "domain-typosquatting", "subdomain-lookup", "bulk-disposable-email-checker", "bulk-email-validation", "disposable-email-checker", "email-checker", "bulk-vat-rates-country", "financial-apis-supported-countries", "iban-validation", "swift-code-finder", "swift-code-lookup", "vat-number-validation", "vat-rates-by-ip", "vat-rates-country", "forward-geocoding", "reverse-geocoding", "administrative-units-details", "administrative-units-levels", "administrative-units", "cities", "countries-details", "countries", "flags-supported", "flags", "regions", "subregions", "bulk-ip-lookup", "bulk-ip-threat-intelligence", "ip-locator", "ip-threat-intelligence", "delete-pdf-page", "linearize-pdf", "merge-pdf", "pdf-compress", "pdf-decrypt", "pdf-encrypt", "pdf-extract-pages", "pdf-file-status", "pdf-file", "pdf-files", "pdf-generator-bulk", "pdf-generator", "pdf-resource-download", "pdf-resource-upload-binary", "pdf-resource-upload", "pdf-restrict", "pdf-task-status", "pdf-to-image", "pdf-unrestrict", "rotate-pdf-pages", "split-pdf", "bulk-phone-number-validation", "phone-validation", "web-scraper", "bulk-screenshot", "website-screenshot", "ssl-certificate-chain-lookup", "ssl-certificate-lookup", "timezone-converter", "timezone-lookup", "bulk-user-agent-parser", "user-agent-parser", "air-quality", "astronomy-data", "bulk-live-weather", "flood-forecast", "historical-weather", "live-weather", "marine-weather", "time-series-weather", "weather-forecast", "asn-lookup", "bulk-whois-lookup", "domain-whois-history-lookup", "reverse-whois", "whois-domain-lookup", "whois-ip-lookup", "bulk-zip-code-lookup", "zip-code-api", "zip-code-distance-match", "zip-code-distance", "zip-codes-by-city", "zip-codes-by-region", "zip-codes-radius-search"];
|
|
52302
53003
|
var SPECS_YAML = {
|
|
52303
53004
|
"usage-credits": "openapi: 3.1.1\ninfo:\n title: Credits Usage API\n version: 1.0.0\n description: Retrieve the remaining and consumed API credit balances for the authenticated organization. Returns subscription-plan credits, subscription surcharge (overage) credits, and one-off credit purchases as separate balances, each with allowed and used counts. Only an organization admin API key can call this endpoint; all other keys receive a 403. There are no optional data modules for this endpoint \u2014 the response always includes the full credit breakdown.\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: Credits Usage API Server\npaths:\n /credits/usage/info:\n get:\n tags:\n - General APIs\n summary: Get remaining and consumed API credit balances for the organization\n description: Returns subscription, subscription-surcharge, and one-off credit balances for the authenticated organization's account.\n operationId: getCreditsUsage\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 responses:\n '200':\n description: Successful response with credit balances\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CreditsUsageResponse'\n examples:\n success:\n summary: Typical response\n value:\n apiKey: demo\n userStatus: active\n subActive: true\n subStatus: active\n subAllowedCredits: 10000\n subUsedCredits: 2500\n subSurchargeStatus: none\n subSurchargeAllowedCredits: 0\n subSurchargeUsedCredits: 0\n subSurchargeAllowed: false\n oneOffCreditsActive: true\n oneOffAllowedCredits: 5000\n oneOffUsedCredits: 1000\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 Caller is not an organization admin\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n notOrgAdmin:\n summary: Not an organization admin\n value:\n timestamp: '2026-07-27T10:23:16.548Z'\n path: /v1.0/credits/usage/info\n status: 403\n error: API Access Exception\n message: You need to be organization admin to access this endpoint.\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 CreditsUsageResponse:\n type: object\n description: Credit balances for the organization's subscription, subscription surcharge, and one-off purchases.\n required:\n - apiKey\n - userStatus\n - oneOffCreditsActive\n - oneOffAllowedCredits\n - oneOffUsedCredits\n properties:\n apiKey:\n type: string\n description: The API key the credit balances belong to.\n userStatus:\n type: string\n enum:\n - active\n - inactive\n - deleted\n description: Status of the user account.\n subActive:\n type:\n - boolean\n - 'null'\n description: Whether a subscription plan is currently active. Null if the account has no subscription.\n subStatus:\n type:\n - string\n - 'null'\n enum:\n - active\n - overdue\n - cancelled\n - deactivated\n - null\n description: Status of the subscription credits. Null if the account has no subscription.\n subAllowedCredits:\n type:\n - integer\n - 'null'\n description: Total credits allowed under the subscription plan. Null if the account has no subscription.\n subUsedCredits:\n type:\n - integer\n - 'null'\n description: Credits consumed under the subscription plan. Null if the account has no subscription.\n subSurchargeStatus:\n type:\n - string\n - 'null'\n enum:\n - none\n - payment_added\n - payment_cleared\n - null\n description: Status of the subscription surcharge (overage) credits. Null if the account has no subscription.\n subSurchargeAllowedCredits:\n type:\n - integer\n - 'null'\n description: Total surcharge credits allowed. Null if the account has no subscription.\n subSurchargeUsedCredits:\n type:\n - integer\n - 'null'\n description: Surcharge credits consumed. Null if the account has no subscription.\n subSurchargeAllowed:\n type:\n - boolean\n - 'null'\n description: Whether surcharge (overage) usage is allowed on the subscription. Null if the account has no subscription.\n oneOffCreditsActive:\n type: boolean\n description: Whether the account has active one-off (pay-as-you-go) credits.\n oneOffAllowedCredits:\n type: integer\n description: Total one-off credits purchased.\n oneOffUsedCredits:\n type: integer\n description: One-off credits consumed.\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",
|
|
52304
|
-
"commodity-fluctuation": "openapi: 3.1.1\ninfo:\n title: 'Commodity Fluctuation API '\n version: 2.0.0\n description: Price change and percentage movement for one or more commodities over a custom date range, with no limit on range length. For monthly-updated commodities the range snaps to month boundaries. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Commodity Fluctuation API Server\npaths:\n /commodity/fluctuation:\n get:\n tags:\n - Commodity APIs\n summary: Get commodity price fluctuations\n description: Returns price fluctuation metrics (start, end, change, percent change) for the requested commodity symbols over a date range.\n operationId: getCommodityFluctuation\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: startDate\n in: query\n required: true\n description: Start date in `YYYY-MM-DD` format.\n schema:\n type: string\n - name: endDate\n in: query\n required: true\n description: End date in `YYYY-MM-DD` format.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityFluctuationResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n startDate: '2024-01-01'\n endDate: '2024-01-31'\n rates:\n WTIOIL-SPOT:\n startRate: 72.02\n endRate: 75.81\n change: 3.79\n changePercent: 5.26\n XAU:\n startRate: 2063.63\n endRate: 2039.83\n change: -23.8\n changePercent: -1.15\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityFluctuationResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n startDate: '2024-01-01'\n endDate: '2024-01-31'\n rates:\n XAU:\n startRate: 2063.63\n endRate: 2039.83\n change: -23.8\n changePercent: -1.15\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters or invalid dates\n content:\n application/json:\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/fluctuation\n status: 400\n timestamp: '2026-09-14T08:43:46.481Z'\n invalidDateFormat:\n summary: Date is not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-27T11:37:22.687Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: Invalid Date Format (YYYY-MM-DD).\n dateNotExist:\n summary: Date does not exist on the calendar (e.g. Feb 30)\n value:\n timestamp: '2026-07-27T11:37:33.565Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided start date or end date does not exist.'\n startAfterEnd:\n summary: startDate is after endDate\n value:\n timestamp: '2026-07-27T11:37:23.206Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: Start date cannot be after end date\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:43:48.408Z'\n path: /rates/fluctuation\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or data not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:43:48.408Z'\n path: /rates/fluctuation\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n noData:\n summary: No data available for the given date range\n value:\n timestamp: '2026-09-14T08:44:31.022Z'\n path: /rates/fluctuation\n code: 404\n error: DATA_NOT_FOUND\n message: No data found for the given date range\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 CommodityFluctuationResponse:\n type: object\n required:\n - success\n - startDate\n - endDate\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n startDate:\n type: string\n description: Start date of the interval (YYYY-MM-DD).\n endDate:\n type: string\n description: End date of the interval (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/CommodityFluctuationRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Commodity fluctuation response containing price change data per symbol over a date range.\n CommodityFluctuationRates:\n type: object\n description: Map of requested commodity symbols to their fluctuation metrics. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n title: CommodityFluctuationItem\n type: object\n description: Fluctuation metrics for a single commodity over a date range.\n required:\n - startRate\n - endRate\n - change\n - changePercent\n properties:\n startRate:\n type: number\n format: float\n description: Price of the commodity on the start date.\n endRate:\n type: number\n format: float\n description: Price of the commodity on the end date.\n change:\n type: number\n format: float\n description: Absolute price difference between end and start dates. May be negative.\n changePercent:\n type: number\n format: float\n description: Percentage price change from start to end date. May be negative.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
52305
|
-
"commodity-prices": "openapi: 3.1.1\ninfo:\n title: Live Commodity Prices API - Real Time Market Insights\n version: 2.0.0\n description: Real-time prices for 245+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Live Commodity Prices API Server\npaths:\n /commodity/rates/latest:\n get:\n tags:\n - Commodity APIs\n summary: Get latest commodity prices\n description: Returns the current live price for the requested commodity symbols.\n operationId: getLatestCommodityPrices\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols (e.g., `XAU`, `WTIOIL-SPOT`).\n schema:\n type: string\n - name: quote\n in: query\n required: false\n description: Target currency for the exchange rate. Defaults to the market currency of each commodity.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/LiveCommodityPricesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n timestamp: 1789375397\n rates:\n XAU: 4313.04\n WTIOIL-SPOT: 100\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n WTIOIL-SPOT:\n unit: Bbl\n quote: USD\n withQuoteConversion:\n summary: Price converted to a target quote currency\n value:\n success: true\n timestamp: 1789375426\n rates:\n XAU: 3739.023\n metadata:\n XAU:\n unit: T.oz\n quote: EUR\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/LiveCommodityPricesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n timestamp: 1789376193\n rates:\n XAU: 4311.88\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n partialWithSuggestions:\n summary: Unresolved symbol with close-match suggestions\n value:\n success: true\n timestamp: 1789376644\n rates:\n XAU: 4306.06\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n unresolved:\n ZW:\n message: Did you mean ZW-SPOT (Wheat Spot) or ZW-FUT (Wheat Futures)?\n suggestions:\n - ZW-SPOT\n - ZW-FUT\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 query parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/latest\n status: 400\n timestamp: '2026-09-14T08:43:43.964Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityNotFoundError'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:43:44.957Z'\n path: /rates/latestRates\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or quote currency not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityNotFoundError'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:43:44.957Z'\n path: /rates/latestRates\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n symbolNotFoundWithSuggestions:\n summary: Symbol Not Found, with close-match suggestions\n value:\n timestamp: '2026-09-14T09:04:04.878Z'\n path: /rates/latestRates\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n ZW:\n message: Did you mean ZW-SPOT (Wheat Spot) or ZW-FUT (Wheat Futures)?\n suggestions:\n - ZW-SPOT\n - ZW-FUT\n quoteNotFound:\n summary: Quote Currency Not Found\n value:\n timestamp: '2026-09-14T08:43:45.461Z'\n path: /rates/latestRates\n code: 404\n error: QUOTE_NOT_FOUND\n message: The quote currency is invalid, please visit the documentation for a list of valid quote currencies\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 LiveCommodityPricesResponse:\n type: object\n required:\n - success\n - timestamp\n - rates\n - metadata\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n timestamp:\n type: integer\n description: Unix timestamp (seconds) indicating when the response was generated.\n rates:\n $ref: '#/components/schemas/CommodityRates'\n metadata:\n $ref: '#/components/schemas/CommodityMetadata'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n warning:\n type: string\n description: Present only when currency conversion for the requested `quote` is temporarily unavailable; rates are returned in each commodity's default currency instead.\n description: Live commodity prices response containing success status, timestamp, rates, and metadata.\n CommodityRates:\n type: object\n description: Map of requested commodity symbols to their current live price. Each key is a commodity symbol (e.g. XAU); the value is the current price.\n additionalProperties:\n title: CommodityPrice\n type: number\n description: Current live price for this commodity symbol.\n CommodityMetadata:\n type: object\n description: Map of requested commodity symbols to their unit and quote currency metadata. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n title: CommodityMetadataItem\n type: object\n description: Unit and currency metadata for a single commodity.\n required:\n - unit\n - quote\n properties:\n unit:\n type: string\n description: Unit of measurement for the commodity (e.g., Bbl, T.oz).\n quote:\n type: string\n description: Quote currency used for this commodity's price.\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 CommodityNotFoundError:\n type: object\n description: Error envelope returned by the commodity pricing service specifically for unresolvable symbol/quote errors. Uses `code` instead of `status` and an ISO 8601 `timestamp`, unlike the standard ErrorResponse.\n required:\n - code\n - error\n - message\n properties:\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n path:\n type: string\n description: Internal service path that produced the error.\n code:\n type: integer\n description: HTTP status code returned with the error.\n error:\n type: string\n description: Specific error type (e.g., SYMBOL_NOT_FOUND, QUOTE_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
52306
|
-
"commodity-symbols": "openapi: 3.1.1\ninfo:\n title: Commodity Symbols API Reference\n version: 2.0.0\n description: 'Full catalog of 245+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: \"inactive\"` and a `deprecationDate`.'\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: Commodity Symbols API Server\npaths:\n /commodity/symbols:\n get:\n tags:\n - Commodity APIs\n summary: Get all supported commodity symbols\n description: Returns the list of supported commodity symbols with metadata.\n operationId: getCommoditySymbols\n parameters:\n - name: format\n in: query\n required: false\n description: 'Response format. Accepted values: `json` (default) or `xml`.'\n schema:\n type: string\n enum:\n - json\n default: json\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommoditySymbolsResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n symbols:\n - symbol: XAU\n name: Gold\n category: Metals\n status: active\n updateInterval: PER_SECOND\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: T.oz\n name: Troy Ounce\n - symbol: NG-FUT\n name: Natural Gas Futures\n category: Energy\n status: active\n updateInterval: PER_MINUTE\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: MMBtu\n name: Million British Thermal Units\n - symbol: NG-EU\n name: Natural Gas, Europe\n category: Energy\n status: active\n updateInterval: PER_MONTH\n exchange: World Bank\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: MMBtu\n name: Million British Thermal Units\n - symbol: UANEU\n name: Urea Ammonium Nitrate\n category: Industrial\n status: inactive\n updateInterval: PER_MINUTE\n deprecationDate: '2024-04-14'\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: T\n name: Metric Ton\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 CommoditySymbolsResponse:\n type: object\n required:\n - success\n - symbols\n properties:\n success:\n type: boolean\n description: Indicates whether the API request was successful.\n symbols:\n type: array\n description: Array of commodity symbol objects with metadata.\n items:\n $ref: '#/components/schemas/CommoditySymbolItem'\n description: Commodity symbols response containing an array of supported commodity symbol objects.\n CommoditySymbolItem:\n type: object\n description: A single commodity symbol with metadata.\n required:\n - symbol\n - name\n - category\n - status\n - updateInterval\n - currency\n - unit\n properties:\n symbol:\n type: string\n description: Unique identifier/ticker symbol for the commodity (e.g., XAU, NG-FUT). Use this value in the `symbols` parameter of the rate endpoints.\n name:\n type: string\n description: Full name of the commodity (e.g., Gold, Natural Gas Futures).\n description:\n type: string\n description: Short description of the commodity. May be an empty string for some symbols.\n category:\n type: string\n description: Category the commodity belongs to (e.g., Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, Livestock).\n status:\n type: string\n enum:\n - active\n - inactive\n description: 'Current status of the commodity. `inactive` means the symbol is deprecated: latest rates are unavailable, but historical rates remain available up to its `deprecationDate`.'\n updateInterval:\n type: string\n enum:\n - PER_SECOND\n - PER_MINUTE\n - PER_10_MINUTES\n - PER_HOUR\n - PER_DAY\n - PER_WEEK\n - PER_MONTH\n description: Rate at which the price is updated.\n exchange:\n type: string\n description: Optional. Data source for the symbol (e.g., World Bank). Present only for some symbols.\n deprecationDate:\n type: string\n format: date\n description: Optional. Present only when `status` is `inactive`. Date the symbol was deprecated (YYYY-MM-DD).\n currency:\n $ref: '#/components/schemas/CommodityCurrency'\n unit:\n $ref: '#/components/schemas/CommodityUnit'\n CommodityCurrency:\n type: object\n description: Currency information for a commodity.\n required:\n - code\n - name\n - symbol\n properties:\n code:\n type: string\n description: ISO 4217 currency code.\n name:\n type: string\n description: Full name of the currency.\n symbol:\n type: string\n description: Symbol of the currency (e.g., $).\n CommodityUnit:\n type: object\n description: Unit of measurement for a commodity.\n required:\n - symbol\n - name\n properties:\n symbol:\n type: string\n description: Abbreviated unit symbol (e.g., T.oz, MMBtu).\n name:\n type: string\n description: Full name of the unit of measurement (e.g., Troy Ounce).\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",
|
|
52307
|
-
"commodity-time-series": "openapi: 3.1.1\ninfo:\n title: Commodities Time Series API\n version: 2.0.0\n description: Daily OHLC history for one or more commodities over a date range of up to 365 days, indexed by date. Non-trading days are excluded. Monthly-updated commodities only have a closing price \u2014 `open`, `high`, and `low` come back as `0`. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Commodity Time Series API Server\npaths:\n /commodity/time-series:\n get:\n tags:\n - Commodity APIs\n summary: Get commodity price time series\n description: Returns day-by-day OHLC data for the requested commodity symbols within a date range.\n operationId: getCommodityTimeSeries\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: startDate\n in: query\n required: true\n description: Start date in `YYYY-MM-DD` format.\n schema:\n type: string\n - name: endDate\n in: query\n required: true\n description: End date in `YYYY-MM-DD` format. Maximum range is 365 days.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityTimeSeriesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n startDate: '2025-01-06'\n endDate: '2025-01-08'\n rates:\n '2025-01-06':\n XAU:\n open: 2649.01\n high: 2651.33\n low: 2645.36\n close: 2646.91\n '2025-01-07':\n XAU:\n open: 2662.45\n high: 2663.06\n low: 2655.66\n close: 2658.9\n '2025-01-08':\n XAU:\n open: 2669.69\n high: 2674.68\n low: 2668.58\n close: 2671.8\n monthlyCommodity:\n summary: Monthly-updated commodity (open/high/low unavailable)\n value:\n success: true\n startDate: '2025-01-01'\n endDate: '2025-03-01'\n rates:\n '2025-01-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 14.66\n '2025-02-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 15.34\n '2025-03-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 13.24\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityTimeSeriesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n startDate: '2025-01-06'\n endDate: '2025-01-08'\n rates:\n '2025-01-06':\n XAU:\n open: 2649.01\n high: 2651.33\n low: 2645.36\n close: 2646.91\n '2025-01-07':\n XAU:\n open: 2662.45\n high: 2663.06\n low: 2655.66\n close: 2658.9\n '2025-01-08':\n XAU:\n open: 2669.69\n high: 2674.68\n low: 2668.58\n close: 2671.8\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters, invalid dates, or date range exceeded\n content:\n application/json:\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/time-series\n status: 400\n timestamp: '2026-09-14T08:43:58.547Z'\n invalidDate:\n summary: Date does not exist on the calendar\n value:\n timestamp: '2026-07-27T11:38:41.234Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided start date or end date does not exist.'\n startAfterEnd:\n summary: startDate is after endDate\n value:\n timestamp: '2026-07-27T11:38:41.234Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: start date cannot be after end date\n dateRangeExceeded:\n summary: Date range exceeds 365 days\n value:\n timestamp: '2026-07-27T11:38:40.699Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: Date range exceeds the allowed limit.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:44:00.586Z'\n path: /rates/time-series\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or data not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:44:00.586Z'\n path: /rates/time-series\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n dataNotFound:\n summary: No data available for the given date range\n value:\n timestamp: '2026-09-14T08:44:31.547Z'\n path: /rates/time-series\n code: 404\n error: DATA_NOT_FOUND\n message: No data found for the specified date range\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 CommodityTimeSeriesResponse:\n type: object\n required:\n - success\n - startDate\n - endDate\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n startDate:\n type: string\n description: Start date of the time series (YYYY-MM-DD).\n endDate:\n type: string\n description: End date of the time series (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/CommodityTimeSeriesRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved on any date in the range. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Commodity time series response containing date-indexed OHLC data per symbol.\n CommodityTimeSeriesRates:\n type: object\n description: Map of trading dates to per-symbol OHLC data. Each key is a trading date (YYYY-MM-DD); non-trading days are excluded.\n additionalProperties:\n title: CommodityTimeSeriesSymbolData\n type: object\n description: Map of commodity symbols to their OHLC data for a single trading date. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n $ref: '#/components/schemas/CommodityOhlc'\n CommodityOhlc:\n type: object\n description: OHLC price data for a single commodity on a single trading day. For monthly-updated commodities, only `close` is meaningful \u2014 `open`, `high`, and `low` are returned as `0`.\n required:\n - open\n - high\n - low\n - close\n properties:\n open:\n type: number\n format: float\n description: Opening price on the given date. `0` for monthly-updated commodities.\n high:\n type: number\n format: float\n description: Highest price on the given date. `0` for monthly-updated commodities.\n low:\n type: number\n format: float\n description: Lowest price on the given date. `0` for monthly-updated commodities.\n close:\n type: number\n format: float\n description: Closing price on the given date.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
52308
|
-
"historical-commodity-prices": "openapi: 3.1.1\ninfo:\n title: Historical Commodity Prices, Delivered Simply.\n version: 2.0.0\n description: OHLC price data for one or more commodities on a specific date, back to January 1990. Falls back to the nearest earlier rate if none exists for the exact date. Monthly-updated commodities only have a closing price \u2014 `open`, `high`, and `low` come back as `0`. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Historical Commodity Prices API Server\npaths:\n /commodity/rates/historical:\n get:\n tags:\n - Commodity APIs\n summary: Get historical commodity prices\n description: Returns OHLC price data for the requested commodity symbols on a specific date.\n operationId: getHistoricalCommodityPrices\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: date\n in: query\n required: true\n description: Date in `YYYY-MM-DD` format. Data available from 1990 onwards.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalCommodityPricesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n date: '2025-01-10'\n rates:\n WTIOIL-SPOT:\n date: '2025-01-10'\n open: 73.77\n high: 77.16\n low: 73.55\n close: 75.97\n XAU:\n date: '2025-01-10'\n open: 2669.93\n high: 2697.85\n low: 2663.61\n close: 2689.44\n monthlyCommodity:\n summary: Monthly-updated commodity (open/high/low unavailable)\n value:\n success: true\n date: '2025-01-10'\n rates:\n NG-EU:\n date: '2025-01-01'\n open: 0\n high: 0\n low: 0\n close: 14.66\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalCommodityPricesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n date: '2025-01-10'\n rates:\n XAU:\n date: '2025-01-10'\n open: 2669.93\n high: 2697.85\n low: 2663.61\n close: 2689.44\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters or invalid date\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/historical\n status: 400\n timestamp: '2026-09-14T08:44:32.013Z'\n invalidDateFormat:\n summary: Invalid date format\n value:\n timestamp: '2026-09-14T08:45:13.934Z'\n path: /rates/historical\n code: 400\n error: VALIDATION_ERROR\n message: Invalid Date Format (YYYY-MM-DD).\n dateNotExist:\n summary: Date does not exist\n value:\n timestamp: '2026-09-14T08:44:01.487Z'\n path: /rates/historical\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided date does not exist.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:44:01.978Z'\n path: /rates/historical\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or rate not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:44:01.978Z'\n path: /rates/historical\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't support this symbol, please visit our symbols page to see supported symbols.\n rateNotFound:\n summary: Rate Not Found\n value:\n timestamp: '2026-09-14T08:44:02.528Z'\n path: /rates/historical\n code: 404\n error: RATE_NOT_FOUND\n message: no rates found for the specified date\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 HistoricalCommodityPricesResponse:\n type: object\n required:\n - success\n - date\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n date:\n type: string\n description: Date for which prices were fetched (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/HistoricalCommodityRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Historical commodity prices response containing success status, date, and OHLC rate data.\n HistoricalCommodityRates:\n type: object\n description: Object of commodity symbols to their OHLC price data. Each key is a commodity symbol and the value contains date, open, high, low, and close prices.\n properties:\n symbol:\n $ref: '#/components/schemas/HistoricalCommodityRate'\n required:\n - symbol\n HistoricalCommodityRate:\n type: object\n description: OHLC price data for a single commodity on a specific date. For monthly-updated commodities, only `close` is meaningful \u2014 `open`, `high`, and `low` are returned as `0`.\n required:\n - date\n - open\n - high\n - low\n - close\n properties:\n date:\n type: string\n description: Date for which prices were fetched (YYYY-MM-DD). May differ from the requested `date` when the API falls back to the last available rate before it, or snaps to the first day of the month for monthly-updated commodities.\n open:\n type: number\n format: float\n description: Opening price on the given date. `0` for monthly-updated commodities.\n high:\n type: number\n format: float\n description: Highest price recorded on the given date. `0` for monthly-updated commodities.\n low:\n type: number\n format: float\n description: Lowest price recorded on the given date. `0` for monthly-updated commodities.\n close:\n type: number\n format: float\n description: Closing price on the given date.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/rate validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, RATE_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
53005
|
+
"commodity-fluctuation": "openapi: 3.1.1\ninfo:\n title: 'Commodity Fluctuation API '\n version: 2.0.0\n description: Price change and percentage movement for one or more commodities over a custom date range, with no limit on range length. For monthly-updated commodities the range snaps to month boundaries. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Commodity Fluctuation API Server\npaths:\n /commodity/fluctuation:\n get:\n tags:\n - Commodity APIs\n summary: Get commodity price fluctuations\n description: Returns price fluctuation metrics (start, end, change, percent change) for the requested commodity symbols over a date range.\n operationId: getCommodityFluctuation\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: startDate\n in: query\n required: true\n description: Start date in `YYYY-MM-DD` format.\n schema:\n type: string\n - name: endDate\n in: query\n required: true\n description: End date in `YYYY-MM-DD` format.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityFluctuationResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n startDate: '2024-01-01'\n endDate: '2024-01-31'\n rates:\n WTIOIL-SPOT:\n startRate: 72.02\n endRate: 75.81\n change: 3.79\n changePercent: 5.26\n XAU:\n startRate: 2063.63\n endRate: 2039.83\n change: -23.8\n changePercent: -1.15\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityFluctuationResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n startDate: '2024-01-01'\n endDate: '2024-01-31'\n rates:\n XAU:\n startRate: 2063.63\n endRate: 2039.83\n change: -23.8\n changePercent: -1.15\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters or invalid dates\n content:\n application/json:\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/fluctuation\n status: 400\n timestamp: '2026-09-14T08:43:46.481Z'\n invalidDateFormat:\n summary: Date is not in YYYY-MM-DD format\n value:\n timestamp: '2026-07-27T11:37:22.687Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: Invalid Date Format (YYYY-MM-DD).\n dateNotExist:\n summary: Date does not exist on the calendar (e.g. Feb 30)\n value:\n timestamp: '2026-07-27T11:37:33.565Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided start date or end date does not exist.'\n startAfterEnd:\n summary: startDate is after endDate\n value:\n timestamp: '2026-07-27T11:37:23.206Z'\n path: /rates/fluctuation\n code: 400\n error: VALIDATION_ERROR\n message: Start date cannot be after end date\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:43:48.408Z'\n path: /rates/fluctuation\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or data not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:43:48.408Z'\n path: /rates/fluctuation\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n noData:\n summary: No data available for the given date range\n value:\n timestamp: '2026-09-14T08:44:31.022Z'\n path: /rates/fluctuation\n code: 404\n error: DATA_NOT_FOUND\n message: No data found for the given date range\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 CommodityFluctuationResponse:\n type: object\n required:\n - success\n - startDate\n - endDate\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n startDate:\n type: string\n description: Start date of the interval (YYYY-MM-DD).\n endDate:\n type: string\n description: End date of the interval (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/CommodityFluctuationRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Commodity fluctuation response containing price change data per symbol over a date range.\n CommodityFluctuationRates:\n type: object\n description: Map of requested commodity symbols to their fluctuation metrics. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n title: CommodityFluctuationItem\n type: object\n description: Fluctuation metrics for a single commodity over a date range.\n required:\n - startRate\n - endRate\n - change\n - changePercent\n properties:\n startRate:\n type: number\n format: float\n description: Price of the commodity on the start date.\n endRate:\n type: number\n format: float\n description: Price of the commodity on the end date.\n change:\n type: number\n format: float\n description: Absolute price difference between end and start dates. May be negative.\n changePercent:\n type: number\n format: float\n description: Percentage price change from start to end date. May be negative.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
53006
|
+
"commodity-intraday-rates": "openapi: 3.1.1\ninfo:\n title: Commodity Intraday Rates API\n version: 2.0.0\n description: Timestamped prices for one commodity on any UTC day, at an interval from one minute to one day. Each point is the single price recorded at that exact time, keyed by its ISO 8601 UTC timestamp. A response holds up to 100 points; when the day has more, `nextStartTime` is the value to send as `startTime` for the next page. Available only for commodities updated every second, every minute, or every 10 minutes.\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: Commodity Intraday Rates API Server\npaths:\n /commodity/rates/intraday:\n get:\n tags:\n - Commodity APIs\n summary: Get intraday commodity rates\n description: Returns the prices of one commodity through a UTC day at the requested interval, keyed by UTC timestamp. Each request costs a flat 50 credits however many points it returns.\n operationId: getCommodityIntradayRates\n parameters:\n - name: symbols\n in: query\n required: true\n description: Exactly one commodity symbol. Case-insensitive. Sending two or more returns a 400. Only symbols updated every second, every minute, or every 10 minutes have intraday rates; symbols updated hourly or less often return a 400. Use the Commodity Symbols endpoint for all valid values.\n schema:\n type: string\n - name: interval\n in: query\n required: true\n description: Spacing between points. Case-insensitive. Symbols updated every 10 minutes accept only `10m`, `30m`, `1h`, `2h`, `4h`, `8h`, `12h`, `1d`.\n schema:\n type: string\n enum:\n - 1m\n - 5m\n - 10m\n - 15m\n - 30m\n - 45m\n - 1h\n - 2h\n - 4h\n - 8h\n - 12h\n - 1d\n - name: date\n in: query\n required: true\n description: The UTC day to read, in `YYYY-MM-DD` format. Cannot be in the future. For today, points stop at the current UTC minute.\n schema:\n type: string\n format: date\n pattern: ^\\d{4}-\\d{2}-\\d{2}$\n - name: startTime\n in: query\n required: false\n description: First mark of the window, as a 24-hour UTC time in `HH:mm`. Must fall on a mark of the interval (for example, `14:30` works for `5m` or `30m`, but not for `1h`). For `1d` it can only be `00:00`.\n schema:\n type: string\n pattern: ^([01]\\d|2[0-3]):[0-5]\\d$\n default: '00:00'\n - name: metadata\n in: query\n required: false\n description: Whether to include the `metadata` object. Pass `false` to receive only the prices.\n schema:\n type: boolean\n default: true\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityIntradayResponse'\n examples:\n hourlyPartOfDay:\n summary: Hourly gold prices from 18:00 UTC\n value:\n success: true\n symbol: XAU\n date: '2026-10-14'\n interval: 1h\n startTime: '18:00'\n count: 6\n nextStartTime: null\n rates:\n '2026-10-14T18:00:00Z': 4084.75\n '2026-10-14T19:00:00Z': 4097.03\n '2026-10-14T20:00:00Z': 4101.92\n '2026-10-14T21:00:00Z': 4105.72\n '2026-10-14T22:00:00Z': 4105.72\n '2026-10-14T23:00:00Z': 4106.41\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n firstPageOfMinuteData:\n summary: First page of one-minute data, more pages available\n value:\n success: true\n symbol: WTIOIL-FUT\n date: '2026-10-14'\n interval: 1m\n startTime: '00:00'\n count: 100\n nextStartTime: '01:40'\n rates:\n '2026-10-14T00:00:00Z': 94.69\n '2026-10-14T00:01:00Z': 94.81\n '2026-10-14T00:02:00Z': 94.82\n '2026-10-14T00:03:00Z': 94.82\n '2026-10-14T00:04:00Z': 94.79\n '2026-10-14T00:05:00Z': 94.8\n '2026-10-14T00:06:00Z': 94.8\n '2026-10-14T00:07:00Z': 94.78\n '2026-10-14T00:08:00Z': 94.73\n '2026-10-14T00:09:00Z': 94.73\n '2026-10-14T00:10:00Z': 94.74\n '2026-10-14T00:11:00Z': 94.72\n '2026-10-14T00:12:00Z': 94.78\n '2026-10-14T00:13:00Z': 94.81\n '2026-10-14T00:14:00Z': 94.81\n '2026-10-14T00:15:00Z': 94.72\n '2026-10-14T00:16:00Z': 94.84\n '2026-10-14T00:17:00Z': 94.98\n '2026-10-14T00:18:00Z': 94.89\n '2026-10-14T00:19:00Z': 94.83\n '2026-10-14T00:20:00Z': 94.87\n '2026-10-14T00:21:00Z': 94.86\n '2026-10-14T00:22:00Z': 94.88\n '2026-10-14T00:23:00Z': 94.9\n '2026-10-14T00:24:00Z': 94.92\n '2026-10-14T00:25:00Z': 95.01\n '2026-10-14T00:26:00Z': 95.04\n '2026-10-14T00:27:00Z': 94.98\n '2026-10-14T00:28:00Z': 94.98\n '2026-10-14T00:29:00Z': 95\n '2026-10-14T00:30:00Z': 94.94\n '2026-10-14T00:31:00Z': 94.99\n '2026-10-14T00:32:00Z': 94.98\n '2026-10-14T00:33:00Z': 94.97\n '2026-10-14T00:34:00Z': 94.97\n '2026-10-14T00:35:00Z': 94.99\n '2026-10-14T00:36:00Z': 95\n '2026-10-14T00:37:00Z': 95.02\n '2026-10-14T00:38:00Z': 94.99\n '2026-10-14T00:39:00Z': 94.93\n '2026-10-14T00:40:00Z': 94.95\n '2026-10-14T00:41:00Z': 94.99\n '2026-10-14T00:42:00Z': 94.96\n '2026-10-14T00:43:00Z': 94.94\n '2026-10-14T00:44:00Z': 94.94\n '2026-10-14T00:45:00Z': 94.95\n '2026-10-14T00:46:00Z': 94.94\n '2026-10-14T00:47:00Z': 94.94\n '2026-10-14T00:48:00Z': 94.99\n '2026-10-14T00:49:00Z': 94.97\n '2026-10-14T00:50:00Z': 94.98\n '2026-10-14T00:51:00Z': 95.04\n '2026-10-14T00:52:00Z': 95.02\n '2026-10-14T00:53:00Z': 95.06\n '2026-10-14T00:54:00Z': 95.05\n '2026-10-14T00:55:00Z': 95.03\n '2026-10-14T00:56:00Z': 95.02\n '2026-10-14T00:57:00Z': 95.02\n '2026-10-14T00:58:00Z': 95.01\n '2026-10-14T00:59:00Z': 95.09\n '2026-10-14T01:00:00Z': 95.09\n '2026-10-14T01:01:00Z': 95.24\n '2026-10-14T01:02:00Z': 95.27\n '2026-10-14T01:03:00Z': 95.24\n '2026-10-14T01:04:00Z': 95.3\n '2026-10-14T01:05:00Z': 95.38\n '2026-10-14T01:06:00Z': 95.38\n '2026-10-14T01:07:00Z': 95.29\n '2026-10-14T01:08:00Z': 95.36\n '2026-10-14T01:09:00Z': 95.31\n '2026-10-14T01:10:00Z': 95.29\n '2026-10-14T01:11:00Z': 95.4\n '2026-10-14T01:12:00Z': 95.36\n '2026-10-14T01:13:00Z': 95.27\n '2026-10-14T01:14:00Z': 95.31\n '2026-10-14T01:15:00Z': 95.35\n '2026-10-14T01:16:00Z': 95.4\n '2026-10-14T01:17:00Z': 95.37\n '2026-10-14T01:18:00Z': 95.4\n '2026-10-14T01:19:00Z': 95.4\n '2026-10-14T01:20:00Z': 95.37\n '2026-10-14T01:21:00Z': 95.35\n '2026-10-14T01:22:00Z': 95.35\n '2026-10-14T01:23:00Z': 95.33\n '2026-10-14T01:24:00Z': 95.3\n '2026-10-14T01:25:00Z': 95.28\n '2026-10-14T01:26:00Z': 95.29\n '2026-10-14T01:27:00Z': 95.27\n '2026-10-14T01:28:00Z': 95.29\n '2026-10-14T01:29:00Z': 95.3\n '2026-10-14T01:30:00Z': 95.35\n '2026-10-14T01:31:00Z': 95.17\n '2026-10-14T01:32:00Z': 95.18\n '2026-10-14T01:33:00Z': 95.18\n '2026-10-14T01:34:00Z': 95.2\n '2026-10-14T01:35:00Z': 95.23\n '2026-10-14T01:36:00Z': 95.21\n '2026-10-14T01:37:00Z': 95.25\n '2026-10-14T01:38:00Z': 95.25\n '2026-10-14T01:39:00Z': 95.29\n metadata:\n WTIOIL-FUT:\n unit: Bbl\n quote: USD\n withoutMetadata:\n summary: metadata=false returns only the prices\n value:\n success: true\n symbol: XAU\n date: '2026-10-14'\n interval: 4h\n startTime: '12:00'\n count: 3\n nextStartTime: null\n rates:\n '2026-10-14T12:00:00Z': 4139.81\n '2026-10-14T16:00:00Z': 4080.88\n '2026-10-14T20:00:00Z': 4101.92\n symbolAliasAnswered:\n summary: A symbol alias is answered under the matching symbol\n value:\n success: true\n symbol: XAU\n date: '2026-10-14'\n interval: 4h\n startTime: '12:00'\n count: 3\n nextStartTime: null\n rates:\n '2026-10-14T12:00:00Z': 4139.81\n '2026-10-14T16:00:00Z': 4080.88\n '2026-10-14T20:00:00Z': 4101.92\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n unresolved:\n GOLD:\n message: GOLD is not a symbol code used by this API. Gold is available as \"XAU\", so its rate was returned under that symbol.\n resolvedTo: XAU\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: 'Bad Request: Missing or invalid parameters, or the symbol has no intraday rates'\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/intraday\n status: 400\n timestamp: '2026-10-27T09:47:11.299Z'\n missingInterval:\n summary: Missing required interval parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/intraday\n status: 400\n timestamp: '2026-10-27T09:47:11.299Z'\n missingDate:\n summary: Missing required date parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/intraday\n status: 400\n timestamp: '2026-10-27T09:47:11.299Z'\n multipleSymbols:\n summary: More than one symbol sent\n value:\n timestamp: '2026-10-27T09:12:41.901Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: intraday accepts exactly one symbol in the symbols parameter\n invalidInterval:\n summary: Interval not available for the symbol\n value:\n timestamp: '2026-10-27T10:05:54.904Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid interval ''5m'' for TIOC: valid intervals for TIOC are 10m, 30m, 1h, 2h, 4h, 8h, 12h, 1d'\n invalidDateFormat:\n summary: Date is not in YYYY-MM-DD format\n value:\n timestamp: '2026-10-27T09:12:42.377Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid date format: expected YYYY-MM-DD'\n dateNotExist:\n summary: Date does not exist on the calendar\n value:\n timestamp: '2026-10-27T09:12:42.619Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided date does not exist.'\n futureDate:\n summary: Date is in the future\n value:\n timestamp: '2026-10-27T09:12:42.858Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid date: intraday rates are not available for future dates'\n invalidStartTime:\n summary: startTime is not a 24-hour HH:mm time\n value:\n timestamp: '2026-10-27T09:12:43.093Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid startTime: expected a 24-hour time in HH:mm (UTC), e.g. 14:30'\n startTimeNotOnMark:\n summary: startTime does not fall on a mark of the interval\n value:\n timestamp: '2026-10-27T09:12:43.330Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid startTime ''14:30'': it must fall on a 1h mark (minutes since 00:00 divisible by 60)'\n noIntradayForSymbol:\n summary: Symbol is updated hourly or less often\n value:\n timestamp: '2026-10-27T09:12:43.571Z'\n path: /rates/intraday\n code: 400\n error: BAD_REQUEST\n message: 'Intraday rates are not available for NG-EU: they exist only for symbols updated every second, minute or 10 minutes'\n unknownInterval:\n summary: Interval is not a supported value\n value:\n timestamp: '2026-10-27T09:45:36.355Z'\n path: /rates/intraday\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid interval ''7m'': use one of 1m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 4h, 8h, 12h, 1d'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: 'Not found: Symbol not supported, or no data for the requested window'\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-10-27T09:12:44.012Z'\n path: /rates/intraday\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n noDataInWindow:\n summary: No intraday data for the specified window\n value:\n timestamp: '2026-10-27T09:12:44.268Z'\n path: /rates/intraday\n code: 404\n error: DATA_NOT_FOUND\n message: No intraday data found for the specified window\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 CommodityIntradayResponse:\n type: object\n description: Intraday response containing the prices of the requested symbol keyed by UTC timestamp.\n required:\n - success\n - symbol\n - date\n - interval\n - startTime\n - count\n - nextStartTime\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n symbol:\n type: string\n description: The symbol the prices belong to.\n date:\n type: string\n description: 'The UTC day requested. Format: `YYYY-MM-DD`.'\n pattern: ^\\d{4}-\\d{2}-\\d{2}$\n interval:\n type: string\n description: The interval used, in lowercase form (`5M` comes back as `5m`).\n enum:\n - 1m\n - 5m\n - 10m\n - 15m\n - 30m\n - 45m\n - 1h\n - 2h\n - 4h\n - 8h\n - 12h\n - 1d\n startTime:\n type: string\n description: First mark of the window, `HH:mm` UTC.\n pattern: ^([01]\\d|2[0-3]):[0-5]\\d$\n count:\n type: integer\n description: Number of points in `rates` (at most 100).\n maximum: 100\n minimum: 0\n nextStartTime:\n anyOf:\n - type: string\n pattern: ^([01]\\d|2[0-3]):[0-5]\\d$\n - type: 'null'\n description: '`HH:mm` value to pass as `startTime` for the next page, or `null` when the window reached the end of the day (or the current minute, for today).'\n rates:\n type: object\n description: Prices keyed by ISO 8601 UTC timestamp (for example `2026-10-14T18:00:00Z`), in ascending order. Values are rounded to two decimals. A mark with no recorded price is left out rather than filled in.\n additionalProperties:\n type: number\n format: float\n metadata:\n type: object\n description: Unit and currency of the prices, keyed by the requested symbol. Omitted when the request sets `metadata=false`.\n additionalProperties:\n $ref: '#/components/schemas/CommodityIntradayMetadata'\n unresolved:\n type: object\n description: Present when the symbol you sent was matched to a single alternative (200, with `resolvedTo`, for example `GOLD` answered as `XAU`), or not recognized at all (404, with a `suggestions` array when close matches exist).\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining how this symbol was handled.\n resolvedTo:\n type: string\n description: The supported symbol the request was answered with.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n CommodityIntradayMetadata:\n type: object\n description: Unit and currency of the prices for one commodity.\n properties:\n unit:\n type: string\n description: Unit the commodity is priced in (for example `T.oz` or `Bbl`).\n quote:\n type: string\n description: Currency the prices are quoted in (for example `USD`).\n ErrorResponse:\n type: object\n description: 'Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead: check whichever is present.'\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
53007
|
+
"commodity-prices": "openapi: 3.1.1\ninfo:\n title: Live Commodity Prices API - Real Time Market Insights\n version: 2.0.0\n description: Real-time prices for 520+ commodities in a single request, updated on a rolling ~1 minute cadence. Optionally convert prices into a target quote currency. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Live Commodity Prices API Server\npaths:\n /commodity/rates/latest:\n get:\n tags:\n - Commodity APIs\n summary: Get latest commodity prices\n description: Returns the current live price for the requested commodity symbols.\n operationId: getLatestCommodityPrices\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols (e.g., `XAU`, `WTIOIL-SPOT`).\n schema:\n type: string\n - name: quote\n in: query\n required: false\n description: Target currency for the exchange rate. Defaults to the market currency of each commodity.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/LiveCommodityPricesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n timestamp: 1789375397\n rates:\n XAU: 4313.04\n WTIOIL-SPOT: 100\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n WTIOIL-SPOT:\n unit: Bbl\n quote: USD\n withQuoteConversion:\n summary: Price converted to a target quote currency\n value:\n success: true\n timestamp: 1789375426\n rates:\n XAU: 3739.023\n metadata:\n XAU:\n unit: T.oz\n quote: EUR\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/LiveCommodityPricesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n timestamp: 1789376193\n rates:\n XAU: 4311.88\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n partialWithSuggestions:\n summary: Unresolved symbol with close-match suggestions\n value:\n success: true\n timestamp: 1789376644\n rates:\n XAU: 4306.06\n metadata:\n XAU:\n unit: T.oz\n quote: USD\n unresolved:\n ZW:\n message: Did you mean ZW-SPOT (Wheat Spot) or ZW-FUT (Wheat Futures)?\n suggestions:\n - ZW-SPOT\n - ZW-FUT\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 query parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/latest\n status: 400\n timestamp: '2026-09-14T08:43:43.964Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityNotFoundError'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:43:44.957Z'\n path: /rates/latestRates\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or quote currency not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityNotFoundError'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:43:44.957Z'\n path: /rates/latestRates\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n symbolNotFoundWithSuggestions:\n summary: Symbol Not Found, with close-match suggestions\n value:\n timestamp: '2026-09-14T09:04:04.878Z'\n path: /rates/latestRates\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n ZW:\n message: Did you mean ZW-SPOT (Wheat Spot) or ZW-FUT (Wheat Futures)?\n suggestions:\n - ZW-SPOT\n - ZW-FUT\n quoteNotFound:\n summary: Quote Currency Not Found\n value:\n timestamp: '2026-09-14T08:43:45.461Z'\n path: /rates/latestRates\n code: 404\n error: QUOTE_NOT_FOUND\n message: The quote currency is invalid, please visit the documentation for a list of valid quote currencies\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 LiveCommodityPricesResponse:\n type: object\n required:\n - success\n - timestamp\n - rates\n - metadata\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n timestamp:\n type: integer\n description: Unix timestamp (seconds) indicating when the response was generated.\n rates:\n $ref: '#/components/schemas/CommodityRates'\n metadata:\n $ref: '#/components/schemas/CommodityMetadata'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n warning:\n type: string\n description: Present only when currency conversion for the requested `quote` is temporarily unavailable; rates are returned in each commodity's default currency instead.\n description: Live commodity prices response containing success status, timestamp, rates, and metadata.\n CommodityRates:\n type: object\n description: Map of requested commodity symbols to their current live price. Each key is a commodity symbol (e.g. XAU); the value is the current price.\n additionalProperties:\n title: CommodityPrice\n type: number\n description: Current live price for this commodity symbol.\n CommodityMetadata:\n type: object\n description: Map of requested commodity symbols to their unit and quote currency metadata. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n title: CommodityMetadataItem\n type: object\n description: Unit and currency metadata for a single commodity.\n required:\n - unit\n - quote\n properties:\n unit:\n type: string\n description: Unit of measurement for the commodity (e.g., Bbl, T.oz).\n quote:\n type: string\n description: Quote currency used for this commodity's price.\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 CommodityNotFoundError:\n type: object\n description: Error envelope returned by the commodity pricing service specifically for unresolvable symbol/quote errors. Uses `code` instead of `status` and an ISO 8601 `timestamp`, unlike the standard ErrorResponse.\n required:\n - code\n - error\n - message\n properties:\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n path:\n type: string\n description: Internal service path that produced the error.\n code:\n type: integer\n description: HTTP status code returned with the error.\n error:\n type: string\n description: Specific error type (e.g., SYMBOL_NOT_FOUND, QUOTE_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
53008
|
+
"commodity-symbols": "openapi: 3.1.1\ninfo:\n title: Commodity Symbols API Reference\n version: 2.0.0\n description: 'Full catalog of 520+ supported commodities across Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, and Livestock, with pricing currency, unit, and update interval per symbol. Deprecated symbols stay listed with `status: \"inactive\"` and a `deprecationDate`.'\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: Commodity Symbols API Server\npaths:\n /commodity/symbols:\n get:\n tags:\n - Commodity APIs\n summary: Get all supported commodity symbols\n description: Returns the list of supported commodity symbols with metadata.\n operationId: getCommoditySymbols\n parameters:\n - name: format\n in: query\n required: false\n description: 'Response format. Accepted values: `json` (default) or `xml`.'\n schema:\n type: string\n enum:\n - json\n default: json\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommoditySymbolsResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n symbols:\n - symbol: XAU\n name: Gold\n category: Metals\n status: active\n updateInterval: PER_SECOND\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: T.oz\n name: Troy Ounce\n - symbol: NG-FUT\n name: Natural Gas Futures\n category: Energy\n status: active\n updateInterval: PER_MINUTE\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: MMBtu\n name: Million British Thermal Units\n - symbol: NG-EU\n name: Natural Gas, Europe\n category: Energy\n status: active\n updateInterval: PER_MONTH\n exchange: World Bank\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: MMBtu\n name: Million British Thermal Units\n - symbol: UANEU\n name: Urea Ammonium Nitrate\n category: Industrial\n status: inactive\n updateInterval: PER_MINUTE\n deprecationDate: '2024-04-14'\n currency:\n code: USD\n name: US Dollar\n symbol: $\n unit:\n symbol: T\n name: Metric Ton\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 CommoditySymbolsResponse:\n type: object\n required:\n - success\n - symbols\n properties:\n success:\n type: boolean\n description: Indicates whether the API request was successful.\n symbols:\n type: array\n description: Array of commodity symbol objects with metadata.\n items:\n $ref: '#/components/schemas/CommoditySymbolItem'\n description: Commodity symbols response containing an array of supported commodity symbol objects.\n CommoditySymbolItem:\n type: object\n description: A single commodity symbol with metadata.\n required:\n - symbol\n - name\n - category\n - status\n - updateInterval\n - currency\n - unit\n properties:\n symbol:\n type: string\n description: Unique identifier/ticker symbol for the commodity (e.g., XAU, NG-FUT). Use this value in the `symbols` parameter of the rate endpoints.\n name:\n type: string\n description: Full name of the commodity (e.g., Gold, Natural Gas Futures).\n description:\n type: string\n description: Short description of the commodity. May be an empty string for some symbols.\n category:\n type: string\n description: Category the commodity belongs to (e.g., Metals, Energy, Agriculture, Industrial, Raw Materials, Oils and Meals, Textiles, Meats, Poultry, Livestock).\n status:\n type: string\n enum:\n - active\n - inactive\n description: 'Current status of the commodity. `inactive` means the symbol is deprecated: latest rates are unavailable, but historical rates remain available up to its `deprecationDate`.'\n updateInterval:\n type: string\n enum:\n - PER_SECOND\n - PER_MINUTE\n - PER_10_MINUTES\n - PER_HOUR\n - PER_DAY\n - PER_WEEK\n - PER_MONTH\n description: Rate at which the price is updated.\n exchange:\n type: string\n description: Optional. Data source for the symbol (e.g., World Bank). Present only for some symbols.\n deprecationDate:\n type: string\n format: date\n description: Optional. Present only when `status` is `inactive`. Date the symbol was deprecated (YYYY-MM-DD).\n currency:\n $ref: '#/components/schemas/CommodityCurrency'\n unit:\n $ref: '#/components/schemas/CommodityUnit'\n CommodityCurrency:\n type: object\n description: Currency information for a commodity.\n required:\n - code\n - name\n - symbol\n properties:\n code:\n type: string\n description: ISO 4217 currency code.\n name:\n type: string\n description: Full name of the currency.\n symbol:\n type: string\n description: Symbol of the currency (e.g., $).\n CommodityUnit:\n type: object\n description: Unit of measurement for a commodity.\n required:\n - symbol\n - name\n properties:\n symbol:\n type: string\n description: Abbreviated unit symbol (e.g., T.oz, MMBtu).\n name:\n type: string\n description: Full name of the unit of measurement (e.g., Troy Ounce).\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",
|
|
53009
|
+
"commodity-time-series": "openapi: 3.1.1\ninfo:\n title: Commodities Time Series API\n version: 2.0.0\n description: Daily OHLC history for one or more commodities over a date range of up to 365 days, indexed by date. Non-trading days are excluded. Monthly-updated commodities only have a closing price \u2014 `open`, `high`, and `low` come back as `0`. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Commodity Time Series API Server\npaths:\n /commodity/time-series:\n get:\n tags:\n - Commodity APIs\n summary: Get commodity price time series\n description: Returns day-by-day OHLC data for the requested commodity symbols within a date range.\n operationId: getCommodityTimeSeries\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: startDate\n in: query\n required: true\n description: Start date in `YYYY-MM-DD` format.\n schema:\n type: string\n - name: endDate\n in: query\n required: true\n description: End date in `YYYY-MM-DD` format. Maximum range is 365 days.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityTimeSeriesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n startDate: '2025-01-06'\n endDate: '2025-01-08'\n rates:\n '2025-01-06':\n XAU:\n open: 2649.01\n high: 2651.33\n low: 2645.36\n close: 2646.91\n '2025-01-07':\n XAU:\n open: 2662.45\n high: 2663.06\n low: 2655.66\n close: 2658.9\n '2025-01-08':\n XAU:\n open: 2669.69\n high: 2674.68\n low: 2668.58\n close: 2671.8\n monthlyCommodity:\n summary: Monthly-updated commodity (open/high/low unavailable)\n value:\n success: true\n startDate: '2025-01-01'\n endDate: '2025-03-01'\n rates:\n '2025-01-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 14.66\n '2025-02-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 15.34\n '2025-03-01':\n NG-EU:\n open: 0\n high: 0\n low: 0\n close: 13.24\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CommodityTimeSeriesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n startDate: '2025-01-06'\n endDate: '2025-01-08'\n rates:\n '2025-01-06':\n XAU:\n open: 2649.01\n high: 2651.33\n low: 2645.36\n close: 2646.91\n '2025-01-07':\n XAU:\n open: 2662.45\n high: 2663.06\n low: 2655.66\n close: 2658.9\n '2025-01-08':\n XAU:\n open: 2669.69\n high: 2674.68\n low: 2668.58\n close: 2671.8\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters, invalid dates, or date range exceeded\n content:\n application/json:\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/time-series\n status: 400\n timestamp: '2026-09-14T08:43:58.547Z'\n invalidDate:\n summary: Date does not exist on the calendar\n value:\n timestamp: '2026-07-27T11:38:41.234Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided start date or end date does not exist.'\n startAfterEnd:\n summary: startDate is after endDate\n value:\n timestamp: '2026-07-27T11:38:41.234Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: start date cannot be after end date\n dateRangeExceeded:\n summary: Date range exceeds 365 days\n value:\n timestamp: '2026-07-27T11:38:40.699Z'\n path: /rates/time-series\n code: 400\n error: VALIDATION_ERROR\n message: Date range exceeds the allowed limit.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:44:00.586Z'\n path: /rates/time-series\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or data not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:44:00.586Z'\n path: /rates/time-series\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n dataNotFound:\n summary: No data available for the given date range\n value:\n timestamp: '2026-09-14T08:44:31.547Z'\n path: /rates/time-series\n code: 404\n error: DATA_NOT_FOUND\n message: No data found for the specified date range\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 CommodityTimeSeriesResponse:\n type: object\n required:\n - success\n - startDate\n - endDate\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n startDate:\n type: string\n description: Start date of the time series (YYYY-MM-DD).\n endDate:\n type: string\n description: End date of the time series (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/CommodityTimeSeriesRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved on any date in the range. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Commodity time series response containing date-indexed OHLC data per symbol.\n CommodityTimeSeriesRates:\n type: object\n description: Map of trading dates to per-symbol OHLC data. Each key is a trading date (YYYY-MM-DD); non-trading days are excluded.\n additionalProperties:\n title: CommodityTimeSeriesSymbolData\n type: object\n description: Map of commodity symbols to their OHLC data for a single trading date. Each key is a commodity symbol (e.g. XAU).\n additionalProperties:\n $ref: '#/components/schemas/CommodityOhlc'\n CommodityOhlc:\n type: object\n description: OHLC price data for a single commodity on a single trading day. For monthly-updated commodities, only `close` is meaningful \u2014 `open`, `high`, and `low` are returned as `0`.\n required:\n - open\n - high\n - low\n - close\n properties:\n open:\n type: number\n format: float\n description: Opening price on the given date. `0` for monthly-updated commodities.\n high:\n type: number\n format: float\n description: Highest price on the given date. `0` for monthly-updated commodities.\n low:\n type: number\n format: float\n description: Lowest price on the given date. `0` for monthly-updated commodities.\n close:\n type: number\n format: float\n description: Closing price on the given date.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/data validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, DATA_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
53010
|
+
"historical-commodity-prices": "openapi: 3.1.1\ninfo:\n title: Historical Commodity Prices, Delivered Simply.\n version: 2.0.0\n description: OHLC price data for one or more commodities on a specific date, back to January 1990. Falls back to the nearest earlier rate if none exists for the exact date. Monthly-updated commodities only have a closing price \u2014 `open`, `high`, and `low` come back as `0`. Unresolved symbols degrade to a 206 partial response instead of failing the whole request.\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: Historical Commodity Prices API Server\npaths:\n /commodity/rates/historical:\n get:\n tags:\n - Commodity APIs\n summary: Get historical commodity prices\n description: Returns OHLC price data for the requested commodity symbols on a specific date.\n operationId: getHistoricalCommodityPrices\n parameters:\n - name: format\n in: query\n required: false\n description: Response format. Currently only `json` is supported.\n schema:\n type: string\n default: json\n enum:\n - json\n - name: symbols\n in: query\n required: true\n description: Comma-separated list of commodity symbols.\n schema:\n type: string\n - name: date\n in: query\n required: true\n description: Date in `YYYY-MM-DD` format. Data available from 1990 onwards.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalCommodityPricesResponse'\n examples:\n success:\n summary: Successful response\n value:\n success: true\n date: '2025-01-10'\n rates:\n WTIOIL-SPOT:\n date: '2025-01-10'\n open: 73.77\n high: 77.16\n low: 73.55\n close: 75.97\n XAU:\n date: '2025-01-10'\n open: 2669.93\n high: 2697.85\n low: 2663.61\n close: 2689.44\n monthlyCommodity:\n summary: Monthly-updated commodity (open/high/low unavailable)\n value:\n success: true\n date: '2025-01-10'\n rates:\n NG-EU:\n date: '2025-01-01'\n open: 0\n high: 0\n low: 0\n close: 14.66\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 Some requested symbols could not be resolved\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalCommodityPricesResponse'\n examples:\n partial:\n summary: One valid symbol, one unresolved symbol\n value:\n success: true\n date: '2025-01-10'\n rates:\n XAU:\n date: '2025-01-10'\n open: 2669.93\n high: 2697.85\n low: 2663.61\n close: 2689.44\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters or invalid date\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingSymbols:\n summary: Missing required symbols parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/commodity/rates/historical\n status: 400\n timestamp: '2026-09-14T08:44:32.013Z'\n invalidDateFormat:\n summary: Invalid date format\n value:\n timestamp: '2026-09-14T08:45:13.934Z'\n path: /rates/historical\n code: 400\n error: VALIDATION_ERROR\n message: Invalid Date Format (YYYY-MM-DD).\n dateNotExist:\n summary: Date does not exist\n value:\n timestamp: '2026-09-14T08:44:01.487Z'\n path: /rates/historical\n code: 400\n error: VALIDATION_ERROR\n message: 'Invalid Date: The provided date does not exist.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '402':\n description: Payment Required \u2014 Maximum symbols per request exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n maxSymbolsExceeded:\n summary: Too many symbols requested\n value:\n timestamp: '2026-09-14T08:44:01.978Z'\n path: /rates/historical\n code: 402\n error: PAYMENT_REQUIRED\n message: Maximum symbols per request exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Symbol or rate not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n symbolNotFound:\n summary: Symbol Not Found\n value:\n timestamp: '2026-09-14T08:44:01.978Z'\n path: /rates/historical\n code: 404\n error: SYMBOL_NOT_FOUND\n message: The symbol is not supported, please visit the documentation for a list of supported symbols\n unresolved:\n FAKESYM:\n message: We don't recognise this symbol code and could not match it to any commodity we carry. See our symbols page for the symbols this API uses.\n rateNotFound:\n summary: Rate Not Found\n value:\n timestamp: '2026-09-14T08:44:02.528Z'\n path: /rates/historical\n code: 404\n error: RATE_NOT_FOUND\n message: no rates found for the specified date\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 HistoricalCommodityPricesResponse:\n type: object\n required:\n - success\n - date\n - rates\n properties:\n success:\n type: boolean\n description: '`true` for successful requests.'\n date:\n type: string\n description: Date for which prices were fetched (YYYY-MM-DD).\n rates:\n $ref: '#/components/schemas/HistoricalCommodityRates'\n unresolved:\n type: object\n description: Present only on a 206 Partial Content response, when some requested symbols could not be resolved. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\n items:\n type: string\n description: Historical commodity prices response containing success status, date, and OHLC rate data.\n HistoricalCommodityRates:\n type: object\n description: Object of commodity symbols to their OHLC price data. Each key is a commodity symbol and the value contains date, open, high, low, and close prices.\n properties:\n symbol:\n $ref: '#/components/schemas/HistoricalCommodityRate'\n required:\n - symbol\n HistoricalCommodityRate:\n type: object\n description: OHLC price data for a single commodity on a specific date. For monthly-updated commodities, only `close` is meaningful \u2014 `open`, `high`, and `low` are returned as `0`.\n required:\n - date\n - open\n - high\n - low\n - close\n properties:\n date:\n type: string\n description: Date for which prices were fetched (YYYY-MM-DD). May differ from the requested `date` when the API falls back to the last available rate before it, or snaps to the first day of the month for monthly-updated commodities.\n open:\n type: number\n format: float\n description: Opening price on the given date. `0` for monthly-updated commodities.\n high:\n type: number\n format: float\n description: Highest price recorded on the given date. `0` for monthly-updated commodities.\n low:\n type: number\n format: float\n description: Lowest price recorded on the given date. `0` for monthly-updated commodities.\n close:\n type: number\n format: float\n description: Closing price on the given date.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors populate status; commodity-service errors (date/symbol/rate validation) populate code instead \u2014 check whichever is present.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type (e.g., Invalid Param Exception, VALIDATION_ERROR, SYMBOL_NOT_FOUND, RATE_NOT_FOUND).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (commodity-service errors) that produced the error.\n status:\n type: integer\n description: HTTP status code. Present on gateway-level errors.\n code:\n type: integer\n description: HTTP status code. Present on commodity-service errors instead of status.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n unresolved:\n type: object\n description: Present only on SYMBOL_NOT_FOUND errors. Map of each unresolved symbol to a detail message and optional close-match suggestions.\n additionalProperties:\n type: object\n properties:\n message:\n type: string\n description: Detail message explaining why this symbol was not resolved.\n suggestions:\n type: array\n description: Optional list of supported symbols that closely match the unresolved symbol.\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",
|
|
52309
53011
|
"currency-converter": "openapi: 3.1.1\ninfo:\n title: Currency Converter API - Convert 970+ Fiat & Crypto Currencies at Live or Historical Rates\n version: 1.0.0\n description: Convert an amount from one currency to another using the latest exchange rates. Supports fiat, crypto, and metals. Specify source currency, target currency, and amount to receive the current rate and converted amount with timestamp. All parameters are case-insensitive for both fiat/currency codes and crypto/symbols.\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: Currency Converter API Server\npaths:\n /currency/converter/latest/prices:\n get:\n tags:\n - Currency APIs\n summary: Convert currency with latest rates\n description: Converts an amount from one currency to another using the latest exchange rates.\n operationId: convertLatest\n parameters:\n - name: format\n in: query\n required: false\n description: 'Response format: `json` (default) or `xml`.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: from\n in: query\n required: true\n description: Source currency code.\n schema:\n type: string\n - name: to\n in: query\n required: true\n description: Target currency code.\n schema:\n type: string\n - name: amount\n in: query\n required: false\n description: Amount to convert, as a decimal. Defaults to `1`. Must be numeric \u2014 non-numeric values return a 400 (negative values are accepted despite the error message's wording).\n schema:\n type: number\n format: float\n default: 1\n - name: updates\n in: query\n required: false\n description: 'Update frequency: `1m` (default), `10m`, `1h`, or `1d`.'\n schema:\n type: string\n enum:\n - 1m\n - 10m\n - 1h\n - 1d\n default: 1m\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/LatestCurrencyConverterResponse'\n examples:\n success:\n summary: Successful response\n value:\n date: '2026-07-27 12:05:00+00'\n from: USD\n to: EUR\n rate: '0.87800'\n givenAmount: '100.0'\n convertedAmount: '87.800'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad request - Invalid amount or updates parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingParams:\n summary: Missing required from/to parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/currency/converter/latest/prices\n status: 400\n timestamp: '2026-07-27T12:05:29.609Z'\n invalidAmount:\n summary: amount is not numeric\n value:\n timestamp: 1785153941995\n status: 400\n error: Method Argument Type Mismatch\n message: Invalid Amount. Please provide amount in decimal format and greater than 0!\n path: /v2.0/convert/latest\n invalidUpdates:\n summary: updates is not one of 1m/10m/1h/1d\n value:\n timestamp: 1785153942533\n status: 400\n error: Invalid Param Exception\n message: Please provide valid updates parameter (1d,1h,10m,1m)\n path: /v2.0/convert/latest\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - Currency not available\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidBase:\n summary: from currency not supported\n value:\n timestamp: 1785153930704\n status: 404\n error: Not Found Exception\n message: Rates of provided currency ZZZ are not available in our database!\n path: /v2.0/convert/latest\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 LatestCurrencyConverterResponse:\n type: object\n required:\n - date\n - from\n - to\n - rate\n - givenAmount\n - convertedAmount\n properties:\n date:\n type: string\n description: Date and time with timezone (UTC) when the rate was recorded.\n from:\n type: string\n description: Source currency code.\n to:\n type: string\n description: Target currency code.\n rate:\n type: string\n description: Conversion rate from source to target currency.\n givenAmount:\n type: string\n description: The amount provided for conversion.\n convertedAmount:\n type: string\n description: The converted amount in the target currency.\n description: Currency conversion response containing the exchange rate and converted amount.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors use an ISO 8601 timestamp and the public endpoint path; currency-service errors use a Unix millisecond timestamp and an internal service path instead.\n required:\n - message\n properties:\n timestamp:\n type:\n - string\n - integer\n description: Timestamp when the error occurred \u2014 ISO 8601 string for gateway errors, Unix milliseconds integer for currency-service errors.\n status:\n type: integer\n description: HTTP status code returned with the error.\n error:\n type: string\n description: Specific error type (e.g., Invalid Param Exception, Method Argument Type Mismatch, Not Found Exception).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (currency-service errors) that produced the error.\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",
|
|
52310
53012
|
"currency-fluctuation": "openapi: 3.1.1\ninfo:\n title: Currency Fluctuation API - Get Currency Fluctuations Over a Time Period\n version: 1.0.0\n description: Get exchange rate fluctuation data between two dates for one or more currency pairs. Returns the start rate, end rate, absolute change, and percentage change for each requested symbol. Accepts a base currency (defaults to USD) and optional comma-separated target symbols. Returns a 400 error for invalid dates and a 404 error when no data is available for the interval.\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: Currency Fluctuation API Server\npaths:\n /currency/fluctuation:\n get:\n tags:\n - Currency APIs\n summary: Get exchange rate fluctuations\n description: Returns exchange rate fluctuations between two dates for the requested symbols.\n operationId: getFluctuation\n parameters:\n - name: format\n in: query\n required: false\n description: 'Response format: `json` (default) or `xml`.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: startDate\n in: query\n required: true\n description: Start date in `YYYY-MM-DD` format.\n schema:\n type: string\n - name: endDate\n in: query\n required: false\n description: End date in `YYYY-MM-DD` format. Defaults to yesterday.\n schema:\n type: string\n - name: base\n in: query\n required: false\n description: Base currency code. Defaults to `USD`.\n schema:\n type: string\n default: USD\n - name: symbols\n in: query\n required: false\n description: Comma-separated currency codes. Omit to get all available rates.\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/CurrencyFluctuationResponse'\n examples:\n success:\n summary: Successful response\n value:\n startDate: '2025-01-01'\n endDate: '2025-01-10'\n base: USD\n rateFluctuations:\n EUR:\n startRate: '0.96605'\n endRate: '0.97620'\n change: '-0.010150'\n percentChange: '-1.05'\n PKR:\n startRate: '278.400'\n endRate: '278.650'\n change: '-0.25'\n percentChange: '-0.09'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad request - Invalid dates\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingStartDate:\n summary: Missing required startDate parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/currency/fluctuation\n status: 400\n timestamp: '2026-07-27T12:09:21.348Z'\n startAfterEnd:\n summary: startDate is after endDate or the current date\n value:\n timestamp: 1785154172736\n status: 400\n error: Invalid Param Exception\n message: Starting date cannot be after current date or ending date\n path: /v2.0/fluctuation\n invalidDateFormat:\n summary: startDate/endDate not in YYYY-MM-DD format\n value:\n timestamp: 1785154172225\n status: 400\n error: Invalid Param Exception\n message: Provided Dates are in Invalid Format. Dates must be in a valid format YYYY-MM-DD!\n path: /v2.0/fluctuation\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not found - No data for interval\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n noData:\n summary: base or symbols not supported for the given interval\n value:\n timestamp: 1785154173332\n status: 404\n error: Not Found Exception\n message: Rates of provided base and symbols are not found for given intervals.\n path: /v2.0/fluctuation\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 CurrencyFluctuationResponse:\n type: object\n required:\n - startDate\n - endDate\n - base\n - rateFluctuations\n properties:\n startDate:\n type: string\n description: Start date of the interval (YYYY-MM-DD).\n endDate:\n type: string\n description: End date of the interval (YYYY-MM-DD).\n base:\n type: string\n description: Base currency used for all fluctuations.\n rateFluctuations:\n type: object\n description: Map of currency codes to their fluctuation details. Each key is a currency code and the value contains startRate, endRate, change, and percentChange.\n additionalProperties:\n title: CurrencyFluctuationItem\n $ref: '#/components/schemas/CurrencyFluctuationItem'\n description: Currency fluctuation response containing rate changes per symbol over a date interval.\n CurrencyFluctuationItem:\n type: object\n description: Fluctuation metrics for a single currency over a date interval.\n required:\n - startRate\n - endRate\n - change\n - percentChange\n properties:\n startRate:\n type: string\n description: Rate of the currency at the start of the interval.\n endRate:\n type: string\n description: Rate of the currency at the end of the interval.\n change:\n type: string\n description: Absolute change between start and end rate. Can be positive or negative.\n percentChange:\n type: string\n description: Percentage change between start and end rate. Can be positive or negative.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests. Gateway-level validation errors use an ISO 8601 timestamp and the public endpoint path; currency-service errors use a Unix millisecond timestamp and an internal service path instead.\n required:\n - message\n properties:\n timestamp:\n type:\n - string\n - integer\n description: Timestamp when the error occurred \u2014 ISO 8601 string for gateway errors, Unix milliseconds integer for currency-service errors.\n status:\n type: integer\n description: HTTP status code returned with the error.\n error:\n type: string\n description: Specific error type (e.g., Invalid Param Exception, Not Found Exception).\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path (gateway errors) or internal service path (currency-service errors) that produced the error.\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",
|
|
52311
53013
|
"currency-historical-data-limit": "openapi: 3.1.1\ninfo:\n title: Currency Historical Data Limits API Reference\n version: 1.0.0\n description: Retrieve the date range for which historical exchange rate data is available for each supported currency. Returns a map of currency codes to their availability period in YYYY-MM-DD to YYYY-MM-DD format. Covers fiat currencies, cryptocurrencies, and precious metals.\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: Currency Historical Data Limits API Server\npaths:\n /currency/historical/data/limits:\n get:\n tags:\n - Currency APIs\n summary: Get historical data availability limits\n description: Returns the date range when historical data is available for each currency.\n operationId: getHistoricalDataLimits\n parameters:\n - name: format\n in: query\n required: false\n description: 'Response format: `json` (default) or `xml`.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/HistoricalDataLimitsResponse'\n examples:\n success:\n summary: Successful response\n value:\n availabilityPeriod:\n FJD: 1989-08-18 to 2026-07-27\n SCR: 1998-07-31 to 2026-07-27\n STPT: 2025-02-27 to 2025-05-28\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '406':\n description: Unsupported Media Type \u2014 format is not json or xml\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badFormat:\n summary: format value not supported\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/currency/historical/data/limits\n status: 406\n timestamp: '2026-07-27T12:14:01.189Z'\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 HistoricalDataLimitsResponse:\n type: object\n required:\n - availabilityPeriod\n properties:\n availabilityPeriod:\n type: object\n description: Map of currency codes to their historical data availability range. Each key is a currency code and the value is a date range string.\n additionalProperties:\n title: AvailabilityPeriodString\n type: string\n description: Historical data availability date range in YYYY-MM-DD to YYYY-MM-DD format.\n description: Historical data limits response containing the availability period map.\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",
|
|
@@ -55770,7 +56472,7 @@ security:
|
|
|
55770
56472
|
- ApiKeyAuthQuery: []
|
|
55771
56473
|
`,
|
|
55772
56474
|
"subdomain-lookup": "openapi: 3.1.1\ninfo:\n title: Subdomain Finder API - Discover Active, Inactive & Historical Subdomains\n version: 1.0.0\n description: Retrieve subdomains related to a given domain name. Returns paginated results with subdomain details including first seen and last seen dates. Supports filtering by date range, status (active/inactive), and pagination with configurable page numbers.\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: Subdomain Lookup API Server\npaths:\n /subdomains/lookup:\n get:\n tags:\n - Domain APIs\n summary: Get subdomains related to the given domain name.\n description: The Subdomain Lookup API is designed to retrieve subdomains related to the given domain name. It helps you explore subdomains that are available for registration or usage.\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: domain\n in: query\n required: true\n schema:\n type: string\n description: Domain name for availability and suggestions.\n - name: after\n in: query\n required: false\n schema:\n type: string\n format: date\n description: Filter subdomains seen after this date (format YYYY-MM-DD).\n - name: before\n in: query\n required: false\n schema:\n type: string\n format: date\n description: Filter subdomains seen before this date( format YYYY-MM-DD).\n - name: status\n in: query\n required: false\n schema:\n type: string\n enum:\n - active\n - inactive\n default: active\n description: Filter subdomains by status (active or inactive).\n - name: page\n in: query\n required: false\n schema:\n type: integer\n default: 1\n description: Page number for paginated results.\n responses:\n '200':\n description: Success\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SubDomainResponse'\n examples:\n success:\n summary: Successful response\n value:\n domain: google.com\n status: true\n query_time: '2026-07-27T12:22:26.954268895'\n current_page: 1\n total_pages: 1543\n total_records: 154233\n subdomains:\n - subdomain: 49qq1sm.sites.google.com\n first_seen: '2024-03-03'\n last_seen: '2026-06-18'\n - subdomain: tvgkp5.feedproxy.ghs.google.com\n last_seen: '2026-07-04'\n - subdomain: www.reusablesec.sites.google.com\n first_seen: '2020-02-18'\n last_seen: '2026-06-20'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 one or more parameters are invalid\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingDomain:\n summary: Missing required domain parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/subdomains/lookup\n status: 400\n timestamp: '2026-07-27T12:22:27.587Z'\n invalidDomain:\n summary: domain is not a syntactically valid domain name\n value:\n timestamp: '2026-07-27T12:22:40.119716922Z'\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/subdomains\n AfterDateError:\n summary: after is not earlier than before\n value:\n timestamp: '2026-07-27T12:22:28.233751455Z'\n status: 400\n error: Invalid Param Exception\n message: after date must be earlier than before date.\n path: /v1.0/subdomains\n AfterDateGreaterThanCurrent:\n summary: after is in the future\n value:\n timestamp: '2026-07-27T12:22:39.061042798Z'\n status: 400\n error: Invalid Param Exception\n message: after date cannot be greater than the current date.\n path: /v1.0/subdomains\n BeforeDateGreaterThanCurrent:\n summary: before is in the future\n value:\n timestamp: '2026-07-27T12:22:39.609545647Z'\n status: 400\n error: Invalid Param Exception\n message: before date cannot be greater than the current date.\n path: /v1.0/subdomains\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '408':\n description: Request Timeout \u2013 Unable to fetch WHOIS data\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n error:\n summary: Error response\n value:\n timestamp: '2025-08-14T10:37:21.871Z'\n status: 408\n error: Request Timeout\n message: 'Unable to fetch whois data. Please try again. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/subdomains/lookup\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: lookupSubdomains\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 SubDomainResponse:\n type: object\n required:\n - domain\n - status\n - query_time\n - current_page\n - total_pages\n - total_records\n - subdomains\n properties:\n domain:\n type: string\n description: The domain name for which subdomains are retrieved.\n status:\n type: boolean\n description: Indicates whether the request was successfully processed or not.\n query_time:\n type: string\n description: Timestamp showing when the API request was executed.\n current_page:\n type: integer\n description: The current page number of the paginated response.\n total_pages:\n type: integer\n description: Total number of pages available for the given query. Each page has 100 subdomain entries.\n total_records:\n type: integer\n description: Total number of subdomains found for the domain.\n subdomains:\n type: array\n description: Returns an array of subdomain objects. Each object contains detailed information about an individual subdomain.\n items:\n $ref: '#/components/schemas/SubdomainItem'\n description: Subdomain lookup response containing paginated subdomain results.\n SubdomainItem:\n type: object\n description: A single subdomain record with discovery dates.\n required:\n - subdomain\n - last_seen\n properties:\n subdomain:\n type: string\n description: The discovered subdomain associated with the given domain.\n first_seen:\n type: string\n format: date\n description: The date when the subdomain was first discovered. Can be absent for some records.\n last_seen:\n type: string\n format: date\n description: The most recent date when the subdomain was observed.\n inactive_from:\n type: string\n format: date\n description: The date from which the subdomain is considered inactive. Appears only if inactive.\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",
|
|
55773
|
-
"bulk-disposable-email-checker": "openapi: 3.1.1\ninfo:\n title: Bulk Disposable Email Checker API - Check Multiple Emails for Disposable Domains\n version: 1.0.0\n description: Check up to 100 email addresses in a single POST request for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts. Each entry can include an optional ip to also get its geolocation and security signals. Each entry is processed independently and returned in the same order as the request. The whole request is rejected with a 400 if emailData is empty/missing or contains a null entry or an entry without a valid email. Maximum 100 entries per request.\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 Disposable Email Checker API Server\npaths:\n /email/disposable/bulk:\n post:\n tags:\n - Email Validation APIs\n summary: Check multiple emails for disposable/temporary domains\n description: Checks a bulk of email addresses (each with an optional ip) and returns a disposable email check result for each, in the same order as the request. Maximum `100` entries per request.\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 requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkDisposableEmailRequest'\n examples:\n bulkRequest:\n value:\n emailData:\n - email: abc\n - email: john@microsoft.com\n ip: 8.8.8.8\n - email: test@mailinator.com\n responses:\n '200':\n description: Successful response. Each item corresponds to one requested email, in the same order as the request.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkDisposableEmailCheckResponse'\n examples:\n mixedResults:\n summary: Mix of syntactically invalid, clean (with ip), and disposable results\n value:\n disposableEmailResponse:\n - email: abc\n validSyntax: false\n domain:\n name: abc\n validDomain: false\n - email: john@microsoft.com\n validSyntax: true\n domain:\n disposable: false\n free: false\n name: microsoft.com\n spam: false\n validDomain: true\n account:\n role: false\n dns:\n mxRecord:\n - microsoft-com.mail.protection.outlook.com.\n ip: 8.8.8.8\n address:\n validIpAddress: true\n location:\n city: Mountain View\n district: Santa Clara\n zipcode: 94043-1351\n state_prov: California\n country_name: United States\n continent_name: North America\n continent_code: NA\n country_code2: US\n country_code3: USA\n country_name_official: United States of America\n is_eu: false\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n is_anonymous: false\n is_known_attacker: false\n is_spam: false\n is_bot: false\n is_cloud_provider: true\n cloud_provider: Google LLC\n - email: test@mailinator.com\n validSyntax: true\n domain:\n disposable: true\n free: false\n name: mailinator.com\n spam: false\n validDomain: true\n account:\n role: false\n dns:\n mxRecord:\n - mail.mailinator.com.\n - mail2.mailinator.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 \u2013 Invalid request body, empty/missing emailData, or a null entry / entry without a valid email\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n emptyEmailData:\n summary: emailData missing or empty\n value:\n error: Missing or Invalid Parameters\n message: Please pass at least one entry in 'emailData'.\n path: /v1.0/email/disposable/bulk\n status: 400\n timestamp: '2026-10-13T10:39:42.887Z'\n nullOrBlankEntry:\n summary: emailData contains a null entry or an entry with a blank/missing email \u2014 whole request rejected\n value:\n error: Missing or Invalid Parameters\n message: '''emailData'' must not contain null entries or entries without a valid ''email''.'\n path: /v1.0/email/disposable/bulk\n status: 400\n timestamp: '2026-10-13T10:39:44.002Z'\n missingApiKey:\n summary: apiKey not supplied\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/email/disposable/bulk\n status: 400\n timestamp: '2026-10-13T10:40:02.684Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2013 Invalid API key\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/email/disposable/bulk\n status: 401\n timestamp: '2026-10-13T10:40:03.166Z'\n '404':\n description: Not Found \u2013 The requested resource could not be found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Resource Not Found:\n value:\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n path: /v1.0/email/disposable/bulkx\n status: 404\n timestamp: '2026-10-13T11:00:08.337Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2013 emailData exceeds the maximum of 100 entries per request\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Payload Too Large:\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v1.0/email/disposable/bulk\n status: 413\n timestamp: '2026-10-13T10:39:58.052Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: bulkCheckDisposableEmail\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 BulkDisposableEmailCheckResponse:\n type: object\n description: Wrapper containing the per-email results array.\n required:\n - disposableEmailResponse\n properties:\n disposableEmailResponse:\n type: array\n description: Array of per-email results, one entry per requested email, in the same order as the request.\n items:\n $ref: '#/components/schemas/DisposableEmailCheckResult'\n DisposableEmailCheckResult:\n type: object\n required:\n - email\n - validSyntax\n - domain\n properties:\n email:\n type: string\n description: The email address submitted for the check.\n validSyntax:\n type: boolean\n description: Validates email address format compliance with RFC 5322 standards. When false, domain only contains name/validDomain and account/dns are omitted entirely.\n domain:\n $ref: '#/components/schemas/DisposableDomainObject'\n account:\n $ref: '#/components/schemas/DisposableAccountObject'\n dns:\n $ref: '#/components/schemas/DisposableDnsObject'\n ip:\n description: The IP address that was looked up.\n anyOf:\n - type: string\n format: ipv4\n - type: string\n format: ipv6\n address:\n $ref: '#/components/schemas/AddressObject'\n description: Disposable email check result for a single item in the bulk request.\n DisposableDomainObject:\n type: object\n required:\n - name\n - validDomain\n properties:\n name:\n type: string\n description: Extracted domain component from the email address.\n validDomain:\n type: boolean\n description: Domain validation status confirming DNS resolution capability.\n disposable:\n type: boolean\n description: Classification flag identifying domains from temporary/throwaway email service providers. Omitted when validSyntax is false or the domain could not be resolved.\n free:\n type: boolean\n description: Classification indicating free or consumer-grade email service providers. Omitted when validSyntax is false or the domain could not be resolved.\n spam:\n type: boolean\n description: Reputation indicator flagging domains on spam databases. Omitted when validSyntax is false or the domain could not be resolved.\n description: Domain-level disposable/spam/free classification for the email address.\n DisposableAccountObject:\n type: object\n required:\n - role\n properties:\n role:\n type: boolean\n description: Detection flag identifying role-based email addresses (e.g., admin@, support@).\n description: Account-level detection details. Omitted entirely when validSyntax is false.\n DisposableDnsObject:\n type: object\n required: []\n properties:\n mxRecord:\n type: array\n items:\n type: string\n description: Every MX hostname at the domain's lowest preference (not just one). [\".\"] means the domain publishes a null MX and accepts no mail at all. Absent entirely when the domain has no MX record of any kind \u2014 check aRecord in that case.\n aRecord:\n type: array\n items:\n type: string\n description: Collection of A (Address) records for the domain. Present when the domain has no MX record but does resolve to a web server or other host.\n description: DNS records for the email domain. Omitted entirely when validSyntax is false or the domain does not exist (NXDOMAIN).\n BulkDisposableEmailRequest:\n type: object\n description: Request body for bulk disposable email check.\n required:\n - emailData\n properties:\n emailData:\n type: array\n description: Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.\n minItems: 1\n maxItems: 100\n items:\n $ref: '#/components/schemas/DisposableEmailEntry'\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 DisposableEmailEntry:\n type: object\n required:\n - email\n properties:\n email:\n type: string\n description: The email address to check.\n ip:\n description: Optional IP address to look up for location and security data, such as the IP the signup came from.\n anyOf:\n - type: string\n format: ipv4\n - type: string\n format: ipv6\n AddressObject:\n type: object\n properties:\n validIpAddress:\n type: boolean\n description: IP recognized/reachable by the geolocation provider.\n location:\n $ref: '#/components/schemas/EmailLocation'\n security:\n $ref: '#/components/schemas/EmailSecurity'\n description: Geolocation and security enrichment data for the IP address.\n required: []\n EmailLocation:\n type: object\n description: Geolocation data derived from the IP address.\n properties:\n city:\n type: string\n description: Municipal or city name.\n district:\n type: string\n description: District or neighborhood.\n zipcode:\n type: string\n description: Postal or ZIP code.\n state_prov:\n type: string\n description: State or province.\n country_name:\n type: string\n description: Common country name.\n country_name_official:\n type: string\n description: Official country name.\n country_code2:\n type: string\n description: Two-character ISO country code.\n country_code3:\n type: string\n description: Three-character ISO country code.\n continent_name:\n type: string\n description: Continental region name.\n continent_code:\n type: string\n description: Continental region identifier.\n accuracy_radius:\n type: string\n description: Geolocation precision radius. Not included for every IP.\n confidence:\n type: string\n description: Confidence score for geolocation accuracy. Not included for every IP.\n is_eu:\n type: boolean\n description: European Union membership status.\n required: []\n EmailSecurity:\n type: object\n description: Threat and anonymity profile for the IP address.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - is_anonymous\n - is_known_attacker\n - is_spam\n - is_bot\n - is_cloud_provider\n - cloud_provider\n properties:\n threat_score:\n type: integer\n description: Quantitative risk assessment score. Higher values indicate elevated security risk.\n is_tor:\n type: boolean\n description: Detection flag for IP addresses routed through the Tor anonymity network.\n is_proxy:\n type: boolean\n description: Detection flag identifying IP addresses operating as proxy servers.\n proxy_type:\n type: string\n description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.\n proxy_provider:\n type: string\n description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.\n is_anonymous:\n type: boolean\n description: Anonymization detection flag for IP addresses using identity obfuscation techniques.\n is_known_attacker:\n type: boolean\n description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.\n is_spam:\n type: boolean\n description: Reputation flag for IP addresses associated with spam transmission.\n is_bot:\n type: boolean\n description: Automated traffic detection flag for IP addresses from bot networks.\n is_cloud_provider:\n type: boolean\n description: Infrastructure classification flag for IP addresses from cloud computing providers.\n cloud_provider:\n type: string\n description: Identified cloud infrastructure or hosting service provider name.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request. 15 credits per checked record (e.g. 3 emails = 45 credits).\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",
|
|
56475
|
+
"bulk-disposable-email-checker": "openapi: 3.1.1\ninfo:\n title: Bulk Disposable Email Checker API - Check Multiple Emails for Disposable Domains\n version: 1.0.0\n description: Check up to 100 email addresses in a single POST request for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts. Each entry can include an optional ip to also get its geolocation and security signals. Each entry is processed independently and returned in the same order as the request. The whole request is rejected with a 400 if emailData is empty/missing or contains a null entry or an entry without a valid email. Maximum 100 entries per request.\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 Disposable Email Checker API Server\npaths:\n /email/disposable-check/bulk:\n post:\n tags:\n - Email Validation APIs\n summary: Check multiple emails for disposable/temporary domains\n description: Checks a bulk of email addresses (each with an optional ip) and returns a disposable email check result for each, in the same order as the request. Maximum `100` entries per request.\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 requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkDisposableEmailRequest'\n examples:\n bulkRequest:\n value:\n emailData:\n - email: abc\n - email: john@microsoft.com\n ip: 8.8.8.8\n - email: test@mailinator.com\n responses:\n '200':\n description: Successful response. Each item corresponds to one requested email, in the same order as the request.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkDisposableEmailCheckResponse'\n examples:\n mixedResults:\n summary: Mix of syntactically invalid, clean (with ip), and disposable results\n value:\n disposableEmailResponse:\n - email: abc\n validSyntax: false\n domain:\n name: abc\n validDomain: false\n - email: john@microsoft.com\n validSyntax: true\n domain:\n disposable: false\n free: false\n name: microsoft.com\n spam: false\n validDomain: true\n account:\n role: false\n dns:\n mxRecord:\n - microsoft-com.mail.protection.outlook.com.\n ip: 8.8.8.8\n address:\n validIpAddress: true\n location:\n city: Mountain View\n district: Santa Clara\n zipcode: 94043-1351\n state_prov: California\n country_name: United States\n continent_name: North America\n continent_code: NA\n country_code2: US\n country_code3: USA\n country_name_official: United States of America\n is_eu: false\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n is_anonymous: false\n is_known_attacker: false\n is_spam: false\n is_bot: false\n is_cloud_provider: true\n cloud_provider: Google LLC\n - email: test@mailinator.com\n validSyntax: true\n domain:\n disposable: true\n free: false\n name: mailinator.com\n spam: false\n validDomain: true\n account:\n role: false\n dns:\n mxRecord:\n - mail.mailinator.com.\n - mail2.mailinator.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 \u2013 Invalid request body, empty/missing emailData, or a null entry / entry without a valid email\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n emptyEmailData:\n summary: emailData missing or empty\n value:\n error: Missing or Invalid Parameters\n message: Please pass at least one entry in 'emailData'.\n path: /v2.0/email/disposable-check/bulk\n status: 400\n timestamp: '2026-10-13T10:39:42.887Z'\n nullOrBlankEntry:\n summary: emailData contains a null entry or an entry with a blank/missing email \u2014 whole request rejected\n value:\n error: Missing or Invalid Parameters\n message: '''emailData'' must not contain null entries or entries without a valid ''email''.'\n path: /v2.0/email/disposable-check/bulk\n status: 400\n timestamp: '2026-10-13T10:39:44.002Z'\n missingApiKey:\n summary: apiKey not supplied\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v2.0/email/disposable-check/bulk\n status: 400\n timestamp: '2026-10-13T10:40:02.684Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2013 Invalid API key\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v2.0/email/disposable-check/bulk\n status: 401\n timestamp: '2026-10-13T10:40:03.166Z'\n '404':\n description: Not Found \u2013 The requested resource could not be found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Resource Not Found:\n value:\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n path: /v2.0/email/disposable-check/bulkx\n status: 404\n timestamp: '2026-10-13T11:00:08.337Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2013 emailData exceeds the maximum of 100 entries per request\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Payload Too Large:\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v2.0/email/disposable-check/bulk\n status: 413\n timestamp: '2026-10-13T10:39:58.052Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: bulkCheckDisposableEmail\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 BulkDisposableEmailCheckResponse:\n type: object\n description: Wrapper containing the per-email results array.\n required:\n - disposableEmailResponse\n properties:\n disposableEmailResponse:\n type: array\n description: Array of per-email results, one entry per requested email, in the same order as the request.\n items:\n $ref: '#/components/schemas/DisposableEmailCheckResult'\n DisposableEmailCheckResult:\n type: object\n required:\n - email\n - validSyntax\n - domain\n properties:\n email:\n type: string\n description: The email address submitted for the check.\n validSyntax:\n type: boolean\n description: Validates email address format compliance with RFC 5322 standards. When false, domain only contains name/validDomain and account/dns are omitted entirely.\n domain:\n $ref: '#/components/schemas/DisposableDomainObject'\n account:\n $ref: '#/components/schemas/DisposableAccountObject'\n dns:\n $ref: '#/components/schemas/DisposableDnsObject'\n ip:\n description: The IP address that was looked up.\n anyOf:\n - type: string\n format: ipv4\n - type: string\n format: ipv6\n address:\n $ref: '#/components/schemas/AddressObject'\n description: Disposable email check result for a single item in the bulk request.\n DisposableDomainObject:\n type: object\n required:\n - name\n - validDomain\n properties:\n name:\n type: string\n description: Extracted domain component from the email address.\n validDomain:\n type: boolean\n description: Domain validation status confirming DNS resolution capability.\n disposable:\n type: boolean\n description: Classification flag identifying domains from temporary/throwaway email service providers. Omitted when validSyntax is false or the domain could not be resolved.\n free:\n type: boolean\n description: Classification indicating free or consumer-grade email service providers. Omitted when validSyntax is false or the domain could not be resolved.\n spam:\n type: boolean\n description: Reputation indicator flagging domains on spam databases. Omitted when validSyntax is false or the domain could not be resolved.\n description: Domain-level disposable/spam/free classification for the email address.\n DisposableAccountObject:\n type: object\n required:\n - role\n properties:\n role:\n type: boolean\n description: Detection flag identifying role-based email addresses (e.g., admin@, support@).\n description: Account-level detection details. Omitted entirely when validSyntax is false.\n DisposableDnsObject:\n type: object\n required: []\n properties:\n mxRecord:\n type: array\n items:\n type: string\n description: Every MX hostname at the domain's lowest preference (not just one). [\".\"] means the domain publishes a null MX and accepts no mail at all. Absent entirely when the domain has no MX record of any kind \u2014 check aRecord in that case.\n aRecord:\n type: array\n items:\n type: string\n description: Collection of A (Address) records for the domain. Present when the domain has no MX record but does resolve to a web server or other host.\n description: DNS records for the email domain. Omitted entirely when validSyntax is false or the domain does not exist (NXDOMAIN).\n BulkDisposableEmailRequest:\n type: object\n description: Request body for bulk disposable email check.\n required:\n - emailData\n properties:\n emailData:\n type: array\n description: Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.\n minItems: 1\n maxItems: 100\n items:\n $ref: '#/components/schemas/DisposableEmailEntry'\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 DisposableEmailEntry:\n type: object\n required:\n - email\n properties:\n email:\n type: string\n description: The email address to check.\n ip:\n description: Optional IP address to look up for location and security data, such as the IP the signup came from.\n anyOf:\n - type: string\n format: ipv4\n - type: string\n format: ipv6\n AddressObject:\n type: object\n properties:\n validIpAddress:\n type: boolean\n description: IP recognized/reachable by the geolocation provider.\n location:\n $ref: '#/components/schemas/EmailLocation'\n security:\n $ref: '#/components/schemas/EmailSecurity'\n description: Geolocation and security enrichment data for the IP address.\n required: []\n EmailLocation:\n type: object\n description: Geolocation data derived from the IP address.\n properties:\n city:\n type: string\n description: Municipal or city name.\n district:\n type: string\n description: District or neighborhood.\n zipcode:\n type: string\n description: Postal or ZIP code.\n state_prov:\n type: string\n description: State or province.\n country_name:\n type: string\n description: Common country name.\n country_name_official:\n type: string\n description: Official country name.\n country_code2:\n type: string\n description: Two-character ISO country code.\n country_code3:\n type: string\n description: Three-character ISO country code.\n continent_name:\n type: string\n description: Continental region name.\n continent_code:\n type: string\n description: Continental region identifier.\n accuracy_radius:\n type: string\n description: Geolocation precision radius. Not included for every IP.\n confidence:\n type: string\n description: Confidence score for geolocation accuracy. Not included for every IP.\n is_eu:\n type: boolean\n description: European Union membership status.\n required: []\n EmailSecurity:\n type: object\n description: Threat and anonymity profile for the IP address.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - is_anonymous\n - is_known_attacker\n - is_spam\n - is_bot\n - is_cloud_provider\n - cloud_provider\n properties:\n threat_score:\n type: integer\n description: Quantitative risk assessment score. Higher values indicate elevated security risk.\n is_tor:\n type: boolean\n description: Detection flag for IP addresses routed through the Tor anonymity network.\n is_proxy:\n type: boolean\n description: Detection flag identifying IP addresses operating as proxy servers.\n proxy_type:\n type: string\n description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.\n proxy_provider:\n type: string\n description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.\n is_anonymous:\n type: boolean\n description: Anonymization detection flag for IP addresses using identity obfuscation techniques.\n is_known_attacker:\n type: boolean\n description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.\n is_spam:\n type: boolean\n description: Reputation flag for IP addresses associated with spam transmission.\n is_bot:\n type: boolean\n description: Automated traffic detection flag for IP addresses from bot networks.\n is_cloud_provider:\n type: boolean\n description: Infrastructure classification flag for IP addresses from cloud computing providers.\n cloud_provider:\n type: string\n description: Identified cloud infrastructure or hosting service provider name.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request. 15 credits per checked record (e.g. 3 emails = 45 credits).\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",
|
|
55774
56476
|
"bulk-email-validation": "openapi: 3.1.1\ninfo:\n title: Bulk Email Validation API - Validate and Verify Emails in Bulk\n version: 1.0.0\n description: Validate up to 100 email addresses in a single POST request. Each email is processed independently. Returns an array of validation results with deliverability assessment per email (valid/accept_all/invalid/unknown/risky/app_server_blocked), plus per-item error objects for failed validations. Maximum 100 email addresses per request.\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 Email Validation API Server\npaths:\n /email-validation/bulk:\n post:\n tags:\n - Email Validation APIs\n summary: Validate multiple email addresses\n description: Validates a bulk of email addresses and returns result for each. Maximum `100` email addresses per request.\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 requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkEmailRequest'\n responses:\n '200':\n description: Successful response. Each item corresponds to one requested email, in the same order as the request; invalid emails are reflected via validEmail/validSyntax on that item, not as a separate error object \u2014 every item has success=true regardless of validation outcome.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkEmailValidationResponse'\n examples:\n bulkEmailsValidated:\n summary: Mix of valid, syntactically invalid, accept_all, null-MX invalid, and unknown (no-MX probe) results\n value:\n emailResponse:\n - success: true\n email: abc.def@gmail.com\n validEmail: valid\n validSyntax: true\n domain:\n name: gmail.com\n disposable: false\n spam: false\n free: true\n validDomain: true\n catchAll: false\n account:\n role: false\n fullMailBox: false\n dns:\n mxRecord:\n - gmail-smtp-in.l.google.com.\n - alt1.gmail-smtp-in.l.google.com.\n - alt2.gmail-smtp-in.l.google.com.\n - alt3.gmail-smtp-in.l.google.com.\n - alt4.gmail-smtp-in.l.google.com.\n - success: true\n email: not-an-email\n validEmail: INVALID_EMAIL\n validSyntax: false\n domain:\n name: not-an-email\n validDomain: false\n - success: true\n email: someone@mailinator.com\n validEmail: accept_all\n validSyntax: true\n reason: domain accepts all addresses.\n domain:\n name: mailinator.com\n disposable: true\n spam: false\n free: false\n validDomain: true\n catchAll: true\n account:\n role: false\n fullMailBox: false\n dns:\n mxRecord:\n - mail.mailinator.com.\n - mail2.mailinator.com.\n - success: true\n email: test@example.com\n validEmail: invalid\n validSyntax: true\n reason: domain does not accept mail.\n domain:\n name: example.com\n disposable: true\n spam: false\n free: false\n validDomain: true\n account:\n role: false\n dns:\n mxRecord:\n - .\n - success: true\n email: test@neverssl.com\n validEmail: unknown\n validSyntax: true\n reason: We are unable to determine if email is valid or invalid.\n domain:\n name: neverssl.com\n disposable: false\n spam: false\n free: false\n validDomain: true\n account:\n role: false\n dns:\n aRecord:\n - 34.223.124.45\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 \u2013 Invalid request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidBody:\n summary: emailData field missing or malformed\n value:\n timestamp: '2026-07-27T12:53:14.628Z'\n path: /v1.0/email-validation/bulk\n status: 400\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 The requested resource could not be found\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Resource Not Found:\n value:\n timestamp: '2026-09-02T11:57:55.592Z'\n path: /v1.0/email-validation/bulkx\n status: 404\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '408':\n description: Request Timeout\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Request Timeout:\n value:\n timestamp: '2026-06-06T13:00:00.000Z'\n path: /v1.0/email-validation/bulk\n status: 408\n error: Request Timeout\n message: Timed out while connecting to the remote URL.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2013 emailData exceeds the maximum of 100 entries per request\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Payload Too Large:\n value:\n timestamp: '2026-09-02T11:57:34.223Z'\n path: /v2/email-validation/bulk\n status: 413\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '429':\n description: Rate Limit Exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Rate Limit Exceeded:\n value:\n timestamp: '2026-06-06T13:00:00.000Z'\n path: /v1.0/email-validation/bulk\n status: 429\n error: Too Many Requests\n message: API rate limit exceeded.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: bulkCheckEmail\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 BulkEmailValidationResponse:\n type: object\n description: Wrapper containing the per-email results array.\n required:\n - emailResponse\n properties:\n emailResponse:\n type: array\n description: Array of per-email results, one entry per requested email, in the same order as the request. Invalid emails are reflected via validEmail/validSyntax, not a separate error shape.\n items:\n $ref: '#/components/schemas/SingleEmailValidationResponse'\n SingleEmailValidationResponse:\n type: object\n required:\n - success\n - email\n - validEmail\n - validSyntax\n - domain\n properties:\n success:\n type: boolean\n description: 'Indicates the processing status of the validation request. true: completed successfully.'\n email:\n type: string\n format: email\n description: The email address submitted for validation.\n name:\n type: string\n description: Optional identifier or label provided in the request for record tracking.\n reason:\n type: string\n description: Detailed explanation returned when validEmail is not valid. Omitted entirely when validEmail is valid.\n validEmail:\n type: string\n enum:\n - valid\n - accept_all\n - invalid\n - INVALID_EMAIL\n - unknown\n - risky\n - app_server_blocked\n description: 'Comprehensive deliverability assessment. valid: recipient confirmed deliverable, reason omitted. accept_all: the domain is catch-all and accepted the recipient, so this specific mailbox is unconfirmed \u2014 see domain.catchAll, reason ''domain accepts all addresses.''. invalid: rejected mailbox, syntax failure, or the domain accepts no mail at all (a null MX). unknown: no conclusive answer, most common for domains with no MX record that only get a probe against their address record. risky: mailbox exists but over quota, or the server deferred with a greylist response. app_server_blocked: our verifier IP was blocked by the receiving server. Casing is inconsistent in the live API: syntactically invalid addresses can return the raw enum name INVALID_EMAIL instead of lowercase invalid \u2014 this is a known API bug, handle it defensively as equivalent to invalid.'\n validSyntax:\n type: boolean\n description: Validates email address format compliance with RFC 5322 standards.\n domain:\n $ref: '#/components/schemas/DomainObject'\n account:\n $ref: '#/components/schemas/AccountObject'\n dns:\n $ref: '#/components/schemas/DnsObject'\n address:\n $ref: '#/components/schemas/AddressObject'\n ip:\n type: string\n format: ip\n description: IP address provided for geolocation and security enrichment.\n description: Email validation response containing deliverability assessment and metadata.\n DomainObject:\n type: object\n required:\n - name\n - validDomain\n properties:\n name:\n type: string\n description: Extracted domain component from the email address.\n validDomain:\n type: boolean\n description: Domain validation status confirming DNS resolution capability.\n disposable:\n type: boolean\n description: Classification flag identifying domains from temporary email service providers.\n spam:\n type: boolean\n description: Reputation indicator flagging domains on spam databases.\n free:\n type: boolean\n description: Classification indicating free or consumer-grade email service providers.\n catchAll:\n type: boolean\n description: 'Whether the domain is catch-all, meaning its mail server accepts email for any address. true: the domain accepts all addresses, and validEmail is accept_all. false: the check ran and the domain is not catch-all. This field is omitted when the check could not complete.'\n description: Domain validation details for the email address.\n AccountObject:\n type: object\n required:\n - role\n properties:\n role:\n type: boolean\n description: Detection flag identifying role-based email addresses (e.g., admin@, support@).\n fullMailBox:\n type: boolean\n description: Storage capacity status indicator for the recipient mailbox.\n description: Account-level validation details.\n DnsObject:\n type: object\n required: []\n properties:\n mxRecord:\n type: array\n items:\n type: string\n description: Every MX hostname at the domain's lowest preference (not just one). [\".\"] means the domain publishes a null MX and accepts no mail at all. Absent entirely when the domain has no MX record of any kind \u2014 check aRecord in that case.\n aRecord:\n type: array\n items:\n type: string\n description: Collection of A (Address) records for the domain. Present when the domain has no MX record but does resolve to a web server or other host.\n description: DNS records for the email domain. Absent entirely when the domain publishes neither an MX nor an A record.\n AddressObject:\n type: object\n properties:\n validIpAddress:\n type: boolean\n description: IP recognized/reachable by the geolocation provider.\n location:\n $ref: '#/components/schemas/EmailLocation'\n security:\n $ref: '#/components/schemas/EmailSecurity'\n description: Geolocation and security enrichment data for the IP address.\n required: []\n EmailLocation:\n type: object\n description: Geolocation data derived from the IP address.\n properties:\n city:\n type: string\n description: Municipal or city name.\n district:\n type: string\n description: District or neighborhood.\n zipcode:\n type: string\n description: Postal or ZIP code.\n state_prov:\n type: string\n description: State or province.\n country_name:\n type: string\n description: Common country name.\n country_name_official:\n type: string\n description: Official country name.\n country_code2:\n type: string\n description: Two-character ISO country code.\n country_code3:\n type: string\n description: Three-character ISO country code.\n continent_name:\n type: string\n description: Continental region name.\n continent_code:\n type: string\n description: Continental region identifier.\n accuracy_radius:\n type: string\n description: Geolocation precision radius. Not included for every IP.\n confidence:\n type: string\n description: Confidence score for geolocation accuracy. Not included for every IP.\n is_eu:\n type: boolean\n description: European Union membership status.\n required: []\n EmailSecurity:\n type: object\n description: Threat and anonymity profile for the IP address.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - is_anonymous\n - is_known_attacker\n - is_spam\n - is_bot\n - is_cloud_provider\n - cloud_provider\n properties:\n threat_score:\n type: integer\n description: Quantitative risk assessment score. Higher values indicate elevated security risk.\n is_tor:\n type: boolean\n description: Detection flag for IP addresses routed through the Tor anonymity network.\n is_proxy:\n type: boolean\n description: Detection flag identifying IP addresses operating as proxy servers.\n proxy_type:\n type: string\n description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.\n proxy_provider:\n type: string\n description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.\n is_anonymous:\n type: boolean\n description: Anonymization detection flag for IP addresses using identity obfuscation techniques.\n is_known_attacker:\n type: boolean\n description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.\n is_spam:\n type: boolean\n description: Reputation flag for IP addresses associated with spam transmission.\n is_bot:\n type: boolean\n description: Automated traffic detection flag for IP addresses from bot networks.\n is_cloud_provider:\n type: boolean\n description: Infrastructure classification flag for IP addresses from cloud computing providers.\n cloud_provider:\n type: string\n description: Identified cloud infrastructure or hosting service provider name.\n BulkEmailRequest:\n type: object\n description: Request body for bulk email validation.\n required:\n - emailData\n properties:\n emailData:\n type: array\n description: Array of email objects to validate. Maximum 100 per request.\n maxItems: 100\n items:\n $ref: '#/components/schemas/BulkEmailRequestItem'\n BulkEmailRequestItem:\n type: object\n description: A single email entry in a bulk validation request.\n required:\n - email\n properties:\n email:\n type: string\n format: email\n description: Email address to validate.\n name:\n type: string\n description: Optional name or label.\n ip:\n type: string\n format: ip\n description: Optional IP address for enrichment.\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",
|
|
55775
56477
|
"disposable-email-checker": `openapi: 3.1.1
|
|
55776
56478
|
info:
|
|
@@ -55782,10 +56484,10 @@ info:
|
|
|
55782
56484
|
url: https://apifreaks.com/contact
|
|
55783
56485
|
email: support@apifreaks.com
|
|
55784
56486
|
servers:
|
|
55785
|
-
- url: https://api.apifreaks.com/
|
|
56487
|
+
- url: https://api.apifreaks.com/v2.0
|
|
55786
56488
|
description: Disposable Email Checker API Server
|
|
55787
56489
|
paths:
|
|
55788
|
-
/email/disposable:
|
|
56490
|
+
/email/disposable-check:
|
|
55789
56491
|
post:
|
|
55790
56492
|
tags:
|
|
55791
56493
|
- Email Validation APIs
|
|
@@ -56002,7 +56704,7 @@ paths:
|
|
|
56002
56704
|
value:
|
|
56003
56705
|
error: Invalid Param Exception
|
|
56004
56706
|
message: Please provide apiKey
|
|
56005
|
-
path: /
|
|
56707
|
+
path: /v2.0/email/disposable-check
|
|
56006
56708
|
status: 400
|
|
56007
56709
|
timestamp: '2026-10-13T10:40:12.475Z'
|
|
56008
56710
|
headers:
|
|
@@ -56019,7 +56721,7 @@ paths:
|
|
|
56019
56721
|
value:
|
|
56020
56722
|
error: API Access Exception
|
|
56021
56723
|
message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
|
|
56022
|
-
path: /
|
|
56724
|
+
path: /v2.0/email/disposable-check
|
|
56023
56725
|
status: 401
|
|
56024
56726
|
timestamp: '2026-10-13T10:40:13.056Z'
|
|
56025
56727
|
'404':
|
|
@@ -56033,7 +56735,7 @@ paths:
|
|
|
56033
56735
|
value:
|
|
56034
56736
|
error: Resource Not Found
|
|
56035
56737
|
message: The requested resource could not be found. Please verify the URL and try again.
|
|
56036
|
-
path: /
|
|
56738
|
+
path: /v2.0/email/disposable-checkx
|
|
56037
56739
|
status: 404
|
|
56038
56740
|
timestamp: '2026-10-13T11:00:07.798Z'
|
|
56039
56741
|
headers:
|
|
@@ -59732,7 +60434,7 @@ security:
|
|
|
59732
60434
|
var SPEC_CATEGORIES = ["billing", "commodity", "currency", "dns", "domain", "email-validation", "financial", "geocoding", "geography", "ip-intelligence", "pdf", "phone-number-validation", "scraper", "screenshot", "ssl", "timezone", "user-agent", "weather", "whois", "zip-code"];
|
|
59733
60435
|
var SPECS_BY_CATEGORY = {
|
|
59734
60436
|
"billing": ["usage-credits"],
|
|
59735
|
-
"commodity": ["commodity-fluctuation", "commodity-prices", "commodity-symbols", "commodity-time-series", "historical-commodity-prices"],
|
|
60437
|
+
"commodity": ["commodity-fluctuation", "commodity-intraday-rates", "commodity-prices", "commodity-symbols", "commodity-time-series", "historical-commodity-prices"],
|
|
59736
60438
|
"currency": ["currency-converter", "currency-fluctuation", "currency-historical-data-limit", "currency-rate", "currency-supported", "currency-symbols", "currency-time-series", "geolocalized-currency-conversion", "historical-currency-converter", "historical-currency-rate"],
|
|
59737
60439
|
"dns": ["bulk-dns-lookup", "dns-history-lookup", "dns-lookup", "reverse-dns-lookup"],
|
|
59738
60440
|
"domain": ["bulk-domain-checker", "domain-reputation", "domain-search-with-suggestions", "domain-search", "domain-typosquatting", "subdomain-lookup"],
|
|
@@ -59774,6 +60476,7 @@ var SpecSlug = {
|
|
|
59774
60476
|
BULK_ZIP_CODE_LOOKUP: "bulk-zip-code-lookup",
|
|
59775
60477
|
CITIES: "cities",
|
|
59776
60478
|
COMMODITY_FLUCTUATION: "commodity-fluctuation",
|
|
60479
|
+
COMMODITY_INTRADAY_RATES: "commodity-intraday-rates",
|
|
59777
60480
|
COMMODITY_PRICES: "commodity-prices",
|
|
59778
60481
|
COMMODITY_SYMBOLS: "commodity-symbols",
|
|
59779
60482
|
COMMODITY_TIME_SERIES: "commodity-time-series",
|