Explore Technorati: Technology / Business / Entertainment / Lifestyle / Politics / Sports / Boating / Motorcycles / Celebrity / IT / Film / Music / Advertising

Developer Center

BlogInfo Query

The bloginfo query provides info on what blog, if any, is associated with a given URL.

The call is made using a REST-ful interface. Send either a HTTP GET or a HTTP POST to http://api.technorati.com/bloginfo?key=[apikey]&url=[blog url] with mandatory parameters "key" and "url" and one optional parameter to request various formats.

Parameters

Mandatory

key
Your Technorati API key, which you can obtain on our API key page.
url
Set this to the target URL. Prefixes http:// and www. are optional.

Optional

format
Results are returned in XML by default. You may optionally request the results in RSS 2.0 using a parameter value of rss. We plan to add Atom and XOXO support in the near future.

Response

Success

<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Technorati API version 1.0 /bloginfo" -->
<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
<tapi version="1.0">
<document>
<result>
  <url>[URL]</url>
  <weblog>
    <name>[blog name]</name>
    <url>[blog URL]</url>
    <rssurl>[blog RSS URL]</rssurl>
    <atomurl>[blog Atom URL]</atomurl>
    <inboundblogs>[inbound blogs]</inboundblogs>
    <inboundlinks>[inbound links]</inboundlinks>
    <lastupdate>[date blog last updated]</lastupdate>
    <rank>[blog ranking]</rank>
    <lang></lang>
    <foafurl>[blog foaf URL]</foafurl>
  </weblog>
  <inboundblogs>[inbound blogs]</inboundblogs>
  <inboundlinks>[inbound links]</inboundlinks>
</result>
</document>
</tapi>

Error

Technorati's API server may return an error message for a variety of reasons outlined in our common API error page.