STANDS4 Web Services:

Quotes API

The Quotes API from STANDS4 enables you to get famous quotations data by author or subject. Use the Quotes REST API to enrich your website or application content and features.

Request URL:

http://www.stands4.com/services/v2/quotes.php

Request parameters:

uid string Y  

Your API user id

Parameter Value Required Default Description
tokenid string Y  

Your valid developer token id

searchtype string Y RANDOM

The type of query to perform, could be one of the following:

SEARCH, AUTHOR, or RANDOM

query string    

Author name in case of AUTHOR request, or any query in case of SEARCH request

Sample request URL:

http://www.stands4.com/services/v2/quotes.php?uid=1001&tokenid=tk324324324&searchtype=AUTHOR&query=Albert+Einstein

Response elements:

Element Description
results

Contains all of the query responses

result

Contains each individual response

quote

The quote text

author

The quote author

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<results>
    <result>
        <quote>The only real valuable thing is intuition.</quote>
        <author>Albert Einstein</author>
    </result>
    <result>
        <quote>Never underestimate your own ignorance.</quote>
        <author>Albert Einstein</author>
    </result>
</results>

Want to use this service?

The Quotes API service is free to use for up to 1,000 queries per day.

For a premium commercial license, please contact us.

Apply here


The Web's Largest Resource for

Famous Quotes & Sayings


A Member Of The STANDS4 Network