data attributes for api.js