BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Accessing Wolfram|Alpha’s Knowledge Through Webservice API

| by Abel Avram Follow 4 Followers on Oct 16, 2009. Estimated reading time: 1 minute |

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 Stage
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.

Tell us what you think

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

Email me replies to any of my messages in this thread

It's not free by Michael Stillwell

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

Why does everything have to be free?

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT