return parsed output with endpoint