That depends on the web page.
What is the site you're trying to get?
For instance, I use an endpoint for Major League Baseball for an application I've built:
https://statsapi.mlb.com/api/v1/schedule?sportId=1&date=2022-08-09But, the front 'public' side of their site isn't a simple API:
https://www.mlb.com/schedule/2022-08-09This public-facing website will load the graphics, then use this API to have the client (your browser) fill in the data.
A lot (most) sites work like this - however, the API is often locked
There are ways to 'scrape' a website and create your own endpoint, but issues will arise if the website you're scraping is updated or changed.
There are also some APIs that allow you to specify the format as well.
Use the "HTTPToVariable" command to get you started.