Wikipedia Content Finder API

The Wikipedia Content Finder API allows users to fetch content from Wikipedia based on the provided topic.

Base URL

"https://openapi-idk8.onrender.com"

Endpoints

  • GET /wikipedia/find: Retrieve content from Wikipedia based on the provided topic.

GET /wikipedia/find

Retrieves content from Wikipedia based on the provided topic.

Query Parameters

  • topic (string): The topic to search for in Wikipedia. This parameter is required.

Sample Request

GET "https://openapi-idk8.onrender.com/wikipedia/find?topic=Physics"

Sample Response

{
  "topic": "Physics",
  "content": "Physics is the natural science of matter, involving the study of matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. Physics is one of the most fundamental scientific disciplines, with its main goal being to understand how the universe behaves. A scientist who specializes in the field of physics is called a physicist...."
  }

Error Handling

If there is an error or the topic parameter is missing, the API responds with an appropriate error message and status code.

Additional Information

The API fetches content from Wikipedia using the MediaWiki API. Ensure the topic is correctly spelled to get accurate results.