Welcome, guest Sign In

YQL Web Service URLs

The YQL Web Service has two URLs. The following URL allows access to public data, which does not require authorization:

http://query.yahooapis.com/v1/public/yql?[query_params]

The next URL requires authorization by OAuth and allows access to both public and private data:

http://query.yahooapis.com/v1/yql?[query_params]

Note

The public URL has a lower rate limit than the OAuth-protected URL. Therefore, if you plan to use YQL heavily, you should access the OAuth-protected URL.

The following table lists the query parameters for the URLs of the YQL Web Service.

Query Parameter Required? Default Description
q Yes (none) The YQL statement to execute, such as SELECT.
format No xml The format of the results of the call to the YQL Web Service. Allowed values: xml or json.
callback No (none) The name of the JavaScript callback function for JSONP format. If callback is set and if format=json, then the response format is JSON. For more information on using XML instead of JSON, see JSONP-X.
diagnostics No true Diagnostic information is returned with the response unless this parameter is set to false.
debug No (none)

Enables network-level logging of each network call within a YQL statement or API query.

For more information, see, Logging Network Calls in Open Data Tables.

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions