Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIIBBA

    ibba.brokers

    Business brokers in the International Business Brokers Association's directory: firm, website, town, state, specialties, certifications and profile, by place, specialty or distance.

    Id
    ibba.brokers
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/ibba.brokers/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of ibba.brokers
    FieldTypeDescription
    statestringOnly brokers in this state or province, by its code, e.g. TX, FL, ON, NSW, or a US state's or Canadian province's name (Texas, Ontario). A code that two countries share (WA is Washington and Western Australia) matches both unless country is given.
    countrystringOnly brokers in this country: its name as the directory writes it (United States, Canada, Australia) or its two-letter code (US, CA, AU).Limit: at least 2 characters, at most 60 characters.
    citystringOnly brokers in this town or city, as the directory writes it (any case).Limit: at least 2 characters, at most 80 characters.
    specialtiesarray of "accommodations" | "agriculture" | "arts" | "auto-related-business" | "business-services" | "construction" | "ecommerce" | "education-services" | "entertainment-recreation" | "finance-insurance" | "food-beverage" | "health-care-social-assistance" | "industrial-services" | "information" | "logistics" | "manufacturing" | "print-and-media" | "public-administration" | "real-estate-rental-leasing" | "retail-trade" | "technical-services" | "transportation" | "waste-management" | "wholesale-trade"Only brokers who list one of these specialties (IBBA's industries): accommodations, agriculture, arts, auto-related-business, business-services, construction, ecommerce, education-services, entertainment-recreation, finance-insurance, food-beverage, health-care-social-assistance, industrial-services, information, logistics, manufacturing, print-and-media, public-administration, real-estate-rental-leasing, retail-trade, technical-services, transportation, waste-management, wholesale-trade.
    certification"any" | "cbi" | "mami" | "master_cbi" | "cbi_or_mami"Only brokers holding this designation: cbi (Certified Business Intermediary), mami (M&A Master Intermediary), master_cbi, cbi_or_mami; any for every member.Default: "any".
    querystringWords that must all be in the broker's or the firm's name (any case).Limit: at least 2 characters, at most 100 characters.
    near_latitudenumberWith near_longitude: only brokers within within_miles of this point, nearest first.Limit: -90 to 90.
    near_longitudenumberWith near_latitude: the point's longitude.Limit: -180 to 180.
    within_milesnumberHow far from the point, in miles, when one is given.Limit: at most 500. Default: 50.
    max_resultsintegerBrokers a run returns, at most 500.Limit: 1 to 500. Default: 100.
    offsetintegerHow many matching brokers to skip, to read the next page.Limit: 0 to 10000. Default: 0.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of ibba.brokers
    FieldTypeNotes
    positionintegerThe member's place in the run's answer, from 1 (with offset, the place in the whole match).
    member_idstringIBBA's id of the member.
    namestring or nullThe broker's name, as the profile they published gives it.
    companystring or nullThe firm the broker works for or owns, as written; null when the profile names none.
    websitestring or nullThe firm's website, as the profile gives it.
    citystring or nullThe town or city of the broker's office.
    statestring or nullThe state or province, as its code, e.g. TX, ON, QLD.
    postal_codestring or nullThe postal code; a US ZIP code is cut to its five digits.
    countrystring or nullThe country, as the directory names it, e.g. United States, Canada.
    specialtiesarray of stringThe industries the broker lists as specialties, in IBBA's words, e.g. Manufacturing, Food & Beverage.
    membershipstring or nullThe membership, as IBBA writes it, e.g. IBBA Individual Membership, TABB: IBBA Individual Membership (through a state association).
    cbibooleanTrue when the broker holds IBBA's Certified Business Intermediary designation.Default: false.
    mamibooleanTrue when the broker holds the M&A Master Intermediary designation (M&AMI).Default: false.
    master_cbibooleanTrue when the broker is a Master Certified Business Intermediary.Default: false.
    joinedstring or nullThe day the broker joined IBBA, YYYY-MM-DD.
    profile_urlstringThe broker's profile page on ibba.org.
    distance_milesnumber or nullMiles from the point the run was asked about, rounded to two places; null when it named none.
    total_resultsintegerHow many members match the run's filters in all, the same on every record.
    fetched_atstring (date-time)When IBBA answered, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/ibba.brokers/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"state":"TX"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("ibba.brokers", {"state": "TX"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    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 a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("ibba.brokers", { state: "TX" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    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(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "ibba.brokers", map[string]any{"state": "TX"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.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.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("ibba.brokers", Map.of("state", "TX"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

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

    enrichednow run ibba.brokers --input state=TX

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

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "state": "TX"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "ibba.brokers",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "state": "TX"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "position": 1,
          "member_id": "71525736",
          "name": null,
          "company": null,
          "website": null,
          "city": "Austin",
          "state": "TX",
          "postal_code": "78759",
          "country": "United States",
          "specialties": [
            "Accommodations",
            "Agriculture",
            "Arts"
          ],
          "membership": "TABB: IBBA Individual Membership",
          "cbi": false,
          "mami": false,
          "master_cbi": false,
          "joined": "2023-01-13",
          "profile_url": "https://www.ibba.org/broker-profile/texas/austin/alfredo-cedrone/",
          "distance_miles": null,
          "total_results": 40,
          "fetched_at": "2026-11-24T18:51:00.954247Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: specialties: 24 items, the first 3 shown.
    • Left out: name: it is one broker's own name: the profile is theirs to publish, and the example need not repeat it.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the IBBA scrapers are in their own section there.