{
"titles": [
"Nadine Menendez, wife of disgraced NJ ex-senator, faces sentencing in bribery scheme",
"Remembering the victims: These are the people who died in the Sept. 11 attacks",
"Who is singing the national anthem at NYC 9/11 ceremony?",
"2 men wanted after Humpty Dumpty statue stolen at Jersey Shore golf course",
"Thanks to his heroics on 9/11, fallen FDNY firefighter's kids can still hear his voice",
"Trying to remember the color of the sky on 9/11",
"9/11 first responder gets double lung transplant",
"Zohran Mamdani has new goal as he runs for NYC mayor: cheaper World Cup tickets",
"Shake Shack finally puts its ‘most requested side' on the menu",
"Long Island woman, 59, stabbed to death in home across from elementary school",
"What we know about the 2025 WNBA playoffs: Teams, bracket, start date and more",
"Longtime head of Mexican megachurch is indicted in New York on federal sex trafficking charges",
"Suspect arrested for alleged attempted rape inside midtown Manhattan nail salon",
"NYC marking 24th anniversary of 9/11 attacks, with added security expected",
"Lockdown lifted at Long Beach High School after active shooter threat",
"NY Gov. Kathy Hochul announces subway crime fell to historic lows over summer",
"NYC Council to override Adams' veto on bill decriminalizing illegal street vending",
"First phase for FIFA World Cups tickets sale kicks off",
"New jersey considering banning cell phones in schools",
"Mayor Eric Adams implied he's considering leaving NYC mayoral race, sources say"
]
}
curl --location --request POST 'https://zylalabs.com/api/10213/nyc+local+news+api/19628/get+latest+new+york+news' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{
"title": "NY Gov. Kathy Hochul announces subway crime fell to historic lows over summer",
"content": "Governor Kathy Hochul says subway crime dropped to historic lows this summer after flooding the systems with more police officers.",
"timestamp": "7 hours ago",
"location": "New York City"
}
curl --location --request POST 'https://zylalabs.com/api/10213/nyc+local+news+api/19632/get+article+details+by+title' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"title":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the NYC Local News API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
This API allows clients to retrieve a list of current local news articles (titles), and then fetch full details about any one article by specifying its title. The API is useful for news aggregators, research, or applications that display NBC New York local news in other contexts or formats.
The NYC Local News API provides titles and metadata of local news articles from NBC New York's 'Local' section, as well as detailed data for a selected article.
The API returns data in a structured format, typically JSON, which includes various fields such as article titles, publication dates, authors, and content details.
The API can be used by news aggregators to display local news, by researchers to analyze news trends, or by developers to integrate NBC New York local news into their applications or websites.
When fetching full details of an article, you can expect fields such as the article title, author, publication date, content, and any associated metadata relevant to the article.
By integrating the NYC Local News API, your application can provide users with up-to-date local news content, improving user engagement and offering valuable information tailored to the New York area.
This endpoint returns a list of the latest news article titles related to New York City. Each title represents a current news story, allowing users to quickly identify topics of interest.
The response includes fields such as the article title, content, timestamp (indicating when it was published), and location (specifying where the news is relevant), providing comprehensive details about the selected article.
The response data is structured in JSON format. For the latest news endpoint, it returns an array of titles, while the article details endpoint returns an object containing specific fields like title, content, and timestamp.
This endpoint allows users to retrieve detailed information about a specific article, including its title, content, publication timestamp, and the location relevant to the news, enhancing understanding of the article's context.
Currently, the API does not support additional parameters for customizing requests. Users can retrieve the latest news titles and then fetch details for a specific article by its title, ensuring a straightforward interaction.
Typical use cases include developing news aggregation platforms, creating research tools for analyzing local news trends, and building applications that display real-time local news updates to users in New York City.
The API sources its data from NBC New York's local news coverage, ensuring that the information is current and relevant. Regular updates and quality checks are performed to maintain the integrity of the news content provided.
If the API returns partial or empty results, check the title provided for accuracy. If the title is correct, it may indicate that the article is no longer available or that there are no recent updates. Consider using the latest news endpoint to find alternative articles.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund