Extract All Links From a Web Page: Internal and External
List every link on two web pages, marked as internal or external, with anchor text and mailto or tel links. This example reads python.org and an IANA page. Replace the links with your own pages.
Input
Output fields
Sign up on Apify or log in
The Link Extractor: Extract All Links, Internal & External, Bulk Actor is ready to run with the inputs already set for "Extract All Links From a Web Page: Internal and External". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract All Links From a Web Page: Internal and External" task
The Link Extractor: Extract All Links, Internal & External, Bulk Actor will start running based on the input automatically. You can also change all the input fields, like page urls, include #anchor links, and more, to match your specific use case.
Receive the "Extract All Links From a Web Page: Internal and External" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source page, link, text, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract All Links From a Web Page: Internal and External" task via API.

Integrate "Extract All Links From a Web Page: Internal and External" into your workflow
Connect "Extract All Links From a Web Page: Internal and External" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay