Allows access to modified FPDS data on Federal contracts.
Currently there are only two error codes associated with the faads method, although an expanded list is planned for future versions. In case of an error no results will be displayed and the error message will be displayed inside the <error> XML element.
| Error message | Description: |
| No records found for the search criteria | no records were found for the search criteria specified |
| No more search results | no records were found from the specified records_from start position |
| datype (required) | must be set to X. If not, output will be HTML instead of XML. | ||||||||||||||
| detail | Controls which type of output -- which "level of detail" -- you get. Choices are:
|
||||||||||||||
| sortby | Determines how records are sorted. Valid values are:
r = by contractor or recipient name |
||||||||||||||
| max_records | Allows you to set the maximum number of records retrieved to fewer than 1000 | ||||||||||||||
| records_from | Allows you to set the starting position of the records to be retrieved | ||||||||||||||
| NOTE: At least one argument of the below search criteria is required in order to produce results | |||||||||||||||
| fiscal_year | Specifies a single year; defaults to all years. | ||||||||||||||
| first_year_range | Specifies the first year in a range of years; if used, must be used with last_year_range and without fiscal_year | ||||||||||||||
| last_year_range | Specifies the last year in a range of years; if used, must be used with first_year_range and without fiscal_year | ||||||||||||||
| company_name | The name of a a contractor or contractor parent company | ||||||||||||||
| city | The city within a contractor's address | ||||||||||||||
| state | The state abbreviation within a contractor's address. | ||||||||||||||
| ZIPCode | The ZIP code within a contractor's address. | ||||||||||||||
| vendorCountryCode | The two-letter country code for the country in a contractor's address. See here for list. | ||||||||||||||
| vendor_cd | The 4-character Congressional District within which a contractor is located. See here for list. | ||||||||||||||
| pop_cd | The Congressional District of the place of performance. See here for list. | ||||||||||||||
| stateCode | The state abbreviation of the state of the place of performance | ||||||||||||||
| placeOfPerformanceZIPCode | The ZIP code of the place of performance. | ||||||||||||||
| placeOfPerformanceCountryCode | The two-letter country code for the place of performance country. See here for list. | ||||||||||||||
| mod_agency | The 4-digit code for a specific governmental agency issuing contracts. See here for list. | ||||||||||||||
| maj_agency_cat | The 2-character code for a major governmental agency issuing contracts. See here for list. | ||||||||||||||
| psc_cat | The 2-character code for a major product or service category. See here for list. | ||||||||||||||
| psc_sub | The 4-character code for a product or service. See here for list. | ||||||||||||||
| descriptionOfContractRequirement | Free text search within the text that describes what the contract is for. | ||||||||||||||
| PIID | A Federal ID number for the contract. | ||||||||||||||
| compete_cat | The competition status of a contract. Values are:
c = Available for everyone for competition |
||||||||||||||
| duns_number | The contractor duns number. | ||||||||||||||
| program_source_agency_code | The program source agency code. | ||||||||||||||
| program_source_account_code | The program source account code. | ||||||||||||||
| program_source_desc | Full text search of program source description. | ||||||||||||||
| busn_indctr | Determines the Business Fund Indicator:
r = funds provided by Recovery Act |
||||||||||||||
Note that besides the actual data, the XML contains the search criteria submitted to the method.
<USAspendingSearchResults xml_format_version="0.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="fpds_summary.xsd"> <search_criteria> <search_criterion field="Contractor State" value="Alabama"/> <search_criterion field="Sort By" value="No sort (summary only)"/> <search_criterion field="Level of Detail" value="Summary"/> <search_criterion field="Output" value="XML"/> </search_criteria> <data compiled_from_government_data_last_released_on="2006-10-10" database="FPDS"
description="U.S. Federal contracts" max_records="1000"> <record detail="summary" description="summary record for search" database="FPDS"> <totals> <total_ObligatedAmount>31533355314.79</total_ObligatedAmount> <rank_among_states>20</rank_among_states> <number_of_contractors>4731</number_of_contractors> <number_of_transactions>147101</number_of_transactions> </totals> <extent_of_competition description="total obligated amount dollars by extent of competition in contracts"> <full_and_open_competition>15335240279.53</full_and_open_competition> <full_and_open_competition_but_only_one_bid>3116092659.03</full_and_open_competition_but_only_one_bid> <competition_after_exclusion_of_sources>6052315503.32</competition_after_exclusion_of_sources> <follow_on_contract>213508017.24</follow_on_contract> <not_available_for_competition>2187289457.30</not_available_for_competition> <not_competed>3908817553.50</not_competed> <unknown>720091844.87</unknown> </extent_of_competition> <top_known_congressional_districts description="Top congressional districts where work is performed"
ranked_by="total obligated amount in dollars" maximum_shown="5"> <congressional_district rank="1" total_obligatedAmount="13839820351.79">
Alabama 5 (Robert E. (Bud) Cramer Jr.)</congressional_district> ... </top_known_congressional_districts> <top_products_or_services_sold ranked_by="total obligated amount in dollars" maximum_shown="5"> <product_or_service_category rank="1" total_obligatedAmount="3014132809.00">
Other Defense -- Advanced Development (R&D)</product_or_service_category> ... </top_products_or_services_sold> <top_contracting_agencies ranked_by="total obligated amount in dollars" maximum_shown="5"> <agency rank="1" total_obligatedAmount="16469203977.27">
ARMY, Department of the (except Corps of Engineers Civil Program Financing)</agency> ... </top_contracting_agencies> <top_contractor_parent_companies ranked_by="total obligated amount in dollars" maximum_shown="10"> <contractor_parent_company rank="1" total_obligatedAmount="3231332670.00">
BOEING CO.</contractor_parent_company> ... </top_contractor_parent_companies> <fiscal_years description="total obligated amount in dollars by year"> <fiscal_year year="2000">3095382695.72</fiscal_year> ... </fiscal_years> </record> </data> </USAspendingSearchResults>