Pull Live State Bid Percentiles & Line Items Directly Into Excel
Zero-Python Power Query templates for civil construction estimators, utility contractors, and commercial site-selection teams.
Option 1 — Zero-Code Excel Dialog (Data → From Web)
Pull state-specific unit-price percentiles (P25, Median, P75, P90) or contractor bid line items straight into your estimating workbook in 60 seconds without installing add-ins.
| Step | Excel Menu Action | Exact Value to Enter |
|---|---|---|
| 1 | Open Data → Get Data → From Other Sources → From Web and select Advanced | https://api.p4013.ventures/v1/benchmarks?material_family=DUCTILE_IRON_PIPE&state=IL |
| 2 | Under HTTP request header parameters, add two headers | Authorization: Bearer YOUR_P4013_API_KEYAccept: application/json |
| 3 | When Excel prompts for Access Web Content credentials, select Anonymous | Select Anonymous (your API key is already supplied in Step 2; choosing Basic or Web API overrides the header). |
| 4 | In Power Query Editor, click List next to data → To Table → expand columns → Close & Load |
Click Data → Refresh All anytime to refresh state bid medians directly inside your cost sheet. |
Option 2A — Test Excel Column Expansion Keyless (1-Row Pinned Schema Check)
In Excel or Power BI Desktop, click Data → Get Data → From Other Sources → Blank Query → Advanced Editor, paste the query below, and click Done (select Anonymous if prompted):
let
RawResponse = Web.Contents(
"https://api.p4013.ventures",
[
RelativePath = "v1/sample",
Headers = [Accept = "application/json"]
]
),
ParsedJson = Json.Document(RawResponse),
RecordsList = ParsedJson[sample_unit_prices],
AsTable = Table.FromList(RecordsList, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
FieldNames = if Table.IsEmpty(AsTable) then {} else Record.FieldNames(AsTable{0}[Column1]),
Expanded = if List.IsEmpty(FieldNames) then AsTable else Table.ExpandRecordColumn(AsTable, "Column1", FieldNames)
in
Expanded
Option 2B — Unlock State Civil Material Percentiles in Excel (P25 / Median / P75 / P90)
Replace YOUR_P4013_API_KEY with your Builder ($49/mo), Pro ($149/mo), or Corporate ($399/mo) key to unlock state-by-state unit-rate percentiles:
let
ApiKey = "YOUR_P4013_API_KEY",
RawResponse = Web.Contents(
"https://api.p4013.ventures",
[
RelativePath = "v1/benchmarks",
Query = [
material_family = "DUCTILE_IRON_PIPE",
state = "IL"
],
Headers = [Authorization = "Bearer " & ApiKey, Accept = "application/json"]
]
),
ParsedJson = Json.Document(RawResponse),
RecordsList = ParsedJson[data],
AsTable = Table.FromList(RecordsList, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
FieldNames = if Table.IsEmpty(AsTable) then {} else Record.FieldNames(AsTable{0}[Column1]),
Expanded = if List.IsEmpty(FieldNames) then AsTable else Table.ExpandRecordColumn(AsTable, "Column1", FieldNames)
in
Expanded
Option 2C — Filtered Contractor Bid Line Items in Excel (GET /v1/bids)
Pull individual penny-reconciled contractor line items, bidder names, and PDF scan links filtered by keyword q, two-letter state, unit, or bidder:
let
ApiKey = "YOUR_P4013_API_KEY",
RawResponse = Web.Contents(
"https://api.p4013.ventures",
[
RelativePath = "v1/bids",
Query = [q = "ductile iron pipe", state = "IL", limit = "10"],
Headers = [Authorization = "Bearer " & ApiKey, Accept = "application/json"]
]
),
ParsedJson = Json.Document(RawResponse),
RecordsList = ParsedJson[data],
AsTable = Table.FromList(RecordsList, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
FieldNames = if Table.IsEmpty(AsTable) then {} else Record.FieldNames(AsTable{0}[Column1]),
Expanded = if List.IsEmpty(FieldNames) then AsTable else Table.ExpandRecordColumn(AsTable, "Column1", FieldNames)
in
Expanded
Option 2D — Commercial Infrastructure & Data Center Siting Feed in Excel (GET /v1/siting)
Track pre-construction Data Center, BESS battery, substation, and industrial rezoning filings with exact parcel acreage, megawatts (MW), applicant entities, and agenda scans:
let
ApiKey = "YOUR_P4013_API_KEY",
RawResponse = Web.Contents(
"https://api.p4013.ventures",
[
RelativePath = "v1/siting",
Query = [category = "DATA_CENTER", min_mw = "25", limit = "10"],
Headers = [Authorization = "Bearer " & ApiKey, Accept = "application/json"]
]
),
ParsedJson = Json.Document(RawResponse),
RecordsList = ParsedJson[data],
AsTable = Table.FromList(RecordsList, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
FieldNames = if Table.IsEmpty(AsTable) then {} else Record.FieldNames(AsTable{0}[Column1]),
Expanded = if List.IsEmpty(FieldNames) then AsTable else Table.ExpandRecordColumn(AsTable, "Column1", FieldNames)
in
Expanded