Concepts
Formatting
Explore the formats and conventions used in the ArtPort API
Overview
The ArtPort API uses a variety of formats and conventions to ensure consistency across its endpoints. This guide provides an overview of the formats you can expect to encounter when working with the API.
Timestamp Format
All timestamps returned by the ArtPort API use the given format:
For example, a timestamp representing “Monday, December 9, 2024 at 4:30pm” would be formatted as:
All timestamps use the Coordinated Universal Time (UTC) timezone.
Phone Numbers
ArtPort uses the E.164 standard for recording and displaying phone numbers. This standard requires that a number formatted like so:
Rules
- It must begin with a
+
symbol prefix. - It must include the country code.
- It must exclude any leading zeros.
- It must include the area code.
- It must include all remaining digits.
- It must not include internal routing e.g. office extensions.
- It must not include any other characters e.g. spaces or hyphens.
Examples
The following table demonstrates how a locally-formatted number in a particular country should be written to be E.164-compliant:
Country | Local | E.164 |
---|---|---|
Australia | 0491 570 159 | +61491570159 |
Canada | 206-953-6978 | +12069536978 |
Ireland | 0889 105 586 | +353889105586 |
New Zealand | 09 567 4562 | +64495674562 |
UK | 07158 656473 | +447158656473 |
USA | 206-953-6978 | +12069536978 |