MyMarketNews API
MyMarketNews (MMN) provides an Application Programming Interface (API). With some simple coding and a bit of programming know-how, users are able to tell their software to automatically pull raw Market News data from MMN through the API.
Glossary
Here is a list of words and terminology that are commonly used in market reporting. Click on any word below to see the definition and/or explanation.
Filtering
Filtering is how to query the data for a specific response.
Authentication
When a user creates an account and logs in to MyMarketNews, they are authenticating themselves. Authentication allows a user to pull data, save preferences and save reports in MyMarketNews. It also adds an additional layer of security.
Errors
MyMarketNews uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.), and codes in the 5xx range indicate an error with MyMarketNews servers (these are rare).
HTTP status/response code meanings
Sorting
Once a user has data from My Market News, they will need to sort it. The MyMarketNews API provides the ability to sort and/or filter data. The sort feature allows user the ability to manipulate data using conditions. By default, data is sort automatically by report date in descending order.
Default Sorting
EXAMPLE: Default Sorting
Reports
When users initially access the MyMarketNews API, a default list of available reports are provided. Calls to the MyMarketNews API are all done to specific reports. Each report is given a Slug_ID and a Slug_Name, both of which are unique identifiers for the MyMarketNews system. Users must select a report using either unique identifier.
Example to retrieve table of contents:
Help Home
This serves as your main screen, as a user. The various sections on the home screen—Available Services, What's New, About MyMarketNews, My Bookmarks, Published Reports, Weather Forecast—allows you quick access to different items and are explained below.
Available Services -- Serves as a bulletin from the creators behind MyMarketNews to you, the user.
What's New -- Features up-to-the-minute items occurring throughout MyMarketNews.
About MyMarketNews-- Provides a brief overview of MyMarketNews.
TEST Continue Reading
This page is used as a test for the 'continue reading' hyperlink.
Continue Reading >
User Information Drop Down Menu Items
The user information drop down menu allows access to the "Help" page, your profile, secondary sourced information, reports, and logging out. Expanded information on each of these items are the following:
Help -- Access the "Help" content on MyMarketNews, which is where the MyMarketNews manual and FAQs are located.
My Profile -- View our profile and make limited changes.
Secondary Sourced Info -- Navigates you to four different websites—API Admin, APHIS Data, NOAA Data, NASS Data—where MyMarketNews secondary information is sourced from.
