Use cocaine endpoint from context