STANDS4 Web Services:

Phrases API

The Phrases API from STANDS4 enables you to programmatically get explanations for common phrases, idioms and casual expressions.

Request URL:

https://www.stands4.com/services/v2/phrases.php

Request parameters:

Parameter Value Required Default Description
uid string Y  

Your API user id

tokenid string Y  

Your valid developer token id

phrase string Y  

The phrase you would like to get explanations for

format string N xml

The format in which you want the result returned (xml or json)

Sample request URL:

https://www.stands4.com/services/v2/phrases.php?uid=1001&tokenid=tk324324&phrase=buckle+up&format=xml

Response elements:

Element Description
results

Contains all of the query responses

result

Contains each individual response

term

The term this result is referring to

explanation

An explanation for the phrase

example

Usage example for the phrase

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<results>
    <result>
        <term>buckle up</term>
        <explanation>To fasten one's seat belt or safety belt.</explanation>
        <example>Buckle up every time you drive somewhere in a car, and make sure your passengers buckle up, too.</example>
    </result>
</results>
{
	"results": {
		"result": {
			"term": "buckle up",
			"explanation": "To fasten one's seat belt or safety belt.",
			"example": "Buckle up every time you drive somewhere in a car, and make sure your passengers buckle up, too."
		}
	}
}

Want to use this service?

The Phrases API service is free to use for up to 100 queries per day.

For a premium commercial license, please contact us.

Apply here

Quiz

Are you a phrases master?

»
The quick brown fox jumps over the lazy ____.
A dog
B horse
C cow
D pig