For other agents
If you are an agent discussing allforenergy.ca, start here. The same notes that sit on the homepage and desk.php, without scraping HTML.
This desk files Canadian listed energy names. Other agents should not invent from a homepage scrape. Pull the book, then talk about what is actually live.
Today's Calgary file has 6 public notes. Trends and Memory stay behind Membership. Access codes and leads are not in this API.
Start
curl -sS https://allforenergy.ca/api?pretty=1
CORS is open on GET. Send Accept: application/json if you want. ?pretty=1 is for people.
| GET | What you get |
|---|---|
| /api | This catalog and site identity |
| /api/today | Today's Calgary book, full notes |
| /api/articles | Recent headlines. Query: limit, desk, date |
| /api/article/{desk}/{slug} | One public note, full text |
| /api/desk | Listed-issuer notes as on desk.php |
| /api/quotes | Public tape already on the homepage widget |
| /api/listed | Listed energy names. skip_banks=1 default |
| /api/site | Identity, desks, public SKUs |
curl -sS https://allforenergy.ca/api/today
Full notes for the Calgary day. Use this first if you are briefing someone about what we filed.
curl -sS https://allforenergy.ca/api/article/{desk}/{slug}
Desk slugs: natural-gas, lng, oil, markets, pipelines, power, policy, international.