Home › Help & Support › API Documentation › XML Response Format
XML Response Format
Below is an explanation of the format and tags contained in our XML response.
<?xml version="1.0" encoding="utf-8" ?>
# Output is wrapped in a single response.
<response>
# Request status, OK or ERROR AND MESSAGE.
# For Example, if your daily limit is reached, ERROR: Daily Limit Reached.
<status>OK</status>
# Start of general details related to the search query.
<head>
# Full search query string.
<query><![CDATA[mojeek]]></query>
# Number of words in query which also relates to the number of word tags that follow.
<nword>1</nword>
# Start of details on each word in the query.
<word>
# Original and stemmed version of word used in the search.
<full>mojeek</full>
<stem>mojeek</stem>
# Set to 1 if word was used, 0 if minus or stop word.
<plus>1</plus>
# Exact amount of documents indexed for this word.
<hits>4840</hits>
# End of word.
</word>
# Repeated nword times.
<word>
....
</word>
....
# Time in seconds search took to complete.
<timer>0.01</timer>
# First result equals start + 1, ie. 1st result equals 0, 11th result equals 10.
<start>0</start>
# Number of results returned.
<return>10</return>
# 1 if results count is exact or 0 if about.
<exact>1</exact>
# Total result count.
<results>4840</results>
# Ranking method used.
<rankm>0</rankm>
# True if duplicate listings have been removed.
<dups>0</dups>
# The number of documents that will not be returned in the results due to
# site clustering or if doing a site search the URL of the domain searched.
<more>438</more>
# End of single head tag.
</head>
# Start of individual result.
<result>
# Documents URL.
<url><![CDATA[http://www.mojeek.com/]]></url>
# Document title.
<title><![CDATA[Mojeek]]></title>
# Document description.
<desc><![CDATA[your own topical or personal search engine. About Mojeek | Add Search To Your Site | Mojeek Copyright © 2007 Mojeek. All rights reserved.]]></desc>
# Document size.
<size>1kb</size>
# Date last crawled.
<date>Tue Jul 10 05:19:00 2007</date>
# If set to 1 more results are available from this domain but have been
# excluded due to domain clustering.
<mres>1</mres>
# End of result.
</result>
# Repeated return times.
<result>
...
</result>
...
# End response.
</response>
Further reading: HTTP Request Parameters