Trivia Questions

FREEMIUM
От chris codes | Обновлено 14日前 | Data
Популярность

6.9 / 10

Задержка

210ms

Уровень обслуживания

100%

Health Check

100%

ПРОЧТИ МЕНЯ

Random Facts API

Overview

Welcome! This API provides six endpoints to serve users with one of the three:

Select from approximately six categories:

  • Food and Drinks
  • Geography
  • Pop Culture
  • Science
  • General Questions
  • Sports

Get a random small set of questions. Each question contains a question the correct answer and three other incorrect answers to use if you want while implementing the data source.

Getting Started

To use this API, you’ll need to sign up for an API key on RapidAPI. Once you have your API key, you can start making requests to the endpoints.

Base URL

The base URL for the API is: https://trivia-questions1.p.rapidapi.com

Authentication

Include your RapidAPI key in the headers of your requests:

X-RapidAPI-Key: YOUR_RAPIDAPI_KEY

Endpoint Example

URL: /api/trivia/general`  
Method: `GET`  
Description: Gets a random selection of general trivia questions

URL: /api/trivia/geography`  
Method: `GET`  
Description: Gets a random selection of geography trivia questions

URL: /api/trivia/history`  
Method: `GET`  
Description: Gets a random selection of history trivia questions

URL: /api/trivia/pop`  
Method: `GET`  
Description: Gets a random selection of pop culture trivia questions

URL: /api/trivia/science`  
Method: `GET`  
Description: Gets a random selection of science trivia questions

URL: /api/trivia/food`  
Method: `GET`  
Description: Gets a random selection of food and drink trivia questions




Подписчики: 1
Создатель API:
Rapid account: Chris Codes
chris codes
mwcsur
Войдите, чтобы оценить API
Оценки: 5 - Голосов: 1