Typed, tested, documented.
REST or GraphQL APIs with auth, rate limiting, OpenAPI docs, and a test suite.