add api contents in chart