Skip to content

Instantly share code, notes, and snippets.

@zeshanshani
Created February 26, 2026 11:35
Show Gist options
  • Select an option

  • Save zeshanshani/57f134384780bca0c3f9822c46f6add0 to your computer and use it in GitHub Desktop.

Select an option

Save zeshanshani/57f134384780bca0c3f9822c46f6add0 to your computer and use it in GitHub Desktop.
# 1) Health check
curl -s https://web-news-service.greenstreet.com/api/ping
# 2) Get regions (requires entitlements)
curl -s -H "Authorization: Bearer $TOKEN" \
https://web-news-service.greenstreet.com/api/regions
# 3) Get sectors (requires entitlements)
curl -s -H "Authorization: Bearer $TOKEN" \
https://web-news-service.greenstreet.com/api/sectors
# 4) Search articles (region is required)
curl -s -H "Authorization: Bearer $TOKEN" \
"https://web-news-service.greenstreet.com/api/articles?region=USA&keyword=credit&sectors=1&sectors=3&page=1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment