Updated Jul 15, 2026

Discovery

Mine API paths from a list of JS URLs

LinkFinder over a file of JavaScript URLs, with -r filter and -c cookies.

commit 095bb62 on Trickest · Python · MIT license

Free plan: 1 user, 3 execution slots, no card.

overview

What mass-linkfinder does

mass-linkfinder takes a urls-file of JavaScript URLs and runs LinkFinder on each one. Output is a FILE and FOLDER of endpoints and parameters. Optional -r keeps only matching paths; -c attaches cookies when scripts need a session.

Reach for it after a JS collector such as getjs has already listed the bundles. SPA and bundled apps hide API routes in script bodies that HTML crawlers never see.

Trickest runs it as a managed Discovery node. Prefer plain linkfinder for a single file. Prefer golinkfinder when you want a Go reimplementation on one target at a time.

source github.com/GerbenJavado/LinkFinder · commit 095bb62 on Trickest

image quay.io/trickest/mass-linkfinder:095bb62

use cases

mass-linkfinder use cases

Mine endpoints from a target's JavaScript

Collect every JS URL a site loads, then run mass-linkfinder over the whole list to recover API routes and paths defined in bundled script that a static crawler never reaches.

Surface parameters worth fuzzing

LinkFinder reports both endpoints and the parameters they take, so the output seeds parameter-fuzzing and content-discovery stages with real names instead of guesses.

Read authenticated scripts

Pass session cookies so the wrapper fetches JS bundles served only to logged-in users, exposing routes that anonymous crawling leaves invisible.

Keep the output focused with a regex

Filter matches against a pattern like ^/api/ so the result holds only the endpoint class you want, ready to hand to a prober or scanner without manual cleanup.

reference

mass-linkfinder inputs and flags

3 inputs
NameTypeFlagDescription
urls-fileFILE·List of JS URLs to analyze, one per line.
filter-regexSTRING-rRegEx for filtering found endpoints, e.g. ^/api/ to keep only API paths.
cookiesSTRING-cCookies to add to each request, for fetching authenticated JavaScript.

Showing key inputs. mass-linkfinder exposes 3 inputs in total.

example

mass-linkfinder command examples

mass-linkfinder · command
# extract endpoints from every JS URL in the list, keep only API paths
mass-linkfinder -c "session=6f1a2b; csrf=9b2c4d" -r '^/api/' js-urls.txt
Illustrative
/api/v1/users
/api/v1/login
/api/v2/orders?id=
/api/v2/accounts/{account_id}
/internal/health
/admin/config.json
/graphql
/static/js/settings.chunk.js

guidance

mass-linkfinder vs alternatives

Use mass-linkfinder when you already have a list of JavaScript URLs and want endpoints and parameters from all of them in one pass. It does not collect URLs. Run getjs first. For one file, use linkfinder.

ToolPick it when
linkfinderSingle-file LinkFinder. Use when you have one script, not a list.
golinkfinderGo reimplementation of the same idea on one target at a time.
getjsCollects JS URLs. Run it before mass-linkfinder, not instead of it.

faq

mass-linkfinder FAQ

It hands each JS URL in your urls-file to LinkFinder, which beautifies the script and runs a path-oriented regex. API routes, relative links, and parameters surface even when they never appear in HTML.

linkfinder analyzes one JavaScript source per run. mass-linkfinder loops the same extraction over every URL in a list and combines the result.

Yes. Pass session cookies with -c and the wrapper attaches them to every request, so it fetches JavaScript served only to authenticated users.

Set -r to a regex such as ^/api/ so only matching endpoints reach the output before you hand it to a prober or fuzzer.

No. It reports endpoints and parameters, not credentials. Run a secrets extractor on the same JS URL list if you need keys and tokens.

Run mass-linkfinder yourself

A target's JS URLs feed getjs, which collects the script links and passes them to mass-linkfinder, which extracts every endpoint and writes them as a queryable output.

Facts on this page come from the live Trickest tool library.