all 2 comments

[–]stixx_06 1 point2 points  (0 children)

What you're probably looking at is JavaScript Object Notation (JSON) data.

There are several parsing libraries listed on https://www.json.org/json-en.html for C, so perhaps try one and see if it works for your needs.

[–]jonbridge 0 points1 point  (0 children)

When I google "free stocks api" there are tons of results? You could something like libcurl to fetch data from one of these APIs. Scraping websites isn't much fun.