Copyright APIs: Ensure Your Contents Legal Protection