merge api and tublr