API:Backlinks/zh

Get request to list pages which link to a certain page.

Sample code
get_backlinks.py

Redirects
In the example above, only direct links to the philosophy page are returned. When  is set, the response will include any pages which backlink to redirects for the value in.

These redirected backlinks are treated as separate groups within the response hierarchy, one level down from the redirect itself.

The limit set in  applies separately to each level of the response, so   would return up to 25 direct backlinks, and up to 25 backlinks within each individual redirect.

In addition, using  when a redirect was in the response will return more second-level backlinks, before finally moving on to more direct backlinks, once all the backlinks for a redirect have been returned in full.