Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    PlaybooksMarketing

    Broken Link Prospects

    Resource pages on your topic that link to pages or sites that are gone, each with the dead link and the site's email.

    Id
    broken-link-prospects
    Version
    1.0.0
    Category
    Marketing
    Status
    Live
    Saved, it runs
    weekly, monthly
    Unit cap
    1000 by default, 10 to 5000

    Searches your topic with resource-page footprints such as "useful links", reads each page found for its links, and checks every link to another site: a page the site says is not found (404) or gone (410), or a domain that no longer exists, is a broken link. Each row is one broken link on one page, with the words it was linked from and the email address the page's site publishes, checked, so you can offer your page in its place.

    Use when someone wants dead links on resource pages about their topic, to offer their own page as the fix.

    Run it with POST /v1/formulas/broken-link-prospects/runs. How runs work is in Running a playbook; what a run costs is below.

    Parameters

    The fields of params, the Basics first. Only the required ones must be given; every other has a default. A field that is not listed is refused. The OpenAPI document has them as the type BrokenLinkProspectsParams.

    Parameters of Broken Link Prospects
    ParameterTypeRequired or defaultWhat it is
    topicBasicsstringrequiredTopic. The subject of the resource pages, as people search for it, such as genealogy or home schooling.up to 120 characters.
    footprintsBasicslist of strings["\"useful links\"","\"helpful resources\"","\"recommended resources\"","\"helpful links\"","\"resource list\"","resources"]Footprints. Words searched beside the topic to find resource pages, each its own search. Quote a phrase to find it exactly.1 or more, up to 12, each up to 120 characters.
    pages_to_readBasicsinteger10Resource pages to check. How many resource pages are read and have their links checked, one page per site, best placed first.at least 1, at most 30.
    links_per_pageBasicsinteger80Links looked at per page. The first this many links of each page are looked at, and those to other sites are checked, one unit each.at least 10, at most 100.
    search_pagesFiltersinteger1Results pages per search. How many pages of results to read for each footprint, about ten results a page.at least 1, at most 3.
    exclude_domainsFilterslist of strings["facebook.com","instagram.com","x.com","twitter.com","linkedin.com","youtube.com","tiktok.com","pinterest.com","reddit.com","quora.com","medium.com","wikipedia.org","google.com","apple.com","amazon.com","github.com","archive.org","addtoany.com","sharethis.com","whatsapp.com","t.me","wa.me"]Sites to leave out. Domains whose pages are not read and whose links are not checked, such as social networks and share buttons.up to 2000, each up to 200 characters.
    countryFiltersstring"us"Search country. The two-letter country whose search results are read, such as us, gb or de.up to 2 characters.
    languageFiltersstring"en"Search language. The language of the results, such as en or de.up to 5 characters.
    require_emailEnrichmentbooleanfalseOnly sites with an email. Keeps the pages whose site publishes an email address that passes the check.
    resurface_after_daysOutputinteger90Show a broken link again after (days). For a saved playbook, how long before a delivered broken link may come back.at least 1, at most 365.
    max_resultsOutputinteger200Most rows. The run stops at this many broken links, gone sites first.at least 1, at most 2000.

    Presets

    Ready-made answers to start from: give them as params, with any of your own beside them.

    Amateur radio links pages amateur-radio

    JSON
    {
      "topic": "amateur radio",
      "footprints": [
        "intitle:links",
        "intitle:resources",
        "inurl:links",
        "inurl:resources"
      ],
      "pages_to_read": 30,
      "search_pages": 3
    }

    Genealogy resource pages genealogy

    JSON
    {
      "topic": "genealogy"
    }

    Links pages (intitle) links-pages

    JSON
    {
      "footprints": [
        "intitle:links",
        "intitle:resources",
        "inurl:links",
        "inurl:resources"
      ]
    }

    Wider (30 pages, 3 results pages) wide

    JSON
    {
      "pages_to_read": 30,
      "search_pages": 3,
      "links_per_page": 60
    }

    Only sites with an email with-email-only

    JSON
    {
      "require_email": true
    }

    Columns

    The columns of each row’s data, in order; rows also carry a score from 0 to 100, and come best first. A value that is not known is null.

    Columns of Broken Link Prospects
    ColumnLabelTypeShown by default
    siteSitestringyes
    page_urlResource pageurlyes
    page_titlePage titlestringyes
    broken_linkBroken linkurlyes
    link_textLinked from the wordsstringyes
    why_brokenWhy it is brokenstringyes
    http_statusHTTP statusintegerno
    emailEmailemailyes
    email_statusEmail statusstringyes
    email_source_pageEmail found onurlno
    social_profilesSocial profileslistno
    footprintFound withstringno
    scoreScorenumberyes

    Example request

    # Start the run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/formulas/broken-link-prospects/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"footprints":["intitle:links","intitle:resources","inurl:links","inurl:resources"],"topic":"amateur radio","pages_to_read":30,"links_per_page":80,"search_pages":3,"exclude_domains":["facebook.com","instagram.com","x.com","twitter.com","linkedin.com","youtube.com","tiktok.com","pinterest.com","reddit.com","quora.com","medium.com","wikipedia.org","google.com","apple.com","amazon.com","github.com","archive.org","addtoany.com","sharethis.com","whatsapp.com","t.me","wa.me"],"country":"us","language":"en","require_email":false,"resurface_after_days":90,"max_results":200},"unit_cap":1000}'
    
    # Follow it until it ends, then read its rows, with the id the first call answered
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start the run, wait for it to end, and get its rows
    params = {
        "footprints": [
            "intitle:links",
            "intitle:resources",
            "inurl:links",
            "inurl:resources",
        ],
        "topic": "amateur radio",
        "pages_to_read": 30,
        "links_per_page": 80,
        "search_pages": 3,
        "exclude_domains": [
            "facebook.com",
            "instagram.com",
            "x.com",
            "twitter.com",
            "linkedin.com",
            "youtube.com",
            "tiktok.com",
            "pinterest.com",
            "reddit.com",
            "quora.com",
            "medium.com",
            "wikipedia.org",
            "google.com",
            "apple.com",
            "amazon.com",
            "github.com",
            "archive.org",
            "addtoany.com",
            "sharethis.com",
            "whatsapp.com",
            "t.me",
            "wa.me",
        ],
        "country": "us",
        "language": "en",
        "require_email": False,
        "resurface_after_days": 90,
        "max_results": 200,
    }
    result = client.run_formula("broken-link-prospects", params, unit_cap=1000)
    print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)
    
    # Read its rows, best first: pages are fetched as you go
    for row in result:
        print(row.data)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start the run, wait for it to end, and get its rows
    const params = {
      footprints: [
        "intitle:links",
        "intitle:resources",
        "inurl:links",
        "inurl:resources",
      ],
      topic: "amateur radio",
      pages_to_read: 30,
      links_per_page: 80,
      search_pages: 3,
      exclude_domains: [
        "facebook.com",
        "instagram.com",
        "x.com",
        "twitter.com",
        "linkedin.com",
        "youtube.com",
        "tiktok.com",
        "pinterest.com",
        "reddit.com",
        "quora.com",
        "medium.com",
        "wikipedia.org",
        "google.com",
        "apple.com",
        "amazon.com",
        "github.com",
        "archive.org",
        "addtoany.com",
        "sharethis.com",
        "whatsapp.com",
        "t.me",
        "wa.me",
      ],
      country: "us",
      language: "en",
      require_email: false,
      resurface_after_days: 90,
      max_results: 200,
    };
    const { run, rows } = await client.runFormula("broken-link-prospects", params, { unitCap: 1000 });
    console.log(run.id, run.status, run.rows_total, run.units_spent);
    
    // Read its rows, best first: pages are fetched as you go
    for await (const row of rows) console.log(row.data);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
    	defer cancel()
    
    	// Start the run, wait for it to end, and get its rows
    	params := map[string]any{"footprints": []any{"intitle:links", "intitle:resources", "inurl:links", "inurl:resources"}, "topic": "amateur radio", "pages_to_read": 30, "links_per_page": 80, "search_pages": 3, "exclude_domains": []any{"facebook.com", "instagram.com", "x.com", "twitter.com", "linkedin.com", "youtube.com", "tiktok.com", "pinterest.com", "reddit.com", "quora.com", "medium.com", "wikipedia.org", "google.com", "apple.com", "amazon.com", "github.com", "archive.org", "addtoany.com", "sharethis.com", "whatsapp.com", "t.me", "wa.me"}, "country": "us", "language": "en", "require_email": false, "resurface_after_days": 90, "max_results": 200}
    	run, rows, err := client.RunFormula(ctx, "broken-link-prospects", params, &enrichednow.RunFormulaParams{UnitCap: 1000})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)
    
    	// Read its rows, best first: pages are fetched as you go
    	for rows.Next() {
    		fmt.Println(string(rows.Current().Data))
    	}
    	if err := rows.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.fasterxml.jackson.databind.ObjectMapper;
    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.FormulaResult;
    import com.enrichednow.FormulaRunOptions;
    import com.enrichednow.models.FormulaRow;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) throws Exception {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start the run, wait for it to end, and get its rows
            FormulaResult result = client.runFormula("broken-link-prospects", new ObjectMapper().readValue("{\"footprints\":[\"intitle:links\",\"intitle:resources\",\"inurl:links\",\"inurl:resources\"],\"topic\":\"amateur radio\",\"pages_to_read\":30,\"links_per_page\":80,\"search_pages\":3,\"exclude_domains\":[\"facebook.com\",\"instagram.com\",\"x.com\",\"twitter.com\",\"linkedin.com\",\"youtube.com\",\"tiktok.com\",\"pinterest.com\",\"reddit.com\",\"quora.com\",\"medium.com\",\"wikipedia.org\",\"google.com\",\"apple.com\",\"amazon.com\",\"github.com\",\"archive.org\",\"addtoany.com\",\"sharethis.com\",\"whatsapp.com\",\"t.me\",\"wa.me\"],\"country\":\"us\",\"language\":\"en\",\"require_email\":false,\"resurface_after_days\":90,\"max_results\":200}", Map.class), FormulaRunOptions.builder().unitCap(1000).build());
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());
    
            // Read its rows, best first: pages are fetched as you go
            for (FormulaRow row : result.rows()) {
                System.out.println(row.data());
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow formulas run broken-link-prospects --params-json '{"footprints":["intitle:links","intitle:resources","inurl:links","inurl:resources"],"topic":"amateur radio","pages_to_read":30,"links_per_page":80,"search_pages":3,"exclude_domains":["facebook.com","instagram.com","x.com","twitter.com","linkedin.com","youtube.com","tiktok.com","pinterest.com","reddit.com","quora.com","medium.com","wikipedia.org","google.com","apple.com","amazon.com","github.com","archive.org","addtoany.com","sharethis.com","whatsapp.com","t.me","wa.me"],"country":"us","language":"en","require_email":false,"resurface_after_days":90,"max_results":200}' --unit-cap 1000

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    {
      "name": "run_formula",
      "arguments": {
        "formula_id": "broken-link-prospects",
        "params": {
          "footprints": [
            "intitle:links",
            "intitle:resources",
            "inurl:links",
            "inurl:resources"
          ],
          "topic": "amateur radio",
          "pages_to_read": 30,
          "links_per_page": 80,
          "search_pages": 3,
          "exclude_domains": [
            "facebook.com",
            "instagram.com",
            "x.com",
            "twitter.com",
            "linkedin.com",
            "youtube.com",
            "tiktok.com",
            "pinterest.com",
            "reddit.com",
            "quora.com",
            "medium.com",
            "wikipedia.org",
            "google.com",
            "apple.com",
            "amazon.com",
            "github.com",
            "archive.org",
            "addtoany.com",
            "sharethis.com",
            "whatsapp.com",
            "t.me",
            "wa.me"
          ],
          "country": "us",
          "language": "en",
          "require_email": false,
          "resurface_after_days": 90,
          "max_results": 200
        }
      }
    }

    It starts a full run with the answers the sample rows below were made with and the default unit cap, waits for it, and reads its rows a page at a time. The key is read from an environment variable. The MCP tab is the same run asked of an agent connected to the MCP server, which runs a preview first.

    Example response

    The data of the first 3 rows a real run returned with these answers on 2026-11-24: it ended ok with 12 rows, after 493 scraper calls charged 378 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.

    JSON
    [
      {
        "site": "n1fd.org",
        "page_url": "https://www.n1fd.org/forums/topic/resources-new-hams/",
        "page_title": "Resources for New Hams - Nashua Area Radio Society",
        "broken_link": "http://www.w9mar.org/repeateretiquette.php",
        "link_text": "http://www.w9mar.org/repeateretiquette.php",
        "why_broken": "The domain no longer exists",
        "http_status": null,
        "email": "membership@n1fd.org",
        "email_status": "risky",
        "email_source_page": "https://www.n1fd.org/contact-information/",
        "social_profiles": [
          "https://x.com/n1fd_narc",
          "https://x.com/n1fd_nars",
          "https://www.facebook.com/NashuaAreaRadioSociety",
          "https://www.youtube.com/channel/UCETytiCI24toqfRoMlW1XpA"
        ],
        "footprint": "inurl:resources",
        "score": 55
      },
      {
        "site": "n1fd.org",
        "page_url": "https://www.n1fd.org/forums/topic/resources-new-hams/",
        "page_title": "Resources for New Hams - Nashua Area Radio Society",
        "broken_link": "http://www.k1hil.org/",
        "link_text": "http://www.k1hil.org/",
        "why_broken": "Page not found (404)",
        "http_status": 404,
        "email": "membership@n1fd.org",
        "email_status": "risky",
        "email_source_page": "https://www.n1fd.org/contact-information/",
        "social_profiles": [
          "https://x.com/n1fd_narc",
          "https://x.com/n1fd_nars",
          "https://www.facebook.com/NashuaAreaRadioSociety",
          "https://www.youtube.com/channel/UCETytiCI24toqfRoMlW1XpA"
        ],
        "footprint": "inurl:resources",
        "score": 50
      },
      {
        "site": "n1fd.org",
        "page_url": "https://www.n1fd.org/forums/topic/resources-new-hams/",
        "page_title": "Resources for New Hams - Nashua Area Radio Society",
        "broken_link": "https://www.nesmc.org/docs/bandplans.pdf",
        "link_text": "http://www.nesmc.org/docs/bandplans.pdf",
        "why_broken": "Page not found (404)",
        "http_status": 404,
        "email": "membership@n1fd.org",
        "email_status": "risky",
        "email_source_page": "https://www.n1fd.org/contact-information/",
        "social_profiles": [
          "https://x.com/n1fd_narc",
          "https://x.com/n1fd_nars",
          "https://www.facebook.com/NashuaAreaRadioSociety",
          "https://www.youtube.com/channel/UCETytiCI24toqfRoMlW1XpA"
        ],
        "footprint": "inurl:resources",
        "score": 50
      }
    ]

    Each row also has its id, its score, when it was first seen and its evidence: where each value came from. The run and its rows are described in Running a playbook.

    Pricing

    A run costs the units of the work it does, and nothing on top: each scraper call it makes is charged at that scraper's rate, when the call ends ok or partial. It never spends past its unit cap: 1000 units unless you give another (at least 10, at most 5000).

    With the answers above, a run is estimated at about 378 units for about 12 rows, and at most 1000: 12 searches and 406 lookups across 4 sources, about 12 rows. An estimate for no history; POST /v1/formulas/broken-link-prospects/estimate gives yours, free.

    A preview, mode: preview, is the first 10 rows, charged at what they cost: about 134 units with the answers above. POST /v1/formulas/broken-link-prospects/estimate with mode: preview gives yours, free.

    How a playbook is charged has the rule for every playbook.