Trivia Questions

免费增值
通过 chris codes | 已更新 2 दिन पहले | Data
人气

7.8 / 10

延迟

201ms

服务等级

100%

Health Check

100%

README

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