Skip to main content
POST
/
markets
/
{marketId}
/
news
News
curl --request POST \
  --url https://api.forestreet.com/markets/{marketId}/news \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 123,
  "itemsPerPage": 123,
  "companies": [
    {}
  ]
}
'
import requests

url = "https://api.forestreet.com/markets/{marketId}/news"

payload = {
"page": 123,
"itemsPerPage": 123,
"companies": [{}]
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({page: 123, itemsPerPage: 123, companies: [{}]})
};

fetch('https://api.forestreet.com/markets/{marketId}/news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.forestreet.com/markets/{marketId}/news",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'page' => 123,
'itemsPerPage' => 123,
'companies' => [
[

]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.forestreet.com/markets/{marketId}/news"

payload := strings.NewReader("{\n \"page\": 123,\n \"itemsPerPage\": 123,\n \"companies\": [\n {}\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.forestreet.com/markets/{marketId}/news")
.header("Content-Type", "application/json")
.body("{\n \"page\": 123,\n \"itemsPerPage\": 123,\n \"companies\": [\n {}\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.forestreet.com/markets/{marketId}/news")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"page\": 123,\n \"itemsPerPage\": 123,\n \"companies\": [\n {}\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "meta": {
      "totalItems": 6,
      "currentPage": 1,
      "totalPages": 1,
      "itemsPerPage": 10
  },
  "data": [
      {
          "domain": "scribie.com",
          "URL": "https://www.marktechpost.com/2023/07/23/top-speech-to-text-ai-tools-2023/",
          "title": "Top Speech to Text AI Tools (2023)",
          "snippet": "Scribie.com. Finally, scribie rounds up our list of top artificial  intelligence transcribing software and services with its four-step...",
          "datePublished": "2023-07-25T23:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:06:59.000Z",
          "source": "MarkTechPost"
      },
      {
          "domain": "otter.ai",
          "URL": "https://appadvice.com/app/otter-transcribe-voice-notes/1276437113",
          "title": "Otter: Transcribe Voice Notes",
          "snippet": "Otter: Transcribe Voice Notes. by Otter.ai, Inc. Otter: Transcribe Voice  Notes. Siri commands. iPhone iPad Siri. FREE in the App Store...",
          "datePublished": "2023-02-20T23:21:11.000Z",
          "dateRetrieved": "2023-03-20T23:21:11.000Z",
          "source": "AppAdvice"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.forbes.com/sites/tjmccue/2023/01/29/otterai-is-a-gem-for-transcribing-your-recorded-thoughts-into-writing/",
          "title": "Otter.ai Is A Gem For Transcribing Your Recorded Thoughts Into Writing",
          "snippet": "Otter.ai is a voice to text conversion tool that can help you avoid making  notes into digital documents and be more productive.",
          "datePublished": "2023-01-29T00:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Forbes"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.moneylife.in/article/otterai-audio-to-text/69517.html",
          "title": "Otter.ai: Audio to Text",
          "snippet": "If you attend a lot of meetings, physical or online and you hate to take  notes, Otter.ai is a must for you. Try it out today!",
          "datePublished": "2023-01-14T00:00:00.000Z",
          "dateRetrieved": "2023-05-18T08:43:43.000Z",
          "source": "Moneylife"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.computerworld.com/article/3658853/otterai-argues-remote-meetings-can-be-more-productive-than-in-person.html",
          "title": "Otter.ai argues remote meetings can be more productive than in-person",
          "snippet": "Otter.ai has been updated for iOS, introducing new tools that help it  become a collaboration productivity hub. I talked to company CEO Sam  Liang...",
          "datePublished": "2022-04-28T23:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Computerworld"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.forbes.com/sites/stevenaquino/2021/12/16/how-transcription-app-otterai-has-proven-indispensable-to-one-deaf-woman-in-this-mask-dominant-era/",
          "title": "How Transcription App Otter.ai Has Proven Indispensable To ...",
          "snippet": "How Transcription App Otter.ai Has Proven Indispensable To One Deaf Woman  In This Mask-Dominant Era. Steven Aquino. Contributor...",
          "datePublished": "2021-12-16T00:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Forbes"
      }
  ]
}

Path

marketId
string
The ID of the market whose companies you want to retrieve. This can be retrieved by searching for markets.

Body Request Object Example

{
    "page": 1,
    "itemsPerPage": 10,
    "filters": {
        "companies": ["otter.ai", "scribie.com"],
        "search": "ai",
        "source": ["businesswire.com", "prnewswire.com"]
    }
}

Body

page
number
default:""
The page to return from the paginated results
itemsPerPage
number
default:""
The number of markets to return per page
companies
array
default:""
The name of the company you’d like to return

Response

{
  "meta": {
      "totalItems": 6,
      "currentPage": 1,
      "totalPages": 1,
      "itemsPerPage": 10
  },
  "data": [
      {
          "domain": "scribie.com",
          "URL": "https://www.marktechpost.com/2023/07/23/top-speech-to-text-ai-tools-2023/",
          "title": "Top Speech to Text AI Tools (2023)",
          "snippet": "Scribie.com. Finally, scribie rounds up our list of top artificial  intelligence transcribing software and services with its four-step...",
          "datePublished": "2023-07-25T23:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:06:59.000Z",
          "source": "MarkTechPost"
      },
      {
          "domain": "otter.ai",
          "URL": "https://appadvice.com/app/otter-transcribe-voice-notes/1276437113",
          "title": "Otter: Transcribe Voice Notes",
          "snippet": "Otter: Transcribe Voice Notes. by Otter.ai, Inc. Otter: Transcribe Voice  Notes. Siri commands. iPhone iPad Siri. FREE in the App Store...",
          "datePublished": "2023-02-20T23:21:11.000Z",
          "dateRetrieved": "2023-03-20T23:21:11.000Z",
          "source": "AppAdvice"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.forbes.com/sites/tjmccue/2023/01/29/otterai-is-a-gem-for-transcribing-your-recorded-thoughts-into-writing/",
          "title": "Otter.ai Is A Gem For Transcribing Your Recorded Thoughts Into Writing",
          "snippet": "Otter.ai is a voice to text conversion tool that can help you avoid making  notes into digital documents and be more productive.",
          "datePublished": "2023-01-29T00:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Forbes"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.moneylife.in/article/otterai-audio-to-text/69517.html",
          "title": "Otter.ai: Audio to Text",
          "snippet": "If you attend a lot of meetings, physical or online and you hate to take  notes, Otter.ai is a must for you. Try it out today!",
          "datePublished": "2023-01-14T00:00:00.000Z",
          "dateRetrieved": "2023-05-18T08:43:43.000Z",
          "source": "Moneylife"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.computerworld.com/article/3658853/otterai-argues-remote-meetings-can-be-more-productive-than-in-person.html",
          "title": "Otter.ai argues remote meetings can be more productive than in-person",
          "snippet": "Otter.ai has been updated for iOS, introducing new tools that help it  become a collaboration productivity hub. I talked to company CEO Sam  Liang...",
          "datePublished": "2022-04-28T23:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Computerworld"
      },
      {
          "domain": "otter.ai",
          "URL": "https://www.forbes.com/sites/stevenaquino/2021/12/16/how-transcription-app-otterai-has-proven-indispensable-to-one-deaf-woman-in-this-mask-dominant-era/",
          "title": "How Transcription App Otter.ai Has Proven Indispensable To ...",
          "snippet": "How Transcription App Otter.ai Has Proven Indispensable To One Deaf Woman  In This Mask-Dominant Era. Steven Aquino. Contributor...",
          "datePublished": "2021-12-16T00:00:00.000Z",
          "dateRetrieved": "2023-08-02T13:05:58.000Z",
          "source": "Forbes"
      }
  ]
}