A Free Pascal job talks to Trends API with one POST to https://api.trendsapi.ai/api, a Bearer key, and a JSON body that names a mode. There is no official Free Pascal library. TFPHttpClient owns the HTTP client. fpjson parses JSON. The first decode reads the envelope, then a second decode reads the body string. Pulled on 2026-11-13, Google Search for pascal programming scored 26.0 for the week of 2026-11-07, versus 31.0, down 16.13%. pascal language scored 23.0 versus 24.0. Bare pascal scored 26.0, up 4.0% from 25.0, the opposite 7D sign from the programming phrase, with estimated volume 308,000. free pascal scored 16.0 versus 16.0. delphi programming scored 21.0 versus 3.0, up 600.0%. lazarus ide scored 35.0 versus 40.0, 9 points above the programming phrase. YouTube for pascal programming scored 38.0 versus 13.0, the opposite 7D sign from Search. Do not copy lazarus ide Search 35.0 onto a Pascal adoption alert that only watches the phrase token at 26.0. The same helper that stores those rows also pulls a live Google Trends board. A rank-20 name whose weekly Search printed a new high at 12.0 while daily Search printed 100 is documented in Annie Andrews live rank versus weekly Search.
How does a Free Pascal client call Trends API?
POST https://api.trendsapi.ai/api
Authorization: Bearer <api_key>
Content-Type: application/json
{"mode":"get_growth","source":"google search","keyword":"pascal programming","percent_growth":["7D","30D","3M","12M"]}
program TrendsGrowth;
{$mode objfpc}{$H+}
uses
SysUtils, Classes, fphttpclient, fpjson, jsonparser, opensslsockets;
function TrendsGrowth: TJSONData;
var
Client: TFPHTTPClient;
Payload, EnvelopeRaw, BodyStr: string;
Envelope: TJSONData;
begin
Payload := '{"mode":"get_growth","source":"google search","keyword":"pascal programming","percent_growth":["7D","30D","3M","12M"]}';
Client := TFPHTTPClient.Create(nil);
try
Client.AddHeader('Authorization', 'Bearer ' + GetEnvironmentVariable('TRENDSAPI_API_KEY'));
Client.AddHeader('Content-Type', 'application/json');
Client.RequestBody := TStringStream.Create(Payload);
EnvelopeRaw := Client.Post('https://api.trendsapi.ai/api');
Envelope := GetJSON(EnvelopeRaw);
BodyStr := Envelope.FindPath('body').AsString;
Result := GetJSON(BodyStr);
finally
Client.RequestBody.Free;
Client.Free;
end;
end;
begin
end.
TFPHTTPClient owns the HTTP client. The first GetJSON reads statusCode and body. FindPath('body') prints the inner string. A second GetJSON on that string is required before reading recent_value. GetEnvironmentVariable reads the Bearer key. opensslsockets enables HTTPS. The units ship outside this API:
https://wiki.freepascal.org/fphttpclient
https://wiki.freepascal.org/JSON
https://www.freepascal.org
https://wiki.lazarus.freepascal.org/fpjson
TFPHttpClient and fpjson are client libraries. They are not Trends API sources. There is no fppkg download-count source on this API. A Delphi job can send the same POST with System.Net.HttpClient and parse with System.JSON. That runtime is not a Trends source either.
The response envelope is {"statusCode": int, "body": string}. body is a JSON string and must be parsed a second time before reading recent_value. An Ada client that does the same double parse with AWS.Client is on Ada Trends API. A Fortran client that does the same double parse with curl and json-fortran is on Fortran Trends API.
What did get_growth return for Pascal language tokens?
get_growth for pascal programming on google search tips on 2026-11-07. Store the exact strings. pascal language is a different series. lazarus ide closed 9 points above programming. Bare pascal printed the opposite 7D sign at the same 26.0 close.
| Keyword | Period | Recent date | Recent | Baseline date | Baseline | Growth |
|---|---|---|---|---|---|---|
| pascal programming | 7D | 2026-11-07 | 26.0 | 2026-10-31 | 31.0 | -16.13% |
| pascal programming | 14D | 2026-11-07 | 26.0 | 2026-10-24 | 41.0 | -36.59% |
| pascal programming | 30D | 2026-11-07 | 26.0 | 2026-10-10 | 31.0 | -16.13% |
| pascal programming | 3M | 2026-11-07 | 26.0 | 2026-08-08 | 47.0 | -44.68% |
| pascal programming | 12M | 2026-11-07 | 26.0 | 2025-11-08 | 66.0 | -60.61% |
| pascal programming | YTD | 2026-11-07 | 26.0 | 2026-01-03 | 39.0 | -33.33% |
| pascal language | 7D | 2026-11-07 | 23.0 | 2026-10-31 | 24.0 | -4.17% |
| pascal language | 14D | 2026-11-07 | 23.0 | 2026-10-24 | 27.0 | -14.81% |
| pascal language | 30D | 2026-11-07 | 23.0 | 2026-10-10 | 29.0 | -20.69% |
| pascal language | 3M | 2026-11-07 | 23.0 | 2026-08-08 | 53.0 | -56.6% |
| pascal language | 12M | 2026-11-07 | 23.0 | 2025-11-08 | 47.0 | -51.06% |
| pascal | 7D | 2026-11-07 | 26.0 | 2026-10-31 | 25.0 | +4.0% |
| pascal | 12M | 2026-11-07 | 26.0 | 2025-11-08 | 31.0 | -16.13% |
| free pascal | 7D | 2026-11-07 | 16.0 | 2026-10-31 | 16.0 | 0.0% |
| free pascal | 12M | 2026-11-07 | 16.0 | 2025-11-08 | 42.0 | -61.9% |
| delphi programming | 7D | 2026-11-07 | 21.0 | 2026-10-31 | 3.0 | +600.0% |
| delphi programming | 14D | 2026-11-07 | 21.0 | 2026-10-24 | 28.0 | -25.0% |
| delphi programming | 12M | 2026-11-07 | 21.0 | 2025-11-08 | 40.0 | -47.5% |
| lazarus ide | 7D | 2026-11-07 | 35.0 | 2026-10-31 | 40.0 | -12.5% |
| lazarus ide | 12M | 2026-11-07 | 35.0 | 2025-11-08 | 54.0 | -35.19% |
| object pascal | 7D | 2026-11-07 | 14.0 | 2026-10-31 | 3.0 | +366.67% |
| object pascal | 12M | 2026-11-07 | 14.0 | 2025-11-08 | 24.0 | -41.67% |
| fpc compiler | 7D | 2026-11-07 | 0.0 | 2026-10-31 | 0.0 | 0.0% |
| fpc | 7D | 2026-11-07 | 77.0 | 2026-10-31 | 77.0 | 0.0% |
get_time_series for pascal programming on Google Search closed at 26.0 on 2026-11-07, matching get_growth 26.0. Adjacent weeks: 31.0 on 2026-10-31, 41.0 on 2026-10-24, 40.0 on 2026-10-17, 31.0 on 2026-10-10. Peak in this pull is 100.0 on 2022-02-26. Next highest points are 96.0 on 2022-03-12, then 91.0 on 2026-05-09, 2026-05-30, and 2026-06-06. Tip 26.0 is not that February 2022 high. 12M printed 26.0 versus 66.0 (-60.61%). Same Saturday tip, opposite story depending on the window: 7D is -16.13% while 12M is -60.61%.
pascal language closed at 23.0 versus 24.0, down 4.17%. Same 7D sign as programming, same 3M sign: language printed 23.0 versus 53.0 (-56.6%) while programming printed 26.0 versus 47.0 (-44.68%). Adjacent weeks: 24.0 on 2026-10-31, 27.0 on 2026-10-24, 35.0 on 2026-10-17, 29.0 on 2026-10-10. Peak in the language series is 100.0 on 2026-02-28 and 2026-05-23, then 99.0 on 2026-05-30, then 98.0 on 2026-06-06. Programming peaked in 2022. Language peaked in 2026. Matching Saturday tips are not matching series. Do not copy programming 26.0 onto language 23.0.
Bare pascal closed at 26.0, up 4.0% from 25.0, with estimated volume 308,000 versus 296,000. 12M printed 26.0 versus 31.0 (-16.13%) with volume 308,000 versus 367,000. Matching 26.0 closes on programming and the bare token sit next to opposite 7D signs. The four-character string mixes the language, the SI unit, and the given name. Do not treat Search 26.0 volume 308,000 as language adoption.
free pascal closed at 16.0 versus 16.0 on 7D. Adjacent weeks from growth: 16.0 on 2026-10-31, 22.0 on 2026-10-24, 25.0 on 2026-10-10. 12M printed 16.0 versus 42.0 (-61.9%). 3M printed 16.0 versus 44.0 (-63.64%). The compiler phrase sat 10 points below pascal programming 26.0. Do not copy programming 26.0 onto free pascal 16.0.
delphi programming closed at 21.0 versus 3.0, up 600.0%. Opposite 7D sign from programming. 14D printed 21.0 versus 28.0 (-25.0%). Adjacent weeks: 3.0 on 2026-10-31, 28.0 on 2026-10-24, 30.0 on 2026-10-17, 28.0 on 2026-10-10. Peak in this pull is 100.0 on 2026-05-09, then 99.0 on 2026-05-02, then 95.0 on 2026-06-06. The 2026-08-22 week printed 0.0, then 50.0 the next week. 12M printed 21.0 versus 40.0 (-47.5%). A helper that only stores 7D then reports a 600.0% climb off a 3.0 floor while 14D is already -25.0%. Do not copy delphi programming 21.0 onto pascal programming 26.0.
lazarus ide closed at 35.0 versus 40.0, down 12.5%. Adjacent weeks: 40.0 on 2026-10-31, 35.0 on 2026-10-24, 0.0 on 2026-10-17, 0.0 on 2026-10-10. 30D printed versus 0.0 (growth 999999). Report 35.0 versus 0.0. Peak in this pull is 100.0 on 2026-07-25, then 89.0 on 2026-05-30, then 86.0 on 2026-06-06. The IDE phrase sat 9 points above pascal programming 26.0. Bare lazarus scored 29.0 versus 30.0, with 12M 29.0 versus 81.0. That is the given name and the biblical reading, not the IDE neighbor. Do not copy lazarus 29.0 onto lazarus ide 35.0.
object pascal closed at 14.0 versus 3.0, up 366.67%. Opposite 7D sign from programming. 14D printed versus 0.0. Report 14.0 versus 0.0. 3M printed 14.0 versus 50.0 (-72.0%). 12M printed 14.0 versus 24.0 (-41.67%). Same Saturday tip, opposite story depending on the window.
fpc compiler printed 0.0 versus 0.0 on every window. The payload marked data_quality low. Store the zeros. Bare fpc scored 77.0 versus 77.0 with estimated volume 211,000. That three-letter string is not the compiler series. Do not copy fpc 77.0 onto fpc compiler 0.0.
Neighbor tools on the same pull, same source, same 7D window, same 2026-11-07 tip:
| Keyword | 7D recent | 7D baseline | 7D growth | 12M recent | 12M baseline | 12M growth |
|---|---|---|---|---|---|---|
| pascal programming | 26.0 | 31.0 | -16.13% | 26.0 | 66.0 | -60.61% |
| fortran programming | 28.0 | 31.0 | -9.68% | 28.0 | 54.0 | -48.15% |
| lazarus ide | 35.0 | 40.0 | -12.5% | 35.0 | 54.0 | -35.19% |
| delphi programming | 21.0 | 3.0 | +600.0% | 21.0 | 40.0 | -47.5% |
| cobol programming | 19.0 | 24.0 | -20.83% | 19.0 | 27.0 | -29.63% |
| free pascal | 16.0 | 16.0 | 0.0% | 16.0 | 42.0 | -61.9% |
| object pascal | 14.0 | 3.0 | +366.67% | 14.0 | 24.0 | -41.67% |
| ada programming | 12.0 | 12.0 | 0.0% | 12.0 | 32.0 | -62.5% |
fortran programming 28.0 sat 2 points above pascal programming 26.0. lazarus ide 35.0 sat 9 points above programming. ada programming 12.0 sat 14 points below. delphi programming printed +600.0% on 7D while pascal programming printed -16.13%. Do not copy fortran programming 28.0 onto pascal programming 26.0. High-volume php in this session tipped on 2026-11-07 at 25.0 versus 38.0 with estimated volume 556,000. That is the same Saturday tip as the Pascal keywords, not the older 2026-10-31 tip that still held people-keywords. Store the session pull and the exact recent_date per keyword. An Ada Trends API helper stores a language neighbor on the same 7D window. A Common Lisp Trends API helper stores another dialect token.
What did YouTube, News, and Wikipedia return?
YouTube for pascal programming printed the opposite 7D sign from Search. Keyword Google News for the programming phrase printed zeros on 7D. Wikipedia titles resolve on their own. Compare Wikipedia on volume.
YouTube for pascal programming tipped 38.0 on 2026-11-07 versus 13.0, up 192.31%, matching get_time_series 38.0, while Search sat at 26.0 down 16.13%. Opposite 7D signs. Store both. Adjacent weeks: 13.0 on 2026-10-31, 64.0 on 2026-10-24, 0.0 on 2026-10-17, 0.0 on 2026-10-10. 14D printed 38.0 versus 64.0 (-40.62%). 30D, 3M, 12M, and YTD printed versus 0.0 (growth 999999). Report 38.0 versus 0.0. Peak in the YouTube series is 100.0 on 2023-05-27, then 98.0 on 2023-06-03, then 88.0 on 2022-11-12, then 86.0 on 2026-07-18. On 2022-02-26 Search printed 100.0 while YouTube printed 43.0. On 2023-05-27 Search printed 58.0 while YouTube printed 100.0. Those are opposite weeks. Do not treat YouTube 38.0 as language adoption while Search sits at 26.0 after a 100.0 close in February 2022.
YouTube for pascal language closed at 21.0 versus 6.0 on 7D (+250.0%). 12M printed versus 0.0. Report 21.0 versus 0.0. Language YouTube 21.0 is not programming YouTube 38.0.
YouTube for delphi programming closed at 25.0 versus 7.0 on 7D (+257.14%). 12M was 25.0 versus 51.0 (-50.98%). delphi programming YouTube 25.0 is not programming YouTube 38.0. Do not copy delphi programming YouTube 25.0 onto pascal programming Search 26.0.
YouTube for free pascal closed at 10.0 versus 14.0 on 7D (-28.57%), the opposite 7D sign from programming YouTube. 12M was 10.0 versus 13.0 (-23.08%). free pascal YouTube 10.0 is not free pascal Search 16.0.
YouTube for object pascal closed at 6.0 versus 0.0 on 7D. The payload marked data_quality low. Report 6.0 versus 0.0.
Keyword Google News for pascal programming printed 0.0 versus 0.0 on every window, with data_quality low. Store the zeros. Do not fill News from Search 26.0. Keyword News and the Google News Top News board are different feeds. Mode docs sit at https://trendsapi.ai/docs.
Wikipedia for title Pascal (programming language) resolved. October 2026 scored 5.6 with 12,644 pageviews versus September 2.4 with 11,791 (volume +7.23%). 7D and 14D collapsed (collapsed_range: recent and baseline resolved to the same monthly point). 3M was 5.6 / 12,644 versus July 0.4 / 11,235 (volume +12.54%). 12M was 5.6 / 12,644 versus October 2025 15.1 / 15,161 (volume -16.6%). YTD was 5.6 / 12,644 versus December 2025 10.5 / 13,947 (volume -9.34%). Peak in this pull is 100.0 / 37,816 in January 2024, then 50.3 / 24,569 in March 2023, then 50.2 / 24,538 in November 2022. June 2026 scored 0.0 with 11,138 views. Score 0.0 with 11,138 views is the finding. Compare on volume. Title Free Pascal resolved. October scored 22.2 with 1,856 pageviews versus September 21.1 with 1,833 (volume +1.25%). 12M was 22.2 / 1,856 versus October 2025 54.8 / 2,506 (volume -25.94%). The language page is about 6.8 times the Free Pascal volume. Title Delphi (software) resolved. October scored 3.9 with 7,304 pageviews versus September 3.7 with 7,281. Score 3.9 with 7,304 views is the finding. Delphi software volume is about 3.9 times Free Pascal and about 0.58 times the language title. Title Lazarus (software) resolved. October scored 22.5 with 1,415 pageviews versus September 27.0 with 1,481 (volume -4.46%). Short title Pascal resolved to a fifth page. October scored 6.6 with 1,314 pageviews versus September 6.0 with 1,297. The language title is about 9.6 times short-title volume. Do not join 12,644 language views onto Search 26.0. Do not treat short-title Pascal at 1,314 views as the language page. The language title is the page to store. Wikipedia source docs sit at https://trendsapi.ai/trends/wikipedia-trends.
There is no fppkg source on this API. npm covers npmjs. python covers PyPI. A Pascal watchlist that wants package downloads has no third source to join onto Search 26.0.
How does a watchlist store live boards next to weekly scores?
get_top_trends has no keyword. Pair the live Google Trends board with get_growth on the exact board string. Live rank, 1-day rank_change, and 7-day rank_change are three feeds. The rank snapshot can stamp at the same second as the mover snapshot, or days earlier than Wikipedia Trending.
POST https://api.trendsapi.ai/api
Authorization: Bearer <api_key>
Content-Type: application/json
{"mode":"get_top_trends","type":"Google Trends","limit":25}
On 2026-11-04T07:01:36Z the live Google Trends board ranked annie andrews at 20, with no row on the 1-day mover list. Wikipedia Trending, YouTube Trending, and Google News Top News stamped 2026-11-13T09:01:38Z, nine days later. Weekly Search for annie andrews scored 12.0 versus 6.0 on the 2026-10-31 tip, a new high. Daily Search printed 100 on 2026-11-04, then 2 on 2026-11-12. YouTube scored 100.0 versus 12.0 on the 2026-11-07 tip. Wikipedia Trending omitted the title on the current stamp. The helper that stores those rows is the blog in this batch: Annie Andrews live rank versus weekly Search. Do not copy that daily 100 onto pascal programming 26.0. Board-shape notes for Google Trends live feeds sit at https://trendsapi.ai/trends/google-trends.
Free tier is 100 successful 200s per month. Only 200 responses count against quota. Five language tokens plus one live board is 6 calls. A Monday run that also pulls YouTube and Wikipedia for the programming phrase is 8 calls. Four weeks is 32 calls and still fits the free cap. Starter is 5,000, Pro 25,000, Business 100,000.
Envelope checklist
POSThttps://api.trendsapi.ai/apiwithAuthorization: Bearer <api_key>.- Parse the transport JSON, then parse the
bodystring a second time. - Store
pascal,pascal programming,pascal language,free pascal,delphi,delphi programming,object pascal,lazarus ide, andfpcas separate series. - Compare Wikipedia
Pascal (programming language)on volume at 12,644 October views, notDelphi (software)at 7,304, notFree Pascalat 1,856, and not short-titlePascalat 1,314. - Pair
get_top_trendsrank with bothrank_changewindows andget_growthon the exact board string. Store each keyword'srecent_date.