My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 18, 2008 by daepark
FreebaseAPISearch  

Please see: http://www.freebase.com/view/freebase/metaweb_api_service for an up-to-date documentation of all Freebase API services

Namesearch
DescriptionProvides basic text search service, based on a query string and some optional constraints.
Accessible Via/api/service/search
HTTP GETTrue
HTTP PostFalse
Special HeadersNone
Login RequiredFalse
Required ArgumentsNone
Optional Argumentsprefix: a prefix to do an auto-complete on (may be incomplete) - default
query: the string to do a search for
type: type of items to match for
limit: the maximum number of results to return, default is 20
start: offset from which to start returning results, default is 0
escape: how to escape results (html or false), default is html
Extra Arguments IgnoredTrue
Response Formatapplication/json

Example result for /api/service/search?query=Casino&limit=1

{ "code": "/api/status/ok",
   "result": [
   {
     "guid": "#9202a8c04000641f80000000009c1234",
     "id" : "\/wikipedia\/en_id\/3191060",
     "alias" : [],
     "name": "Casino Royale",
     "article": { "id": "#9202a8c04000641f80000000009cddab" },
     "image": { "id": "#9202a8c04000641f80000000011939bd" },
     "type" : [
       {
         "id": "/common/topic",
         "name" : "Topic"
       },
       {
         "id": "/film/film",
         "name" : "Film"
       }, ...
     ]
   }, ...
  ]
 }

Comment by ambatisreedhar, Apr 09, 2008

Hi I am Sreedhar Ambati. I want to use Freebase for one of my search engine application. From the autosuggested contents I selected one of the content and I want to capture that fully suggested text beside the image. Using " fb-select " I am getting the id and name. But not the text of the content.

Please help me in this. This is my id: ambatisreedhar@gmail.com

Thanks Sreedhar Ambati


Sign in to add a comment
Hosted by Google Code