BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Accessing Wolfram|Alpha’s Knowledge Through Webservice API

Accessing Wolfram|Alpha’s Knowledge Through Webservice API

Leia em Português

This item in japanese

Bookmarks

Wolfram|Alpha  now has a Webservice API which can be used by web applications, desktop or mobile, to query the Wolfram|Alpha engine.

The responses are computed by Wolfram|Alpha in real-time using a supercomputer-class cloud infrastructure. The cloud needs fast processors and relatively little storage contrary to search engines which need lots of storage but slower processors. Search engines look through existing web pages or documents while Wolfram|Alpha computes query results based on raw data.

The queries sent to the API need to have the following REST-style format:

http://api.wolframalpha.com/v1/query?input=pi&appid=XXXX 

The application sending this request must provide an APPID obtained from Wolfram Research upon registration. Each application must have its own APIID. The response returned by the Wolfram|Alpha engine is wrapped in XML or it can be returned as HTML/JavaScript. The contract does not allow caching because many of the responses depend on the location of the user making the request considering parameters like geographical position, currency, units, linguistic, and Wolfram|Alpha is in a continuous process of updating the raw data. The requests can specify geo-location information like latitude, longitude, geoIP.

The API is accompanied by several language bindings helping developers to start integrating such API calls in their programs. The languages covered are: .NET (VB), Perl, PHP, Python, Ruby, and soon to come C++, Java and Mathematica.

The API Reference document offers detailed information on how to make API requests and how to interpret the response. A pricing plan applies based on the number of requests sent per month. Grants are offered to selected start-ups and developers writing innovative applications using the API.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • It's not free

    by Michael Stillwell,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I guess the most noteworthy aspect of the pricing plan is that there's no free plan: even non-commercial, personal use is $60 for 1000 requests.

  • Re: It's not free

    by Michael Hodgins,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Why does everything have to be free?

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT