USDA FDC Ingredient / Label Attribute Index
Pricing
from $13.40 / 1,000 food attribute records
USDA FDC Ingredient / Label Attribute Index
One food_attribute_record per row of USDA FoodData Central's food_attribute table β the heterogeneous per-food attribute values USDA records (an attribute name, its raw value, and the food_attribute_type it belongs to).
Pricing
from $13.40 / 1,000 food attribute records
Rating
0.0
(0)
Developer
NexGen Watch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 hours ago
Last modified
Categories
Share
π USDA FDC Ingredient / Label Attribute Index
One food_attribute_record per row of USDA FoodData Central's food_attribute table β the
heterogeneous per-food attribute values USDA records (an attribute name, its raw value, and the
food_attribute_type it belongs to), carried source-native and verbatim with their source field and
type IDs. The small food_attribute_type dimension is read once and cached to label each type.
Differentiation: a targeted, provenance-preserving index into FDC's flexible attribute table β not a
bulk dump and not an interpretation. You filter by food, attribute type, or attribute name; you get the
exact name / value pairs USDA published, with the type label attached, and pay per delivered row.
Output is one food_attribute_record row per result; billing is pay-per-event, the value event being one food attribute record (a $0.02 start fee per run, then $0.02 per food attribute record). Source: fdc.nal.usda.gov.
No login, no API key and no CAPTCHA solving are involved: the source is read logged-out with an identified contact User-Agent.
π Sample Output
Real rows from run X4UaKnSMIYfogGoJd on build 0.1.5 (2026-09-19), the same input as the Quick start below β every value is as the source published it (emails masked, long text shortened):
| attribute_id | fdc_id | name | value | release_date | release_checksum |
|---|---|---|---|---|---|
| 1009437 | 1105904 | Ingredients | 3 | 2026-04-30 | 6a860e3e-1cb35fb7 |
The run finished with the status message: PARTIAL: delivered 1 records (PARTIAL: cap not reached within the 40000-row scan bound of food_attribute.csv (delivered records are complete and billed))
β What you get
Each row is flat JSON with these fields (from the dataset schema and the sample run; a field the source does not publish for a given row is null):
record_type(string/null) β e.g.food_attribute_recordattribute_id(string/null) β e.g.1009437fdc_id(string/null) β e.g.1105904seq_num(string/null) β null in every sample rowfood_attribute_type_id(string/null) β null in every sample rowattribute_type_name(string/null) β null in every sample rowattribute_type_description(string/null) β null in every sample rowname(string/null) β e.g.Ingredientsvalue(string/null) β e.g.3source_url(string/null) β e.g.https://fdc.nal.usda.gov/food-details/1105904/nutrientssource(string/null) β e.g.usda-fdc-ingredient-label-attribute-indexrelease_date(string/null) β e.g.2026-04-30observed_at(string/null) β e.g.2026-09-19T00:26:27Zrelease_checksum(string/null) β e.g.6a860e3e-1cb35fb7license(string/null) β e.g.USDA FoodData Central β CC0 1.0 (public domain dedication). Cite: U.S. Departmenattribution(string/null) β e.g.USDA Agricultural Research Service β FoodData Central (https://fdc.nal.usda.gov)terminal(string/null) β null in every sample rowscope(string/null) β null in every sample rownote(string/null) β null in every sample rowvalue_numeric(number/null) β null in every sample rowreported_total(string/integer/null) β null in every sample rowraw_seen(string/integer/null) β null in every sample rowduplicates(string/integer/null) β null in every sample rowunique_found(string/integer/null) β null in every sample rowdelivered(string/integer/null) β null in every sample row
β What you get
record_type(string/null) β e.g.food_attribute_recordattribute_id(string/null) β e.g.1009437fdc_id(string/null) β e.g.1105904seq_num(string/null) β null in every sample rowfood_attribute_type_id(string/null) β null in every sample rowattribute_type_name(string/null) β null in every sample rowattribute_type_description(string/null) β null in every sample rowname(string/null) β e.g.Ingredientsvalue(string/null) β e.g.3source_url(string/null) β e.g.https://fdc.nal.usda.gov/food-details/1105904/nutrientssource(string/null) β e.g.usda-fdc-ingredient-label-attribute-indexrelease_date(string/null) β e.g.2026-04-30observed_at(string/null) β e.g.2026-09-18T23:40:01Zrelease_checksum(string/null) β e.g.6a860d85-1cb35fb7license(string/null) β e.g.USDA FoodData Central β CC0 1.0 (public domain dedication). Cite: U.S. Departmenattribution(string/null) β e.g.USDA Agricultural Research Service β FoodData Central (https://fdc.nal.usda.gov)terminal(string/null) β null in every sample rowscope(string/null) β null in every sample rownote(string/null) β null in every sample rowvalue_numeric(number/null) β null in every sample rowreported_total(string/integer/null) β null in every sample rowraw_seen(string/integer/null) β null in every sample rowduplicates(string/integer/null) β null in every sample rowunique_found(string/integer/null) β null in every sample rowdelivered(string/integer/null) β null in every sample row
βοΈ Sample inputs
1. Quick start β the Store example (this is what the sample above came from)
{"fdcIds": ["1105904"],"maxRecords": 10,"maxScanRows": 40000}
The sample run charged exactly: 1 Γ $0.02 apify-actor-start + 1 Γ $0.02 food_attribute_record = $0.04 on the Free tier β every delivered row was billed.
2. A smaller, narrowed run
{"fdcIds": ["1105904"],"maxRecords": 5,"maxScanRows": 40000}
Caps the run at 5 rows β about $0.12 on the Free tier ($0.02 start + 5 Γ $0.02).
3. A full-size run
{"fdcIds": ["1105904"],"maxRecords": 2500,"maxScanRows": 40000}
Up to 2500 rows (the schema default for maxRecords) β about $50.02 on the Free tier ($0.02 start + 2500 Γ $0.02) if the source has that many.
4. A filtered run
{"fdcIds": ["1105904"],"maxRecords": 10,"maxScanRows": 40000,"fieldMatch": {"name": "Ingredients"}}
Keeps only rows whose name contains Ingredients (a value from the sample run above), matched case-insensitively after the source is read and before the maxRecords cap, so the cap counts matches and only delivered matches are billed. searchText does the same across every column. Zero matches end the run as EMPTY_SELECTION with no row charged β if the source has moved on since that sample run, pick a value you see in your own first run. The source is still read in full β this narrows what you receive and pay for, not what the source serves.
π§Ύ JSON sample record
One real record from run X4UaKnSMIYfogGoJd, exactly as it lands in the dataset (emails masked, long text shortened):
{"record_type": "food_attribute_record","attribute_id": "1009437","fdc_id": "1105904","seq_num": null,"food_attribute_type_id": null,"attribute_type_name": null,"attribute_type_description": null,"name": "Ingredients","value": "3","source_url": "https://fdc.nal.usda.gov/food-details/1105904/nutrients","source": "usda-fdc-ingredient-label-attribute-index","release_date": "2026-04-30","observed_at": "2026-09-19T00:26:27Z","release_checksum": "6a860e3e-1cb35fb7","license": "USDA FoodData Central β CC0 1.0 (public domain dedication). Cite: U.S. Department of Agriculture, Agricultural Research Service, FoodData Central.","attribution": "USDA Agricultural Research Service β FoodData Central (https://fdc.nal.usda.gov)"}
π§ How it works
Source. The actor reads fdc.nal.usda.gov β endpoints: https://fdc.nal.usda.gov, https://fdc.nal.usda.gov/fdc-datasets/FoodData_Central_csv_. Public pages and feeds only; nothing behind a login.
Transport. Plain HTTPS from the Apify platform, no proxy. robots.txt is read first and a disallowed path is never fetched. Every request carries an identified contact User-Agent. Pacing: CRAWL_DELAY=0.0.
Terminal states. A run ends NORMAL, CAPPED (your cap was reached), PARTIAL (something was withheld and the message says what), GENUINE_EMPTY (the source was read and truly had nothing in scope) or BLOCKED (the source refused or changed shape β the run FAILS loud and bills nothing). A zero-row run is never reported as a silent success.
Charging. Each food attribute record is charged at the moment it is pushed (food_attribute_record); a row that fails to charge is not delivered, so the dataset count always equals the charged count.
π§ How it works
Source
The official USDA FoodData Central full-CSV dump only β
https://fdc.nal.usda.gov/fdc-datasets/FoodData_Central_csv_<release>.zip (newest release auto-resolved;
food_attribute.csv + food_attribute_type.csv members). robots.txt is User-agent: * / Disallow:
(nothing disallowed). The FDC API and search routes are never touched. Release date + archive checksum
(ETag) ride on every record.
Filters (at least one required) & normalization
fdcIds Β· attributeTypeIds Β· nameContains. No filter β a loud, unbilled Block. Output is capped by
maxRecords (default 2500, max 5000) and bounded by maxScanRows.
normalizeNumbers is additive only: when a raw value is a clean number it also exposes
value_numeric; the raw value is always carried verbatim.
What it does NOT do
No allergen, dietary, or health verdict of any kind. The attribute names and values are USDA's own label/source text, carried verbatim; this actor makes no determination about them.
Licence
USDA FoodData Central β CC0 1.0 (public domain dedication); the dumps add no new rights. Cite: U.S. Department of Agriculture, Agricultural Research Service, FoodData Central (https://fdc.nal.usda.gov).
Billing
Pay-per-event. food_attribute_record is charged once per delivered record ($0.02), GOLD-floored
β10 / β20 / β33% volume ladder. apify-actor-start ($0.02) is platform-reserved, never charged in code.
What is not done. No login, no cookie or CAPTCHA bypass, no private or personal-account data, no browser automation.
π° Pricing example
| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
Actor Start (apify-actor-start) | $0.02 | $0.02 | $0.02 | $0.02 |
Food Attribute Record (food_attribute_record) | $0.02 | $0.018 | $0.016 | $0.0134 |
Worked at the live Free-tier price:
- 1 food attribute records: $0.02 start + 1 Γ $0.02 = $0.04
- 25 food attribute records: $0.02 start + 25 Γ $0.02 = $0.52
- 2500 food attribute records: $0.02 start + 2500 Γ $0.02 = $50.02
A run that delivers zero rows charges the $0.02 start fee only. A BLOCKED run (source refused) fails loud and charges no value event. The start fee is charged once per GB of run memory; the default run memory is 4096 MB.
Yield on the sample run: PARTIAL: delivered 1 records (PARTIAL: cap not reached within the 40000-row scan bound of food_attribute.csv (delivered records are complete and billed)). maxRecords is a hard ceiling on what is delivered and billed, never a target.
βοΈ Legal & ToS
This actor reads public, logged-out pages and feeds published by fdc.nal.usda.gov. It collects only what the source publishes to any visitor, keeps to the source's robots rules (checked on every run), identifies itself with a contact User-Agent, and does not access accounts, private data or anything behind authentication. Use the output in line with the source's terms and your local law; the intended use is B2B research and monitoring.
β FAQ
Q: Do I need an API key or a login?
A: No. The source (fdc.nal.usda.gov) is read logged-out; the input schema has no key field and the actor carries no secrets.
Q: Why did my run return 0 rows?
A: Read the run's status message. GENUINE_EMPTY means the source was read and had nothing in scope for your input; BLOCKED means the source refused and the run failed without billing a value event β retry later or narrow the input. A zero-row run bills the start fee only.
Q: How many rows can one run return?
A: Up to maxRecords (default 2500). Raise the cap for a bigger run; you pay per delivered row.
Q: How fresh is the data?
A: Every run reads the source live at run time; nothing is cached between runs. Put it on a schedule for a continuous feed.
Q: What formats can I export?
A: The dataset downloads as JSON, CSV, Excel, XML or RSS from the run's Dataset tab or the Apify API, and any run can push to a webhook or integration.
Q: How is this different from the other NexGen Watch actors actors?
A: Same output shape and billing model; this one covers fdc.nal.usda.gov. The siblings under Related Actors cover the other sources or slices β run several on one schedule for a combined feed.
Q: Are there rate limits?
A: The actor paces itself against the source (CRAWL_DELAY=0.0) and honours its robots rules; there is no per-buyer limit beyond your Apify plan's concurrency.
π Troubleshooting
- Run FAILED with BLOCKED β the source refused the request or changed its page shape β nothing was billed beyond the start fee; retry after a while, and if it persists open an Issue with the run id.
- Status says CAPPED β your cap (
maxRecords) was reached β raise it for a bigger run. - Input validation error on start β a field is outside the schema's allowed values β start from the Quick start block and change one field at a time.
- Run TIMED-OUT β a very wide request on a slow day β raise the run timeout in Run options or narrow the input; what was delivered before the timeout is still in the dataset.
π Related Actors
- Texas Active Franchise Taxpayers β One record per active TX franchise taxpayer (identity, SOS/COA file number, organization type, charter/status dates, right-to-transact status) from tβ¦
- UK Licensed Sponsor Register (Workers) β Each record carries the organisation, town/city, county, licence type & rating, and immigration route from the newest official CSV, with the registerβ¦
- USDA Branded Food Product Master β One structured branded_food_record per branded product in USDA FoodData Central β GTIN/UPC, brand owner and name, serving size, market country, and pβ¦
- USDA FDC Nutrient Observation Matrix β One nutrient_observation per row of USDA FoodData Central's food_nutrient table β the analytical observation as USDA records it: amount, data_points,β¦
- USDA FDC Portion / Serving Weight Master β One food_portion_record per row of USDA FoodData Central's food_portion table β a food's serving/portion definition: portion ID, food FDC ID, servingβ¦
- USDA FDC Product Update Ledger β One food_update_record per entry in USDA FoodData Central's own product update log β the FDC id, the product description, and the last_updated date,β¦
- π’ About NexGenData β NexGen Watch is NexGenData's fleet of more than 300 public data actors built on official sources, pay-per-result. Browse the catalog at apify.com/nexgenwatch.
β Found this useful?
If this actor saved you a manual check, a quick review on the Apify Store helps other teams find it. Feature request or a source that changed? Open it from the Issues tab β every one is read.
