| Parameter | Description | Supported Methods |
|---|---|---|
| entities | Specify one or more entities, separated by semi-colons. Precede an entity with a minus (-) to indicate a NOT. Use a trailing asterisk (*) for wildcard matching of 3 or more characters. | GetDocuments, GetEntities |
| docid | Specify a valid ID for a Document object. The Document ID is returned in all GetDocuments and GetDocumentsByGeography calls, and is also found in the URL for msnbc.com stories. | GetDocuments, GetDocumentsByGeography, GetEntities |
| documentList | Specify one or more Document IDs, enclosed in curly braces {} and separated by commas. For example, documentList={123450,136798} returns Document objects for two documents. The Document ID is returned in all GetDocuments and GetDocumentsByGeography calls, and is also found in the URL for msnbc.com stories. | GetDocumentDetails |
| keyword | Specify a keyword (or part of a word or phrase) to get a list of entities that match. | GetEntities |
| startDate | Specify the first day of the date range. The default is today - 31 days. | All |
| endDate | Specify the last day of the date range. The default is today. | All |
| contentType | Specify the content type(s) of the Document, using the first two letters of the type:
|
GetDocuments, GetDocumentsByGepgraphy |
| siteId | Specify the news source, where:
|
All |
| maxResults | Specify the maximum number of types (Documents, Entities, or Topics) to return. The default is 50, and the maximum is 1000. | All |
| output | Specify the output data format. If output is not specified, JSON is returned. If output is specified and is not one of the valid types, plain old XML (POX) is returned. Valid output types for Document types are: XML, ATOM, RSS, KML, and GeoRSS. For Topics and Entities, only JSON and XML are supported. | All |
| jsonp | If output is not specified, and the jsonp parameter is, then the data is returned as jsonp (i.e., wrapped in the method name you specify). | All |
| centerPoint | Specify a latitude/longitude pair for the geographic location around which Documents occur. The format is: centerPoint={latitude:47.123;longitude:-122.012} | GetDocumentsByGeography |
| postalCode | Specify the postal code (ZIP Code) of the location for Documents. Note: the API does not just return documents that occur within the postal code you specify; like centerPoint, this parameter is used in conjunction with the radius parameter to define a circle. The center of the circle is the geographic center of the postal code polygon you specify. | GetDocumentsByGeography |
| radius | Used in conjunction with the centerPoint and postalCode parameters to define a circle. Specify the radius of the circle in miles. | GetDocumentsByGeography |
| bBox | The Bounding Box in which documents will be returned. Following the conventions set forth in the KML specifications for a Network Link, a bounding box is specified in the following format: bbox=west_longitude,south_latitude,east_longitude,north_latutude. For example, bbox=-125.5155787841414,45.56295967714189,-118.425088267849,49.20392845297751 | GetDocumentsByGeography |
| sort | Specifies the sort order. Valid sort values are any of the Document object's properties, optionally followed by a space (%20) and either "asc" or "desc" to specify the sort direction.
You can also specify sort=scatter, which returns results sorted by both date and geographic distance from the center of the "view" specified. Scatter is only used with GetDocumentsByGeography. |
GetDocuments, GetDocumentsByGeography |