# SRECTrade API Access data from your SRECTrade account using API calls. You can generate an API key for your user on SRECTrade’s API Access page. The API key is linked to a user and an account, and has the same rights as the user on the account. When calling SRECTrade API use that API key to set the Bearer Token authentication header. Version: 1.8 ## Servers ``` https://www.srectrade.com/app/api/v1 ``` ## Security ### BearerAuth Type: http Scheme: bearer ## Download OpenAPI description [SRECTrade API](https://developer.xpansiv.com/_bundle/openapi/xpansiv-managed-solutions-v1/openapi.yaml) ## Market Operations related to market data and pricing ### Market Pricing - [GET /market_pricing](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/market/searchmarket.md): Get market pricing. The data available depends on the Insight subscription and is the same than the one available on Insight page on SRECTrade.com. ## Facilities Operations related to facilities registration. ### Facility - [GET /facilities/{facility_id}](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/getfacilitybyid.md): Retrieve detailed information about a facility by its ID, including owner, installer, and certification data. ### Facilities - [GET /facilities](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/getfacilitylistforaccount.md): Retrieve the list of facilities in your SRECTrade account with pagination. ### Facilities - [POST /facilities](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/createfacility.md): Create new facility. ### State Eligibilities - [GET /facilities/{facility_id}/state_eligibilities](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/getfacilitystateeligibilities.md): Retrieve the state eligibility information for a facility. ### State Application - [POST /facilities/{facility_id}/state_applications](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/createfacilitystateapplication.md): Apply to a new state to be certified to generate RECs. ### State Certifications - [POST /facilities/{facility_id}/state_certifications](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/addfacilitystatecertification.md): Add state certificates to a facility. This endpoint is accessible for certain user only. If you want to use it, please contact SRECTrade. ### Facilities Documents - [POST /facilities/{facility_id}/documents](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/facilities/uploadfacilitydocuments.md): Upload documents related to a facility. ## Clean Transportation Operations related to Clean Transportation. ### Create asset - [POST /ct/assets](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/clean-transportation/createasset.md): Create new Asset. ### Company Entities - [GET /ct/company_entities](https://developer.xpansiv.com/openapi/xpansiv-managed-solutions-v1/openapi/clean-transportation/getcompanyentities.md): Retrieve list of company entities.