In a large pot, heat the olive oil over med-high heat. Add the onion and cook until softened.
Add the garlic and cook for 1 minute. Stir in the spices and tomato paste.
Continue to cook until the tomato paste is a deep burgundy color (cook until almost to the point of burning….trust me.)
Carefully pour the tomatoes into the pot (nothing splashes like tomatoes in a hot pan.) Stir to combine and bring to a boil.
Add the sugar and vinegar. Turn the heat to low and allow to simmer for 50 minutes to an hour until thickened, stirring frequently to prevent scorching. Remove the pot from the heat and allow to cool.
Transfer the mixture to a blender and puree until smooth. Pour the mixture into an airtight container and chill for 3-4 hours. Refrigerate until ready to use.
Notes
Homemade Ketchup can be made up to 2 months in advance. Store in the refrigerator in an airtight container.