get
/api/v2/databases/infoPython SDK method:
client.database.get_info()Get database information
Returns purchased applications, counties, data date ranges, and subscription details for the authenticated user's database.
Altitude Help Center — getDatabaseInfoSuccess Responses
200 response: object
OK.
| Name | Type | Description |
|---|---|---|
database | string | Your database name. |
daysBeforeExpiration | integer (int64) | Number of calendar days remaining until the subscription expires. Negative when already expired. |
domains | array<string> | Email domains that are permitted to self-register for this database. |
expiresOn | string | Date on which the subscription expires. |
isExpired | boolean | When true, the subscription has passed its expiry date. |
maxAnalysesPerModule | integer (int64) | Maximum number of saved analyses allowed per Altitude module. |
maxUsers | integer (int64) | Maximum number of active users allowed for this database. |
poiNaicsAllowed | array<object> | NAICS industry codes the database is licensed to access in POI analytics. |
purchasedApplications | array<string> | Applications purchased for this database. |
purchasedCounties | array<ZoneIdentityDto> | Counties purchased for this database. |
purchasedDates | array<DateRangeDto> | Date ranges purchased for this database. |
Response Errors
| HTTP Status Code | Reason |
|---|---|
| 400 | The request body or parameters are invalid. |
| 401 | Authentication is required or the provided credentials are invalid. |
| 403 | The authenticated user lacks permission to perform this operation. |
| 404 | The requested resource does not exist. |
| 422 | The request is syntactically valid but semantically cannot be processed. |
| 429 | The request rate limit has been exceeded. |
| 500 | An unexpected server error occurred. |