STANDS4 Web Services:

Conversions API

The Convert.net Conversions API enables you to get instant and accurate answers to complex mathematical expressions and thousands of conversion related queries that can be posted in a natural language representation without any strict syntax. Please visit our conversions help page for more information.

Request URL:

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

Request parameters:

Parameter Value Required Default Description
uid string Y  

Your API user id

tokenid string Y  

Your valid developer token id

expression string Y  

The expressions you would like to evaluate

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/conv.php?uid=1001&tokenid=tk324324324&expression=Convert+5+pounds+to+kilograms&format=xml

Response elements:

Element Description
results

Contains all of the query responses

errorCode

The error code associated with this query evaluation (0 means success)

errorMessage

The error message associated with this query evaluation

result

The formatted answer to the evaluated query

category

The category that this conversion query belongs to

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<results>
    <errorCode>0</errorCode>
    <errorMessage></errorMessage>
    <result>5 Kilograms = 14.7 Pounds</result>
    <category>Weight</category>
</results>
{
	"results": {
		"errorCode": "0",
		"errorMessage": "",
		"result": "5 Kilograms = 14.7 Pounds",
		"category": "Weight"
	}
}

Example use case:

RefSeek, a web search engine for students and researchers, is using the Convert.net API to provide its users with instant answers to conversion related queries.

Want to use this service?

The Conversions 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 convert master?

»
What is the speed of sound in air in meters per second?
A 300
B 400
C 330
D 350