cURL
curl --request POST \ --url https://terrapinfinance.com/api/v1/muni_entity_search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "limit": 2, "search_query": "Chicago" } '
{ "data": [ { "counties": [ "Cook" ], "entity_id": 1234, "name": "City of Chicago", "state": "IL" }, { "counties": [ "Cook" ], "entity_id": 1235, "name": "Chicago Board of Education", "state": "IL" } ], "total": 2 }
Given a search query, returns a list of municipal bond issuers (entities) matching the query. Searches by entity name, state, and counties.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Search query string. Searches across entity name, state, and counties.
1
Maximum number of results to return.
1 <= x <= 50
List of entities matching the search query
List of response data objects, often capped to 1000.
Show child attributes
Total number of results in the database that match the query filters.