Searches content using the specified search criteria. Optionally, returns content item pricing information.
https://api.ap.org/[{version}]/content/search?api_key={api_key}[{optional_parameters}]
Important: The request URI must be URL-encoded.
Note: An implied AND operator is used between the parameters.
q: The query expression used to search for content. For more information, see Supported Query Syntax.
include: A comma-separated list of fields to include in the response.
exclude: A comma-separated list of fields to exclude from the response.
pricing. By default, pricing information is not returned in the response. When pricing=true is specified in the request, the response includes pricing for each content item.
all_filings. When all_filings=true is specified in the request, the response includes all filings of ANPA and/or IPTC-formatted stories. If this parameter is not used, only the latest filing of a story is returned.
page: The requested page number within the set of search results. The default is 1.
page_size: The maximum number of results to return per page. The default is 25 results with a maximum of 100 per page.
sort: The sort order of the returned results.
parametrics: By default, query facets that allow you to refine the original search are returned for each content item at the entry level only. When parametrics=true is specified in the request, the response also includes query facets for the entire result set in the “queries” array at the top of the JSON response.
Accept: The MIME type of the returned data format (currently, only JSON is supported). The default is application/json. The format parameter value takes precedence over the Accept header value when both are specified.
Accept-Encoding: Compresses the response to the gzip format. The valid value is gzip.
Returns a feed of content matching the specified criteria. Optionally, returns content item pricing information.
https://api.ap.org/[{version}]/content/feed?api_key={api_key}[{optional_parameters}]
Important: The request URI must be URL-encoded.
Note: An implied AND operator is used between the parameters.
q: The query expression used to filter content. For more information, see Supported Query Syntax.
include: A comma-separated list of fields to include in the response.
exclude: A comma-separated list of fields to exclude from the response.
pricing. By default, pricing information is not returned in the response. When pricing=true is specified in the request, the response includes pricing for each content item.
all_filings. When all_filings=true is specified in the request, the response includes all filings of ANPA and/or IPTC-formatted stories. If this parameter is not used, only the latest filing of a story is returned.
page: The requested page number within the set of search results. The default is 1.
page_size: The maximum number of results to return per page. The default is 25 results with a maximum of 100 per page.
Accept: The MIME type of the returned data format (currently, only JSON is supported). The default is application/json. The format parameter value takes precedence over the Accept header value when both are specified.
Accept-Encoding: Compresses the response to the gzip format. The valid value is gzip.