Ferret Documentation
Ferret is a programmable data extraction runtime and query language for turning pages, documents, APIs, and browser state into structured data. These docs are organized around the path from first query to production tooling.
Explore
What Is Ferret?
Learn what Ferret is, how it works, and where it fits.
Setup
Install Ferret
Get the CLI, or add Ferret to a Go application.
Try
Run your first script
Execute a Ferret script against static or dynamic content.
Learn
Learn the language basics
Understand variables, expressions, collections, control flow, and functions.
Learn
Standard library
Functions and types available to every Ferret script.
Look up
Language reference
Find details on language features, built-in functions, modules, and runtime behavior.