From 9ee885c92aebaa8c0f02aeded69a405ad7ad77a1 Mon Sep 17 00:00:00 2001 From: Muhammad Daffa Date: Wed, 17 Aug 2022 23:10:40 +0700 Subject: [PATCH] Add 10 informations --- README.md | 1 - abstract-exchange-rates/README.md | 6 +-- abstract-timezone/README.md | 6 +-- airtable/README.md | 2 +- aletheia/README.md | 50 +++++++++++++++++++++++ breezometer/README.md | 60 +++++++++++++++++++++++++++ carboninterface/README.md | 38 +++++++++++++++++ clickup/README.md | 2 +- climatiq/README.md | 50 +++++++++++++++++++++++ cloudmersive/README.md | 43 +++++++++++++++++++ fixer/README.md | 52 +++++++++++++++++++++++ iqair/README.md | 50 +++++++++++++++++++++++ marketstack/README.md | 68 +++++++++++++++++++++++++++++++ scrapingant/README.md | 2 +- seatgeek/README.md | 64 +++++++++++++++++++++++++++++ ticketmaster/README.md | 61 +++++++++++++++++++++++++++ 16 files changed, 545 insertions(+), 10 deletions(-) create mode 100644 aletheia/README.md create mode 100644 breezometer/README.md create mode 100644 carboninterface/README.md create mode 100644 climatiq/README.md create mode 100644 cloudmersive/README.md create mode 100644 fixer/README.md create mode 100644 iqair/README.md create mode 100644 marketstack/README.md create mode 100644 seatgeek/README.md create mode 100644 ticketmaster/README.md diff --git a/README.md b/README.md index f3beef2..f44151d 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,6 @@ Detailed information about API ## To Dos - [x] Fixing structure of the repository - [ ] Add nuclei-template link to each information -- [ ] Create a bash script to check the validity of API key / Oauth token - [ ] Get all of the information from github.com/public-apis/public-apis ## References diff --git a/abstract-exchange-rates/README.md b/abstract-exchange-rates/README.md index c0e767b..a7b9f96 100644 --- a/abstract-exchange-rates/README.md +++ b/abstract-exchange-rates/README.md @@ -6,13 +6,13 @@ Get live and historical data from 60+ fiat and crypto currencies via a modern RE ## __Example Request__ * Curl ``` -curl "https://currency.abstractapi.com/v1/?api_key={{token}}&base=USD" +curl "https://exchange-rates.abstractapi.com/v1/live/?api_key={{token}}&base=USD" ``` * Raw ``` -GET /v1/?api_key={{token}}&base=USD HTTP/1.1 -Host: currency.abstractapi.com +GET /v1/live/?api_key={{token}}&base=USD HTTP/1.1 +Host: exchange-rates.abstractapi.com ``` ## __Response__ diff --git a/abstract-timezone/README.md b/abstract-timezone/README.md index 25b78f3..c414414 100644 --- a/abstract-timezone/README.md +++ b/abstract-timezone/README.md @@ -6,13 +6,13 @@ Quickly and easily get the time and date of a location or IP address, or convert ## __Example Request__ * Curl ``` -curl "https://time.abstractapi.com/v1/?api_key={{token}}&location=Oxford, United Kingdom" +curl "https://timezone.abstractapi.com/v1/current_time/?api_key={{token}}&location=Oxford, United Kingdom" ``` * Raw ``` -GET /v1/?api_key={{token}}&location=Oxford,%20United%20Kingdom HTTP/1.1 -Host: time.abstractapi.com +GET /v1/current_time/?api_key={{token}}&location=Oxford,%20United%20Kingdom HTTP/1.1 +Host: timezone.abstractapi.com ``` ## __Response__ diff --git a/airtable/README.md b/airtable/README.md index 9c13007..3321c65 100644 --- a/airtable/README.md +++ b/airtable/README.md @@ -1,7 +1,7 @@ # [Airtable](https://airtable.com/api) ## __Description__ -Integrate with Airtable +Integrate with Airtable ## __Example Request__ * Curl diff --git a/aletheia/README.md b/aletheia/README.md new file mode 100644 index 0000000..dff6672 --- /dev/null +++ b/aletheia/README.md @@ -0,0 +1,50 @@ +# [Aletheia](https://aletheiaapi.com/docs/) + +## __Description__ +Insider trading data, earnings call analysis, financial statements, and more + +## __Example Request__ +* Curl +``` +curl "http://api.aletheiaapi.com/LatestTransactions?issuer=TSLA&owner=1494730" -H "Key: {{token}}" +``` + +* Raw +``` +GET /LatestTransactions?issuer=TSLA&owner=1494730 HTTP/1.1 +Host: api.aletheiaapi.com +Key: {{token}} +``` + +## __Response__ +* Success +``` +[ + { + "Id":"abcd1234-abcd-1234-abcd-abcd1234abcd", + "FromFiling":"abcd1234-abcd-1234-abcd-abcd1234abcd", + "EntryType":0, + "QuantityOwnedFollowingTransaction":166587740.0, + "Direcn Stock", + "SecurityType":0, + "AcquiredDisposed":1, + "Quantity":28526.0, + "PricePerSecurity":null, + "TransactionDate":"2022-04-28T00:00:00", + ... + } +] +``` +* Error +``` +API key invalid +``` +## __Regex__ +``` +[A-Z0-9]{32} +``` + +## __Example API key__ +``` +LGIWODLS8P9IHLTAC5WL1JDKWIE1ABCD +``` \ No newline at end of file diff --git a/breezometer/README.md b/breezometer/README.md new file mode 100644 index 0000000..f703af7 --- /dev/null +++ b/breezometer/README.md @@ -0,0 +1,60 @@ +# [BreezoMeter](https://docs.breezometer.com/) + +## __Description__ +Location-based Air Pollution, Pollen & Active Fires information enables businesses to develop solutions that help reduce exposure to environmental hazards. + +## __Example Request__ +* Curl +``` +curl "https://api.breezometer.com/air-quality/v2/current-conditions?lat=48.857456&lon=2.354611&key={{token}}" +``` + +* Raw +``` +GET /air-quality/v2/current-conditions?lat=48.857456&lon=2.354611&key={{token}} HTTP/1.1 +Host: api.breezometer.com +``` + +## __Response__ +* Success +``` +{ + "metadata": null, + "data":{ + "datetime": "2022-08-17T11:00:00Z", + "data_available": true, + "indexes":{ + "baqi": { + "display_name": "BreezoMeter AQI", + "aqi": 65, + "aqi_display": "65", + "color": "#A2DB26", + "category": "Good air quality", + "dominant_pollutant": "o3" + } + } + }, + "error": null +} +``` +* Error +``` +{ + "metadata":null, + "data":null, + "error":{ + "code":"invalid_api_key", + "title":"Invalid API key", + "detail":"Provided API key is invalid. Check for accidental whitespace characters and note that the key is case sensitive" + } +} +``` +## __Regex__ +``` +[a-z0-9]{32} +``` + +## __Example API key__ +``` +of3ab02f3xd12ldofxc3fosc129sd241 +``` \ No newline at end of file diff --git a/carboninterface/README.md b/carboninterface/README.md new file mode 100644 index 0000000..cdffe56 --- /dev/null +++ b/carboninterface/README.md @@ -0,0 +1,38 @@ +# [Carbon Interface](https://docs.carboninterface.com/#/) + +## __Description__ +API to calculate carbon (C02) emissions estimates for common C02 emitting activities + +## __Example Request__ +* Curl +``` +curl "https://www.carboninterface.com/api/v1/auth" -H "Authorization: Bearer {{token}}" +``` + +* Raw +``` +GET /api/v1/auth HTTP/1.1 +Host: www.carboninterface.com +Authorization: Bearer {{token}} +``` + +## __Response__ +* Success +``` +{ + "message":"auth successful" +} +``` +* Error +``` +HTTP Token: Access denied. +``` +## __Regex__ +``` +[a-zA-Z0-9]{21} +``` + +## __Example API key__ +``` +oDWwEm2KepcmbsLbCK2ld +``` \ No newline at end of file diff --git a/clickup/README.md b/clickup/README.md index c0a6d53..792ee56 100644 --- a/clickup/README.md +++ b/clickup/README.md @@ -1,7 +1,7 @@ # [ClickUp](https://clickup.com/api) ## __Description__ -ClickUp is a robust, cloud-based project management tool for boosting productivity +ClickUp is a robust, cloud-based project management tool for boosting productivity ## __Example Request__ * Curl diff --git a/climatiq/README.md b/climatiq/README.md new file mode 100644 index 0000000..ee53c73 --- /dev/null +++ b/climatiq/README.md @@ -0,0 +1,50 @@ +# [Climatiq](https://docs.climatiq.io/) + +## __Description__ +Calculate the environmental footprint created by a broad range of emission-generating activities + +## __Example Request__ +* Curl +``` +curl "https://beta3.api.climatiq.io/search?query=light+duty+trucks&year=2021" -H "Authorization: Bearer {{token}}" +``` + +* Raw +``` +GET /search?query=light+duty+trucks&year=2021 HTTP/1.1 +Host: beta3.api.climatiq.io +Authorization: Bearer {{token}} +``` + +## __Response__ +* Success +``` +{ + "current_page": 1, + "last_page": 11, + "total_results": 218, + "results": [ + { + "activity_id": "commercial_vehicle-vehicle_type_truck_light-fuel_source_na-engine_size_na-vehicle_age_na-vehicle_weight_na", + "uuid": "05d034db-dfe7-462e-9a19-a69ecd65a114", + "id": "commercial_vehicle-vehicle_type_truck_light-fuel_source_na-engine_size_na-vehicle_age_na-vehicle_weight_na", + "name": "Light-Duty Truck", + "category": "Vehicles", + ... +``` +* Error +``` +{ + "error": "unauthorized", + "message": "Your authentication token was not valid" +} +``` +## __Regex__ +``` +[A-Z0-9]{28} +``` + +## __Example API key__ +``` +V9NPRSZ3KF4XN4Q8G50J3Y1DXRVQ +``` \ No newline at end of file diff --git a/cloudmersive/README.md b/cloudmersive/README.md new file mode 100644 index 0000000..a50f44d --- /dev/null +++ b/cloudmersive/README.md @@ -0,0 +1,43 @@ +# [Cloudmersive](https://api.cloudmersive.com/) + +## __Description__ +A Utility API platform provides layers of API coverage, allowing businesses to accelerate both project and deliverable completion times, as well as increase information security and standardize organizational output across working groups and teams. + +## __Example Request__ +* Curl +``` +curl --location --request POST "https://api.cloudmersive.com/barcode/lookup/ean" --header "Content-Type: application/x-www-form-urlencoded" --header "Apikey: {{token}}" -d "0=<&1=s&2=t&3=r&4=i&5=n&6=g&7=>" +``` + +* Raw +``` +POST /barcode/lookup/ean HTTP/1.1 +Host: api.cloudmersive.com +Content-Type: application/x-www-form-urlencoded +Apikey: {{token}} +Content-Length: 31 + +0=<&1=s&2=t&3=r&4=i&5=n&6=g&7=> +``` + +## __Response__ +* Success +``` +{ + "Successful":true, + "Matches":[] +} +``` +* Error +``` +401 Invalid API key or exceeded limits. +``` +## __Regex__ +``` +[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12} +``` + +## __Example API key__ +``` +abcd1234-abcd-1234-abcd-abcd1234abcd +``` \ No newline at end of file diff --git a/fixer/README.md b/fixer/README.md new file mode 100644 index 0000000..8429e30 --- /dev/null +++ b/fixer/README.md @@ -0,0 +1,52 @@ +# [Fixer](https://fixer.io/documentation) + +## __Description__ +Exchange rates and currency conversion + +## __Example Request__ +* Curl +``` +curl "https://data.fixer.io/api/symbols?access_key={{token}}" +``` + +* Raw +``` +GET /api/latest?access_key={{token}} HTTP/1.1 +Host: data.fixer.io +... +``` + +## __Response__ +* Success +``` +{ + "success": true, + "symbols": { + "AED": "United Arab Emirates Dirham", + "AFN": "Afghan Afghani", + "ALL": "Albanian Lek", + "AMD": "Armenian Dram", + [...] + } +} +``` +* Error +``` +{ + "success": false, + "error": { + "code": 101, + "type": "invalid_access_key", + "info": "You have not supplied a valid API Access Key. [Technical Support: support@apilayer.com]" + } +} +``` +## __Regex__ +``` +[a-z0-9]{32} +``` + +## __Example API key__ +``` +tue3sv9hzsey1me4l7fwq3t46u5k8wag +``` diff --git a/iqair/README.md b/iqair/README.md new file mode 100644 index 0000000..f9ef0fc --- /dev/null +++ b/iqair/README.md @@ -0,0 +1,50 @@ +# [IQAir](https://www.iqair.com/air-pollution-data-api) + +## __Description__ +Air quality and weather data + +## __Example Request__ +* Curl +``` +curl "http://api.airvisual.com/v2/countries?key={{token}}" +``` + +* Raw +``` +GET /v2/countries?key={{token}} HTTP/1.1 +Host: api.airvisual.com +``` + +## __Response__ +* Success +``` +{ + "status":"success", + "data":[ + {"country":"Afghanistan"}, + {"country":"Albania"}, + {"country":"Algeria"}, + {"country":"Andorra"}, + {"country":"Angola"} + ... + ] +} +``` +* Error +``` +{ + "status":"fail", + "data":{ + "message":"Forbidden" + } +} +``` +## __Regex__ +``` +[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12} +``` + +## __Example API key__ +``` +abcd1234-abcd-1234-abcd-abcd1234abcd +``` \ No newline at end of file diff --git a/marketstack/README.md b/marketstack/README.md new file mode 100644 index 0000000..7264a51 --- /dev/null +++ b/marketstack/README.md @@ -0,0 +1,68 @@ +# [Marketstack](https://marketstack.com/documentation) + +## __Description__ +Real-Time, Intraday & Historical Market Data API + +## __Example Request__ +* Curl +``` +curl "https://api.marketstack.com/v1/eod?access_key={{token}}&symbols=AAPL" +``` + +* Raw +``` +GET /v1/eod?access_key={{token}}&symbols=AAPL HTTP/1.1 +Host: api.marketstack.com +... +``` + +## __Response__ +* Success +``` +{ + "pagination": { + "limit": 100, + "offset": 0, + "count": 100, + "total": 9944 + }, + "data": [ + { + "open": 129.8, + "high": 133.04, + "low": 129.47, + "close": 132.995, + "volume": 106686703.0, + "adj_high": 133.04, + "adj_low": 129.47, + "adj_close": 132.995, + "adj_open": 129.8, + "adj_volume": 106686703.0, + "split_factor": 1.0, + "dividend": 0.0, + "symbol": "AAPL", + "exchange": "XNAS", + "date": "2021-04-09T00:00:00+0000" + }, + [...] + ] +} +``` +* Error +``` +{ + "error": { + "code": "invalid_access_key", + "message": "You have not supplied a valid API Access Key." + } +} +``` +## __Regex__ +``` +[a-z0-9]{32} +``` + +## __Example API key__ +``` +tue3sv9hzsey1me4l7fwq3t46u5k8wag +``` diff --git a/scrapingant/README.md b/scrapingant/README.md index 14248ad..e9de2d3 100644 --- a/scrapingant/README.md +++ b/scrapingant/README.md @@ -1,7 +1,7 @@ # [ScrapingAnt](https://docs.scrapingant.com/) ## __Description__ -Headless Chrome scraping with a simple API +Headless Chrome scraping with a simple API ## __Example Request__ * Curl diff --git a/seatgeek/README.md b/seatgeek/README.md new file mode 100644 index 0000000..c826652 --- /dev/null +++ b/seatgeek/README.md @@ -0,0 +1,64 @@ +# [SeatGeek](https://platform.seatgeek.com/) + +## __Description__ +Search events, venues and performers + +## __Example Request__ +* Curl +``` +curl "https://api.seatgeek.com/2/events?client_id={{token}}" +``` + +* Raw +``` +GET /2/events?client_id={{token}} HTTP/1.1 +Host: api.seatgeek.com +``` + +## __Response__ +* Success +``` +{ + "events":[ + { + "type":"minor_league_baseball", + "id":5576169, + "datetime_utc":"2022-08-17T08:30:00", + "venue":{ + "state":"KY", + "name_v2":"Bowling Green Ballpark", + "postal_code":"42101", + "name":"Bowling Green Ballpark", + "links":[], + "timezone":"America\/Chicago", + ... + } + } + ] +} +``` +* Error +``` +{ + "status":403, + "message":"Invalid client credentials", + "errors":[ + { + "message":"Invalid client credentials", + "code":40302 + } + ], + "meta":{ + "status":403 + } +} +``` +## __Regex__ +``` +MjM[a-zA-Z0-9]{33} +``` + +## __Example API key__ +``` +MjM4MDc2NjV8MTU3MDQ4otQ1MC45MQfk12MK +``` \ No newline at end of file diff --git a/ticketmaster/README.md b/ticketmaster/README.md new file mode 100644 index 0000000..e7f8d5a --- /dev/null +++ b/ticketmaster/README.md @@ -0,0 +1,61 @@ +# [Ticketmaster](http://developer.ticketmaster.com/products-and-docs/apis/getting-started/) + +## __Description__ +Search events, attractions, or venues + +## __Example Request__ +* Curl +``` +curl "https://app.ticketmaster.com/discovery/v2/events.json?apikey={{token}}" +``` + +* Raw +``` +GET /discovery/v2/events.json?apikey={{token}} HTTP/1.1 +Host: app.ticketmaster.com +``` + +## __Response__ +* Success +``` +{ + "_embedded":{ + "events":[ + { + "name":"Imagine Dragons: Mercury World Tour", + "type":"event", + "id":"Z7r9jZ1Ad8S4v", + "test":false, + "url":"https://www.ticketmaster.com/event/abcd1234avcd", + "locale":"en-us", + "images":[ + { + "ratio":"16_9", + ... + } + ] + } + ] + } +} +``` +* Error +``` +{ + "fault": { + "faultstring": "Invalid ApiKey", + "detail": { + "errorcode": "oauth.v2.InvalidApiKey" + } + } +} +``` +## __Regex__ +``` +[a-zA-Z0-9]{32} +``` + +## __Example API key__ +``` +QSzFlcDwaXtfevSu4Oo98AsJb4fKMGio +``` \ No newline at end of file