Wilson API
In short: ask Wilson "create an API key", send it in the x-api-key header, and call
https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1/<endpoint> with the filters as query parameters. Add format=csv for a CSV.
Each call costs 1 credit per started 50 rows returned. Without a limit a call returns 50 rows (1 credit); add limit= for more, up to 5,000 rows per call (100 credits). A limit above what your balance covers is lowered to what it covers. Errors and "which one did you mean" answers are free. At most 60 calls a minute.
Using an agent? The same key connects Claude Code, Cursor, VS Code or your own agent to the Infoplug MCP server: 200+ tools, free resolve tools, lookups from 1 credit per 4 calls.
1. Get a key
In Wilson (app or site), ask: "create an API key for Excel". Wilson shows the key once; store it like a password. Ask "list my API keys" or "revoke API key 3" to manage them. You can have up to 5 active keys.
2. Call it
curl -H "x-api-key: aciq_your_key_here" "https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1/banks?state=FL&min_cre_pct=300&sort=cre"
curl -H "x-api-key: aciq_your_key_here" "https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1/cmbs_loans?state=NY&property_type=office&status=delinquent&format=csv"
GET https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1 with your key lists every endpoint and its parameters. POST with a JSON body works too.
The JSON answer carries rows, credits_charged and data; CSV answers carry the same in the
X-Rows and X-Credits-Charged headers. limit defaults to 50 (max 5,000).
3. Excel (Power Query)
- Data › Get Data › From Other Sources › Blank Query, then Advanced Editor.
- Paste the query below, put your key in
Key, change the endpoint and filters, and click Done. - Close & Load. Refresh the table any time to pull the latest data (each refresh is a call).
let
Key = "aciq_your_key_here",
Source = Csv.Document(Web.Contents("https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1/banks",
[Query = [state = "FL", min_cre_pct = "300", format = "csv"], Headers = [#"x-api-key" = Key]]),
[Delimiter = ",", Encoding = 65001]),
Promoted = Table.PromoteHeaders(Source, [PromoteAllScalars = true])
in
Promoted
3b. Excel add-in: =WILSON.LIST()
- In Excel: Home › Add-ins › More Add-ins › My Add-ins › Upload My Add-in, and choose the manifest infoplug.ai/excel/manifest.xml (save it first). Company admins can deploy it to everyone from the Microsoft 365 admin center.
- Home › Wilson API key: paste your key once.
- In any cell:
=WILSON.LIST("banks", "state=FL&min_cre_pct=300"). The list spills into the cells below.=WILSON.ENDPOINTS()lists every endpoint.
4. Google Sheets (Apps Script)
- Extensions › Apps Script, paste the function below and save.
- Project Settings › Script properties: add
WILSON_KEYwith your key (keeps it out of the sheet). - In a cell:
=WILSON("banks", "state=FL&min_cre_pct=300").
function WILSON(endpoint, query) {
const key = PropertiesService.getScriptProperties().getProperty('WILSON_KEY');
const url = 'https://ljzdlqpoesghstpvfvmu.supabase.co/functions/v1/wilson-api/v1/' + endpoint + '?format=csv&' + (query || '');
const res = UrlFetchApp.fetch(url, { headers: { 'x-api-key': key }, muteHttpExceptions: true });
if (res.getResponseCode() !== 200) throw new Error(res.getContentText());
return Utilities.parseCsv(res.getContentText());
}
// In a cell: =WILSON("banks", "state=FL&min_cre_pct=300")
5. Endpoints
13f_flows | Institutional buying and selling per stock (13F).company, sort, min_holders, include_new_securities, limit |
adviser_brochures | Investment advisers by brochure text, fees, minimums, custodians.query, state, max_minimum, max_fee_pct, fee_type, strategy, custodian, min_aum, limit |
adviser_disclosures | Adviser representatives with disclosures (SEC IAPD), or firms ranked by share of reps with disclosures.firm, state, city, type, person, group, min_reps, new_since, limit |
adviser_growth | Investment advisers by AUM growth.state, city, min_aum, months, sort, limit |
adviser_moves | Advisers leaving wirehouses and banks, and where they went.from, since, until, state, to_firm, from_firm, new_firms_only, private_funds_only, include_bank_to_bank, group_by, limit |
area_business_mix | Census business counts by industry for a zip or county (establishments, jobs, payroll).zip, state, county, naics, limit |
audit_signals | Restatements, controls not effective, audit fees, fee changes, auditors.view, auditor, state, industry, since, limit |
auditor_changes | Audit-firm switches (PCAOB Form AP).since, until, firm, direction, state, limit, audit_type |
bank_events | Bank trigger events (CRE over 300%, enforcement, failures, 8-K changes).bank, state, since, limit |
bank_history | One bank since 2000: yearly financials, growth, acquisitions, branch history.bank, from_year |
bank_peers | Peer scorecard with FFIEC UBPR ranks and stress flags.bank |
bank_profile | One bank or credit union: financials, branches, enforcement, SBA and mortgage lending.bank, quarters |
bank_structure | Holding-company structure (FFIEC NIC).bank |
banks | Screen FDIC banks or credit unions (size, CRE concentration, capital, growth, uninsured deposits, stress flags).kind, state, min_assets, max_assets, min_cre_pct, max_leverage_pct, min_noncurrent_pct, max_roa_pct, sort, limit, min_uninsured_pct, max_deposit_growth_pct, min_deposit_growth_pct, min_loan_growth_pct, min_stress_score |
boilers | Boilers: NYC boilers with defects on the latest inspection report, boilers not inspected since a date, NYC DEP registrations by fuel or expiry, Delaware boilers and pressure vessels (view = defects, not_inspected, registrations or delaware).view, borough, zip, fuel, make, owner, since, expiring_before, status, county, limit |
branch_changes | Bank branch openings, closings, relocations and sales; bank mergers and failures since 2000.bank, state, county, city, zip, change, since, until, group, limit |
broker_dealer_reports | Broker-dealer annual audits (X-17A-5): auditor, net capital.state, auditor, material_weakness, max_excess_pct, group_by, limit |
broker_dealers | SEC-registered broker-dealers, new and dropped.state, city, name, new_since, dropped, limit |
cmbs_loans | CMBS loans and their properties, status, maturity, DSCR, tenants, owner.query, state, city, zip, parcel_ref, property_type, status, maturing_before, min_balance, max_dscr, sort, limit, max_occupancy, lease_expires_before |
cmbs_servicing | Special servicing, modifications, payoffs, lease rollover, servicer and market tables.view, state, city, property_type, since, before, limit |
cmbs_watchlist | CMBS loans on the Wilson watchlist (servicer-style triggers), with value estimates and county records.state, city, property_type, flag, min_score, min_balance, servicer, trust, query, new_since, sort, limit, in_flood_zone |
comment_letters | SEC comment letters and responses.company, query, since, limit |
company_distress | Public companies with distress flags.state, industry, min_flags, flag, hq_in_tracked_building, limit |
custodians | Custodian league table or the advisers using one.custodian, state, min_aum, limit |
deposit_concentration | County HHI and two-bank merger overlap.state, county, city, bank_a, bank_b, limit |
deposit_share | Deposit market share in a state, county, city or zip.state, county, city, zip, limit |
distress_map | CRE distress joined to banks, public tenants and advisers.view, state, limit |
dob_records | NYC Department of Buildings records by dataset (complaints, safety_violations, elevator_compliance, facades, electrical_permits, limited_alterations, after_hours_variances, stalled_sites, incidents, permits_bis, licenses, disciplinary_actions, energy_grades ...), filtered by borough, zip, status, kind, words, party and dates.dataset, borough, zip, status, kind, query, party, since, until, limit |
enforcement | OCC, Federal Reserve and SEC enforcement actions.query, regulator, since, until, action_type, state, limit |
fair_lending | Mortgage lending by census tract and lender fair-lending measures (HMDA).state, county, lender, view, year, min_originations, limit |
filing_changes | Risk-factor changes year over year.company, query, since, limit |
filing_grid | For each company and question, the best-matching filing sections with links (no answer text; Wilson writes answers in the app).companies, questions, section, since |
financials | One company's statements by year or quarter.company, period_type, periods |
flood_risk | FEMA flood zone for a property and flood insurance claims in its zip, or the zips in a state with the most claims.parcel_ref, zip, state, view, limit |
fund_provider_changes | Fund service-provider switches (N-CEN).role, provider, since, mode, limit |
hazard_risk | FEMA National Risk Index for the census tract of a property (overall, expected annual loss, top hazards), or the riskiest counties / tracts in a state.parcel_ref, state, county, min_rating, limit |
holder_changes | New 5% holders, exits, 13G-to-13D switches.company, change, since, state, limit |
holders_13f | 13F institutional holders of a company.company, limit |
insider_trades | Form 4 insider trades.company, person, state, side, min_value, since, until, group_by, officers_only, limit |
liquidity_events | Planned and executed insider sales by place.state, city, since, min_value, plan_adopted_since, kind, limit |
major_holders | 5%+ holders (13D / 13G) of a company.company, limit |
manager_holdings | What a 13F manager owns, bought and sold.manager, limit |
market_rates | Price per sq ft of recent sales by county or zip and property use, CMBS cap rates by type for the metro and state, HUD fair market rents for a zip.state, county, zip, property_use |
money_funds | Money-market fund holdings by issuer or fund.issuer, fund, limit |
mortgage_lenders | HMDA mortgage lenders ranked in a state or county.state, county, year, purpose, dwelling, loan_type, limit, sort |
places | Businesses and points of interest (Overture Maps, incl. Foursquare open places) by building, address, zip, city, category or brand.parcel_ref, address, zip, state, city, category, query, brand, include_closed, group_by, limit |
planned_insider_sales | Form 144 planned insider sales.company, since, min_value, state, limit |
public_companies | Screen public companies on financials.state, industry, exchange, min_revenue, max_revenue, min_growth_pct, max_growth_pct, profitable, min_net_margin_pct, filer_category, sort, limit |
sba_expansion | SBA lending outside each bank's branch counties.bank, state, since, limit |
sba_loans | SBA 7(a) / 504 loans or rankings by lender, industry, city, franchise.state, city, zip, lender, borrower, industry, program, since, until, min_amount, status, group_by, limit |
search_filings | Full-text search in 10-K risk factors, MD&A, controls and SEC comment letters.query, section, company, state, industry, since, limit |
sec_events | 8-K events, 13D stakes, IPO filings, late filings.kind, since, until, state, industry, company, limit |
service_providers | Auditors, custodians, administrators and their clients.provider, role, client, source, state, limit |
texas_tax | Texas Comptroller records: businesses newly opened or about to open (sales tax permits), sales tax locations by city / zip / NAICS / name, and bars, restaurants and hotels ranked by alcohol sales (view = new_outlets, outlets or beverage).view, city, zip, county_code, naics, query, since, months, limit |
value_estimate | Value ESTIMATES for a property: sales comparison (local price per sq ft x building size), cap rate, HUD rents, income estimate for apartment buildings, assessed value.parcel_ref |
6. Errors
401missing, invalid or revoked key.402not enough credits.400a bad parameter, or a name that matches nothing (free).200withcandidates: the name matched several companies or banks; pass the CIK, ticker or FDIC cert (free).
Contacts are not returned by the API. Unlock contacts in the app; Wilson downloads can include the contacts you have unlocked.