Welcome to the PublicAPI_Hub_API! This Node.js application, built with Express, serves a curated list of public APIs available across various categories. Explore different categories and discover the APIs within them.
- Base URL: publicapi-hub-api.vercel.app/
- NodeJS
- Express
- Get All Categories
- Endpoint: /categories
- Description: Retrieve a list of all available categories.
- Example Request: GET /categories
- Example Response:
{
"entries": [
{
"name": "Animals",
"slug": "animals"
},
{
"name": "Anime",
"slug": "anime"
}
]
}
- Get APIs by Category
- Endpoint: /categories/${catatory Name}
- Description: Retrieve all APIs available in a specific category.
- Example Request: GET /categories/animals
- Example Response:
{
"entries": [
{
"API": "AdoptAPet",
"Description": "Resource to help get pets adopted",
"Auth": "apiKey",
"HTTPS": true,
"Cors": "yes",
"Link": "https://www.adoptapet.com/public/apis/pet_list.html",
"Category": "Animals"
}
]
}
- Clone the repository:
git clone https://github.com/your-username/PublicAPI_Hub_API.git
- Install dependencies:
npm install
- Start the server:
npm start
- The API will be available at [http://localhost:8080]
- Make a GET request to the desired endpoint using the provided base URL.
- Explore available categories or retrieve APIs within a specific category.
Contributions are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.
- Thanks to the creators and maintainers of the public-apis for providing the data used in this project.
- Special thanks to Vercel for providing hosting services for this project, making it accessible to users.