0

I need a Quote API with the following requirements:

  • Needs to come out in xml format
  • It needs to be free

Any help would be appreciated. Thank you.

1 Answer 1

1

Sure! Here's a random quote API:

API Endpoint: https://quotes.rest/qod.xml?category=inspire

The free plan that allows you to make a limited number of requests per day. To retrieve a random quote, you can use the provided endpoint with the "category" parameter set to "inspire."

Example Request:

GET https://quotes.rest/qod.xml?category=inspire

Example Response (XML):

<quote>
  <quote>"The only way to do great work is to love what you do."</quote>
  <author>Steve Jobs</author>
</quote>
2
  • It says not authenticated - and seems to need an API Key... are you sure this worked and you tested it out? "Sure! Here's a random quote API" also seems a very unusual way to word an answer Jun 25, 2023 at 13:26
  • 1
    @JourneymanGeek test ChatGPT generated code?! It's the utter truth. Jun 25, 2023 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.